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

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