forked from ndsev/zserio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
86 lines (79 loc) · 3.19 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!--
The supported build system for Zserio project is Ant.
This pom.xml file just runs corresponding Ant tasks and does not contain
any further logic. Not all ant tasks are covered by this pom.xml. Only
clean, compile and install Ant tasks are supported.
The ant task test.run is not supported from Maven due to incompatibility
between JUnit3 and JUnit4. Zserio uses JUnit4 and maven-antrun-plugin uses
JUnit3.
-->
<project>
<modelVersion>1.0.0</modelVersion>
<groupId>com.zserio</groupId>
<artifactId>zseriogen</artifactId>
<version>invalid</version>
<build>
<directory>build/maven</directory>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-antlr</artifactId>
<version>1.8.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>clean</id>
<configuration>
<target>
<ant antfile="build.xml" target="clean"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
<phase>clean</phase>
</execution>
<execution>
<id>compile</id>
<configuration>
<target>
<ant antfile="build.xml" target="compile"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
<phase>compile</phase>
</execution>
<execution>
<id>install</id>
<configuration>
<target>
<ant antfile="build.xml" target="install"/>
<!-- Delete the just created dummy jar file. -->
<delete file="${project.build.directory}/${project.artifactId}-${project.version}.jar"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
<phase>install</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>