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

Last change on this file since 2221 was 2221, checked in by pharms, 7 years ago

trying to get the platform specific profile jars running

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