source: trunk/quest-runner/pom.xml @ 579

Last change on this file since 579 was 579, checked in by pharms, 12 years ago
  • initial support for building assemblies of quest including the plugins
  • Property svn:mime-type set to text/plain
File size: 7.3 KB
Line 
1<project
2  xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
5>
6  <modelVersion>4.0.0</modelVersion>
7  <groupId>de.ugoe.cs.quest</groupId>
8  <artifactId>quest-runner</artifactId>
9  <version>0.0.1-SNAPSHOT</version>
10  <name>quest-runner</name>
11  <scm>
12    <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-runner</url>
13  </scm>
14  <dependencies>
15    <dependency>
16      <groupId>de.ugoe.cs</groupId>
17      <artifactId>java-utils</artifactId>
18      <version>0.0.1-SNAPSHOT</version>
19    </dependency>
20    <dependency>
21      <groupId>de.ugoe.cs.quest</groupId>
22      <artifactId>quest-plugin-core</artifactId>
23      <version>0.0.1-SNAPSHOT</version>
24    </dependency>
25    <dependency>
26      <groupId>de.ugoe.cs.quest</groupId>
27      <artifactId>quest-ui-core</artifactId>
28      <version>0.0.1-SNAPSHOT</version>
29    </dependency>
30    <dependency>
31      <groupId>de.ugoe.cs.quest</groupId>
32      <artifactId>quest-ui-swt</artifactId>
33      <version>0.0.1-SNAPSHOT</version>
34    </dependency>
35    <dependency>
36      <groupId>net.sf.jopt-simple</groupId>
37      <artifactId>jopt-simple</artifactId>
38      <version>4.3</version>
39    </dependency>
40  </dependencies>
41  <build>
42    <pluginManagement>
43      <plugins>
44        <plugin>
45          <groupId>org.eclipse.m2e</groupId>
46          <artifactId>lifecycle-mapping</artifactId>
47          <version>1.0.0</version>
48          <configuration>
49            <lifecycleMappingMetadata>
50              <pluginExecutions>
51                <pluginExecution>
52                  <pluginExecutionFilter>
53                    <groupId>org.apache.maven.plugins</groupId>
54                    <artifactId>maven-dependency-plugin</artifactId>
55                    <versionRange>[1.0.0,)</versionRange>
56                    <goals>
57                      <goal>get</goal>
58                    </goals>
59                  </pluginExecutionFilter>
60                  <action>
61                    <ignore />
62                  </action>
63                </pluginExecution>
64                <pluginExecution>
65                  <pluginExecutionFilter>
66                    <groupId>org.apache.maven.plugins</groupId>
67                    <artifactId>maven-dependency-plugin</artifactId>
68                    <versionRange>[1.0.0,)</versionRange>
69                    <goals>
70                      <goal>unpack</goal>
71                    </goals>
72                  </pluginExecutionFilter>
73                  <action>
74                    <ignore />
75                  </action>
76                </pluginExecution>
77              </pluginExecutions>
78            </lifecycleMappingMetadata>
79          </configuration>
80        </plugin>
81      </plugins>
82    </pluginManagement>
83    <plugins>
84      <plugin>
85        <groupId>org.apache.maven.plugins</groupId>
86        <artifactId>maven-compiler-plugin</artifactId>
87        <version>2.5.1</version>
88        <configuration>
89          <source>1.6</source>
90          <target>1.6</target>
91          <compilerArgument>-Xlint:all</compilerArgument>
92          <showDeprecation>true</showDeprecation>
93          <showWarnings>true</showWarnings>
94        </configuration>
95      </plugin>
96      <plugin>
97        <groupId>org.apache.maven.plugins</groupId>
98        <artifactId>maven-jar-plugin</artifactId>
99        <configuration>
100          <archive>
101            <manifest>
102              <addClasspath>true</addClasspath>
103              <classpathPrefix>lib/</classpathPrefix>
104              <mainClass>de.ugoe.cs.quest.ui.Runner</mainClass>
105            </manifest>
106          </archive>
107        </configuration>
108      </plugin>
109      <plugin>
110        <groupId>org.apache.maven.plugins</groupId>
111        <artifactId>maven-dependency-plugin</artifactId>
112        <version>2.4</version>
113        <executions>
114          <execution>
115            <id>get-ui-core-config</id>
116            <phase>process-classes</phase>
117            <goals>
118              <goal>unpack</goal>
119            </goals>
120            <configuration>
121              <artifactItems>
122                <artifactItem>
123                  <groupId>de.ugoe.cs.quest</groupId>
124                  <artifactId>quest-ui-core</artifactId>
125                  <version>0.0.1-SNAPSHOT</version>
126                  <classifier>config</classifier>
127                  <type>zip</type>
128                  <outputDirectory>${project.build.directory}/data</outputDirectory>
129                </artifactItem>
130              </artifactItems>
131            </configuration>
132          </execution>
133          <execution>
134            <id>get-guitar-plugin</id>
135            <phase>process-classes</phase>
136            <goals>
137              <goal>get</goal>
138            </goals>
139            <configuration>
140              <groupId>de.ugoe.cs.quest</groupId>
141              <artifactId>quest-plugin-guitar</artifactId>
142              <version>0.0.1-SNAPSHOT</version>
143              <destination>${project.build.directory}/plugins/quest-plugin-guitar.jar</destination>
144            </configuration>
145          </execution>
146          <execution>
147            <id>get-jfc-plugin</id>
148            <phase>process-classes</phase>
149            <goals>
150              <goal>get</goal>
151            </goals>
152            <configuration>
153              <groupId>de.ugoe.cs.quest</groupId>
154              <artifactId>quest-plugin-jfc</artifactId>
155              <version>0.0.1-SNAPSHOT</version>
156              <destination>${project.build.directory}/plugins/quest-plugin-jfc.jar</destination>
157            </configuration>
158          </execution>
159          <execution>
160            <id>get-mfc-plugin</id>
161            <phase>process-classes</phase>
162            <goals>
163              <goal>get</goal>
164            </goals>
165            <configuration>
166              <groupId>de.ugoe.cs.quest</groupId>
167              <artifactId>quest-plugin-mfc</artifactId>
168              <version>0.0.1-SNAPSHOT</version>
169              <destination>${project.build.directory}/plugins/quest-plugin-mfc.jar</destination>
170            </configuration>
171          </execution>
172          <execution>
173            <id>get-php-plugin</id>
174            <phase>process-classes</phase>
175            <goals>
176              <goal>get</goal>
177            </goals>
178            <configuration>
179              <groupId>de.ugoe.cs.quest</groupId>
180              <artifactId>quest-plugin-php</artifactId>
181              <version>0.0.1-SNAPSHOT</version>
182              <destination>${project.build.directory}/plugins/quest-plugin-php.jar</destination>
183            </configuration>
184          </execution>
185        </executions>
186      </plugin>
187      <plugin>
188        <artifactId>maven-assembly-plugin</artifactId>
189        <version>2.2-beta-2</version>
190        <configuration>
191          <descriptors>
192            <descriptor>src/main/assembly/bin.xml</descriptor>
193          </descriptors>
194        </configuration>
195        <executions>
196          <execution>
197            <id>make-assembly</id>
198            <phase>package</phase>
199            <goals>
200              <goal>single</goal>
201            </goals>
202          </execution>
203        </executions>
204      </plugin>
205    </plugins>
206  </build>
207</project>
Note: See TracBrowser for help on using the repository browser.