on c9d32af help sign in
Idris-dev/java/executable_pom_template.xml
65 lines 2.1 kB history raw
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.idris-lang</groupId>
5 <artifactId>$ARTIFACT-NAME$</artifactId>
6 <packaging>jar</packaging>
7 <version>1.0</version>
8 <name>$ARTIFACT-NAME$</name>
10 <properties>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 <skipTests>true</skipTests>
13 </properties>
14 <dependencies>
15 <dependency>
16 <groupId>org.idris-lang</groupId>
17 <artifactId>idris</artifactId>
18 <version>$RTS-VERSION$</version>
19 </dependency>
20 </dependencies>
23 <build>
24 <finalName>$ARTIFACT-NAME$</finalName>
25 <plugins>
26 <plugin>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-compiler-plugin</artifactId>
29 <version>3.0</version>
30 <configuration>
31 <source>1.7</source>
32 <target>1.7</target>
33 </configuration>
34 </plugin>
35 <plugin>
36 <groupId>org.apache.maven.plugins</groupId>
37 <artifactId>maven-surefire-plugin</artifactId>
38 <version>2.14</version>
39 <configuration>
40 <skipTests>${skipTests}</skipTests>
41 </configuration>
42 </plugin>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-shade-plugin</artifactId>
46 <version>2.0</version>
47 <executions>
48 <execution>
49 <phase>package</phase>
50 <goals>
51 <goal>shade</goal>
52 </goals>
53 <configuration>
54 <transformers>
55 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
56 <mainClass>$MAIN-CLASS$</mainClass>
57 </transformer>
58 </transformers>
59 </configuration>
60 </execution>
61 </executions>
62 </plugin>
63 </plugins>
64 </build>
65</project>