source: trunk/autoquest-distribution/pom.xml @ 2224

Last change on this file since 2224 was 2224, checked in by pharms, 7 years ago
File size: 18.6 KB
Line 
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/xsd/maven-4.0.0.xsd">
3    <parent>
4        <groupId>de.ugoe.cs.autoquest</groupId>
5        <artifactId>autoquest</artifactId>
6        <version>0.2.4-SNAPSHOT</version>
7        <relativePath>../autoquest/pom.xml</relativePath>
8    </parent>
9    <modelVersion>4.0.0</modelVersion>
10    <artifactId>autoquest-distribution</artifactId>
11    <!-- packaging>pom</packaging -->
12    <name>autoquest-distribution</name>
13    <properties>
14        <autoquest-scm-trunk-dir>https://autoquest.informatik.uni-goettingen.de/svn/autoquest/trunk</autoquest-scm-trunk-dir>
15    </properties>
16    <scm>
17        <url>${autoquest-scm-trunk-dir}/${project.artifactId}</url>
18        <connection>scm:svn:${autoquest-scm-trunk-dir}/${project.artifactId}</connection>
19    </scm>
20
21    <dependencies>
22        <dependency>
23            <groupId>de.ugoe.cs.autoquest</groupId>
24            <artifactId>autoquest-plugin-android</artifactId>
25            <version>${project.parent.version}</version>
26        </dependency>
27        <dependency>
28            <groupId>de.ugoe.cs.autoquest</groupId>
29            <artifactId>autoquest-plugin-exports</artifactId>
30            <version>${project.parent.version}</version>
31        </dependency>
32        <dependency>
33            <groupId>de.ugoe.cs.autoquest</groupId>
34            <artifactId>autoquest-plugin-guitar</artifactId>
35            <version>${project.parent.version}</version>
36        </dependency>
37        <dependency>
38            <groupId>de.ugoe.cs.autoquest</groupId>
39            <artifactId>autoquest-plugin-html</artifactId>
40            <version>${project.parent.version}</version>
41        </dependency>
42        <dependency>
43            <groupId>de.ugoe.cs.autoquest</groupId>
44            <artifactId>autoquest-plugin-http</artifactId>
45            <version>${project.parent.version}</version>
46        </dependency>
47        <dependency>
48            <groupId>de.ugoe.cs.autoquest</groupId>
49            <artifactId>autoquest-plugin-jfc</artifactId>
50            <version>${project.parent.version}</version>
51        </dependency>
52        <dependency>
53            <groupId>de.ugoe.cs.autoquest</groupId>
54            <artifactId>autoquest-plugin-mfc</artifactId>
55            <version>${project.parent.version}</version>
56        </dependency>
57        <dependency>
58            <groupId>de.ugoe.cs.autoquest</groupId>
59            <artifactId>autoquest-plugin-php</artifactId>
60            <version>${project.parent.version}</version>
61        </dependency>
62        <dependency>
63            <groupId>de.ugoe.cs.autoquest</groupId>
64            <artifactId>autoquest-plugin-uml</artifactId>
65            <version>${project.parent.version}</version>
66        </dependency>
67        <dependency>
68            <groupId>de.ugoe.cs.autoquest</groupId>
69            <artifactId>autoquest-plugin-genericevents</artifactId>
70            <version>${project.parent.version}</version>
71        </dependency>
72
73        <!-- the following complex stuff is required, just because profile selections is
74             not propagated to transient dependencies. -->
75        <dependency>
76            <groupId>de.ugoe.cs.autoquest</groupId>
77            <artifactId>autoquest-runner</artifactId>
78            <version>${project.parent.version}</version>
79            <classifier>${envClassifier}</classifier>
80            <exclusions>
81                <exclusion>
82                    <groupId>de.ugoe.cs.autoquest</groupId>
83                    <artifactId>autoquest-ui-swt</artifactId>
84                </exclusion>
85            </exclusions>
86        </dependency>
87        <dependency>
88            <groupId>de.ugoe.cs.autoquest</groupId>
89            <artifactId>autoquest-ui-swt</artifactId>
90            <version>${project.parent.version}</version>
91            <classifier>${envClassifier}</classifier>
92            <exclusions>
93                <exclusion>
94                    <groupId>org.eclipse.swt</groupId>
95                    <artifactId>*</artifactId>
96                </exclusion>
97            </exclusions>
98        </dependency>
99        <dependency>
100            <groupId>org.eclipse.swt</groupId>
101            <artifactId>${swt.artifactId}</artifactId>
102            <version>4.3</version>
103        </dependency>
104
105    </dependencies>
106
107    <profiles>
108        <profile>
109            <id>Windows-x86</id>
110            <activation>
111                <os>
112                    <family>windows</family>
113                    <arch>x86</arch>
114                </os>
115            </activation>
116            <properties>
117                <envClassifier>Windows-x86</envClassifier>
118                <swt.artifactId>org.eclipse.swt.win32.win32.x86</swt.artifactId>
119            </properties>
120        </profile>
121        <profile>
122            <id>Windows-amd64</id>
123            <activation>
124                <os>
125                    <family>windows</family>
126                    <arch>amd64</arch>
127                </os>
128            </activation>
129            <properties>
130                <envClassifier>Windows-amd64</envClassifier>
131                <swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId>
132            </properties>
133        </profile>
134        <profile>
135            <id>Linux-x86</id>
136            <activation>
137                <os>
138                    <family>linux</family>
139                    <arch>x86</arch>
140                </os>
141            </activation>
142            <properties>
143                <envClassifier>Linux-x86</envClassifier>
144                <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
145            </properties>
146        </profile>
147        <profile>
148            <id>Linux-i386</id>
149            <activation>
150                <os>
151                    <family>linux</family>
152                    <arch>i386</arch>
153                </os>
154            </activation>
155            <properties>
156                <envClassifier>Linux-i386</envClassifier>
157                <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
158            </properties>
159        </profile>
160        <profile>
161            <id>Linux-x86_64</id>
162            <activation>
163                <os>
164                    <family>linux</family>
165                    <arch>x86_64</arch>
166                </os>
167            </activation>
168            <properties>
169                <envClassifier>Linux-x86_64</envClassifier>
170                <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
171            </properties>
172        </profile>
173        <profile>
174            <id>Linux-amd64</id>
175            <activation>
176                <os>
177                    <family>linux</family>
178                    <arch>amd64</arch>
179                </os>
180            </activation>
181            <properties>
182                <envClassifier>Linux-amd64</envClassifier>
183                <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
184            </properties>
185        </profile>
186        <profile>
187            <id>Linux-ppc64</id>
188            <activation>
189                <os>
190                    <family>linux</family>
191                    <arch>ppc64</arch>
192                </os>
193            </activation>
194            <properties>
195                <envClassifier>Linux-ppc64</envClassifier>
196                <swt.artifactId>org.eclipse.swt.gtk.linux.ppc64</swt.artifactId>
197            </properties>
198        </profile>
199    </profiles>
200
201    <build>
202        <pluginManagement>
203            <plugins>
204                <plugin>
205                    <groupId>org.eclipse.m2e</groupId>
206                    <artifactId>lifecycle-mapping</artifactId>
207                    <version>1.0.0</version>
208                    <configuration>
209                        <lifecycleMappingMetadata>
210                            <pluginExecutions>
211                                <pluginExecution>
212                                    <pluginExecutionFilter>
213                                        <groupId>org.apache.maven.plugins</groupId>
214                                        <artifactId>maven-dependency-plugin</artifactId>
215                                        <versionRange>[1.0.0,)</versionRange>
216                                        <goals>
217                                            <goal>get</goal>
218                                        </goals>
219                                    </pluginExecutionFilter>
220                                    <action>
221                                        <ignore />
222                                    </action>
223                                </pluginExecution>
224                                <pluginExecution>
225                                    <pluginExecutionFilter>
226                                        <groupId>org.apache.maven.plugins</groupId>
227                                        <artifactId>maven-dependency-plugin</artifactId>
228                                        <versionRange>[1.0.0,)</versionRange>
229                                        <goals>
230                                            <goal>unpack</goal>
231                                        </goals>
232                                    </pluginExecutionFilter>
233                                    <action>
234                                        <ignore />
235                                    </action>
236                                </pluginExecution>
237                            </pluginExecutions>
238                        </lifecycleMappingMetadata>
239                    </configuration>
240                </plugin>
241            </plugins>
242        </pluginManagement>
243        <plugins>
244            <plugin>
245                <groupId>org.apache.maven.plugins</groupId>
246                <artifactId>maven-dependency-plugin</artifactId>
247                <version>2.4</version>
248                <executions>
249                    <execution>
250                        <id>get-jfc-plugin-config</id>
251                        <phase>process-classes</phase>
252                        <goals>
253                            <goal>unpack</goal>
254                        </goals>
255                        <configuration>
256                            <artifactItems>
257                                <artifactItem>
258                                    <groupId>de.ugoe.cs.autoquest</groupId>
259                                    <artifactId>autoquest-plugin-jfc</artifactId>
260                                    <version>${project.parent.version}</version>
261                                    <classifier>config</classifier>
262                                    <type>zip</type>
263                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
264                                </artifactItem>
265                            </artifactItems>
266                        </configuration>
267                    </execution>
268                    <execution>
269                        <id>get-android-plugin-config</id>
270                        <phase>process-classes</phase>
271                        <goals>
272                            <goal>unpack</goal>
273                        </goals>
274                        <configuration>
275                            <artifactItems>
276                                <artifactItem>
277                                    <groupId>de.ugoe.cs.autoquest</groupId>
278                                    <artifactId>autoquest-plugin-android</artifactId>
279                                    <version>${project.parent.version}</version>
280                                    <classifier>config</classifier>
281                                    <type>zip</type>
282                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
283                                </artifactItem>
284                            </artifactItems>
285                        </configuration>
286                    </execution>
287                    <execution>
288                        <id>get-mfc-plugin-config</id>
289                        <phase>process-classes</phase>
290                        <goals>
291                            <goal>unpack</goal>
292                        </goals>
293                        <configuration>
294                            <artifactItems>
295                                <artifactItem>
296                                    <groupId>de.ugoe.cs.autoquest</groupId>
297                                    <artifactId>autoquest-plugin-mfc</artifactId>
298                                    <version>${project.parent.version}</version>
299                                    <classifier>config</classifier>
300                                    <type>zip</type>
301                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
302                                </artifactItem>
303                            </artifactItems>
304                        </configuration>
305                    </execution>
306                    <execution>
307                        <id>get-php-plugin-config</id>
308                        <phase>process-classes</phase>
309                        <goals>
310                            <goal>unpack</goal>
311                        </goals>
312                        <configuration>
313                            <artifactItems>
314                                <artifactItem>
315                                    <groupId>de.ugoe.cs.autoquest</groupId>
316                                    <artifactId>autoquest-plugin-php</artifactId>
317                                    <version>${project.parent.version}</version>
318                                    <classifier>config</classifier>
319                                    <type>zip</type>
320                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
321                                </artifactItem>
322                            </artifactItems>
323                        </configuration>
324                    </execution>
325                    <execution>
326                        <id>get-html-plugin-config</id>
327                        <phase>process-classes</phase>
328                        <goals>
329                            <goal>unpack</goal>
330                        </goals>
331                        <configuration>
332                            <artifactItems>
333                                <artifactItem>
334                                    <groupId>de.ugoe.cs.autoquest</groupId>
335                                    <artifactId>autoquest-plugin-html</artifactId>
336                                    <version>${project.parent.version}</version>
337                                    <classifier>config</classifier>
338                                    <type>zip</type>
339                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
340                                </artifactItem>
341                            </artifactItems>
342                        </configuration>
343                    </execution>
344                    <execution>
345                        <id>get-runner-bin-scripts</id>
346                        <phase>process-classes</phase>
347                        <goals>
348                            <goal>unpack</goal>
349                        </goals>
350                        <configuration>
351                            <artifactItems>
352                                <artifactItem>
353                                    <groupId>de.ugoe.cs.autoquest</groupId>
354                                    <artifactId>autoquest-runner</artifactId>
355                                    <version>${project.parent.version}</version>
356                                    <classifier>bin</classifier>
357                                    <type>zip</type>
358                                    <outputDirectory>${project.build.directory}/bin</outputDirectory>
359                                </artifactItem>
360                            </artifactItems>
361                        </configuration>
362                    </execution>
363                    <execution>
364                        <id>get-runner-config</id>
365                        <phase>process-classes</phase>
366                        <goals>
367                            <goal>unpack</goal>
368                        </goals>
369                        <configuration>
370                            <artifactItems>
371                                <artifactItem>
372                                    <groupId>de.ugoe.cs.autoquest</groupId>
373                                    <artifactId>autoquest-runner</artifactId>
374                                    <version>${project.parent.version}</version>
375                                    <classifier>config</classifier>
376                                    <type>zip</type>
377                                    <outputDirectory>${project.build.directory}/data</outputDirectory>
378                                </artifactItem>
379                            </artifactItems>
380                        </configuration>
381                    </execution>
382                </executions>
383            </plugin>
384            <plugin>
385                <artifactId>maven-assembly-plugin</artifactId>
386                <version>2.2-beta-1</version>
387                <configuration>
388                    <descriptors>
389                        <descriptor>src/main/assembly/bin.xml</descriptor>
390                    </descriptors>
391                </configuration>
392                <executions>
393                    <execution>
394                        <id>make-assembly</id>
395                        <phase>package</phase>
396                        <goals>
397                            <goal>single</goal>
398                        </goals>
399                    </execution>
400                </executions>
401            </plugin>
402            <plugin>
403                <artifactId>maven-javadoc-plugin</artifactId>
404                <version>3.0.0-M1</version>
405                <executions>
406                    <execution>
407                        <id>javadoc-jar</id>
408                        <phase>package</phase>
409                        <goals>
410                            <goal>jar</goal>
411                        </goals>
412                        <configuration>
413                            <includeDependencySources>true</includeDependencySources>
414                            <dependencySourceIncludes>
415                                <dependencySourceInclude>de.ugoe.cs.autoquest:*</dependencySourceInclude>
416                            </dependencySourceIncludes>
417                            <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
418
419                            <!-- exclude packages of generated sources as they contain many java
420                                doc failures -->
421                            <excludePackageNames>de.ugoe.cs.autoquest.exports.tasktrees,de.ugoe.cs.autoquest.plugin.http.logdata</excludePackageNames>
422                            <failOnError>false</failOnError>
423                        </configuration>
424                    </execution>
425                </executions>
426            </plugin>
427        </plugins>
428    </build>
429</project>
Note: See TracBrowser for help on using the repository browser.