blob: d43801bf9eb1014b5f47e952f16b1b6397238516 [file] [log] [blame]
Guillaume Nodet916f28a2009-09-22 09:11:12 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Guillaume Nodet91fab3b2009-04-27 10:01:58 +00002
3 <!--
4
5 Licensed to the Apache Software Foundation (ASF) under one or more
6 contributor license agreements. See the NOTICE file distributed with
7 this work for additional information regarding copyright ownership.
8 The ASF licenses this file to You under the Apache License, Version 2.0
9 (the "License"); you may not use this file except in compliance with
10 the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 -->
20
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
Gert Vanthienen607b8522009-05-02 19:57:13 +000024 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodetb9103c82009-05-11 14:33:35 +000025 <artifactId>karaf</artifactId>
Guillaume Nodet3107d112010-05-20 20:08:17 +000026 <version>1.7.0-SNAPSHOT</version>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000027 </parent>
28
Gert Vanthienen607b8522009-05-02 19:57:13 +000029 <groupId>org.apache.felix.karaf</groupId>
30 <artifactId>apache-felix-karaf</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000031 <packaging>pom</packaging>
Guillaume Nodet3107d112010-05-20 20:08:17 +000032 <version>1.7.0-SNAPSHOT</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000033 <name>Apache Felix Karaf :: Assembly</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000034
Guillaume Nodet91a52c02009-09-18 20:14:54 +000035 <properties>
36 <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
37 </properties>
38
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000039 <dependencies>
40 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000041 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet225b7992009-10-15 21:01:09 +000042 <artifactId>manual</artifactId>
43 <type>pdf</type>
44 </dependency>
45 <dependency>
46 <groupId>org.apache.felix.karaf</groupId>
47 <artifactId>manual</artifactId>
48 <type>html</type>
49 </dependency>
50 <dependency>
51 <groupId>org.apache.felix.karaf</groupId>
Gert Vanthienen607b8522009-05-02 19:57:13 +000052 <artifactId>org.apache.felix.karaf.main</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000053 </dependency>
54 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000055 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodete38fede2010-04-30 15:27:06 +000056 <artifactId>org.apache.felix.karaf.exception</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.felix.karaf</groupId>
Gert Vanthienen607b8522009-05-02 19:57:13 +000060 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000061 </dependency>
62 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000063 <groupId>org.apache.felix.karaf.deployer</groupId>
Gert Vanthienen607b8522009-05-02 19:57:13 +000064 <artifactId>org.apache.felix.karaf.deployer.spring</artifactId>
Guillaume Nodet18c56a12009-04-30 09:10:03 +000065 </dependency>
66 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000067 <groupId>org.apache.felix.karaf.deployer</groupId>
68 <artifactId>org.apache.felix.karaf.deployer.blueprint</artifactId>
Guillaume Nodet18c56a12009-04-30 09:10:03 +000069 </dependency>
70 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000071 <groupId>org.apache.felix.karaf.deployer</groupId>
72 <artifactId>org.apache.felix.karaf.deployer.features</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000073 </dependency>
74 <dependency>
Guillaume Nodeta5561af2010-02-05 09:40:46 +000075 <groupId>org.apache.felix.karaf.deployer</groupId>
76 <artifactId>org.apache.felix.karaf.deployer.war</artifactId>
77 </dependency>
78 <dependency>
Guillaume Nodet2cb94d02009-08-07 09:55:51 +000079 <groupId>org.apache.felix.karaf.features</groupId>
80 <artifactId>org.apache.felix.karaf.features.core</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>org.apache.felix.karaf.features</groupId>
84 <artifactId>org.apache.felix.karaf.features.command</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.felix.karaf.features</groupId>
88 <artifactId>org.apache.felix.karaf.features.management</artifactId>
89 </dependency>
90 <dependency>
Guillaume Nodeta11a3ce2009-10-22 18:01:48 +000091 <groupId>org.apache.felix.karaf.admin</groupId>
92 <artifactId>org.apache.felix.karaf.admin.core</artifactId>
93 </dependency>
94 <dependency>
95 <groupId>org.apache.felix.karaf.admin</groupId>
96 <artifactId>org.apache.felix.karaf.admin.command</artifactId>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.felix.karaf.admin</groupId>
100 <artifactId>org.apache.felix.karaf.admin.management</artifactId>
Guillaume Nodetccfc3d82009-05-06 14:40:12 +0000101 </dependency>
102 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000103 <groupId>org.apache.felix.karaf.shell</groupId>
Guillaume Nodeta11a3ce2009-10-22 18:01:48 +0000104 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000105 </dependency>
106 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000107 <groupId>org.apache.felix.karaf.shell</groupId>
108 <artifactId>org.apache.felix.karaf.shell.obr</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000109 </dependency>
110 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000111 <groupId>org.apache.felix.karaf.shell</groupId>
112 <artifactId>org.apache.felix.karaf.shell.osgi</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000113 </dependency>
114 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000115 <groupId>org.apache.felix.karaf.shell</groupId>
116 <artifactId>org.apache.felix.karaf.shell.log</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000117 </dependency>
118 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000119 <groupId>org.apache.felix.karaf.shell</groupId>
120 <artifactId>org.apache.felix.karaf.shell.config</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000121 </dependency>
122 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000123 <groupId>org.apache.felix.karaf.shell</groupId>
124 <artifactId>org.apache.felix.karaf.shell.packages</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000125 </dependency>
126 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000127 <groupId>org.apache.felix.karaf.shell</groupId>
128 <artifactId>org.apache.felix.karaf.shell.commands</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000129 </dependency>
130 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000131 <groupId>org.apache.felix.karaf.shell</groupId>
132 <artifactId>org.apache.felix.karaf.shell.ssh</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000133 </dependency>
134 <dependency>
Gert Vanthienen70c155b2009-12-04 15:49:54 +0000135 <groupId>org.apache.felix.karaf.shell</groupId>
136 <artifactId>org.apache.felix.karaf.shell.dev</artifactId>
137 </dependency>
138 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000139 <groupId>org.apache.felix.karaf.jaas</groupId>
140 <artifactId>org.apache.felix.karaf.jaas.boot</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000141 </dependency>
142 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000143 <groupId>org.apache.felix.karaf.jaas</groupId>
144 <artifactId>org.apache.felix.karaf.jaas.config</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000145 </dependency>
146 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000147 <groupId>org.apache.felix.karaf.jaas</groupId>
148 <artifactId>org.apache.felix.karaf.jaas.modules</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000149 </dependency>
150 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000151 <groupId>org.apache.felix.karaf</groupId>
152 <artifactId>org.apache.felix.karaf.management</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000153 </dependency>
154 <dependency>
155 <groupId>org.springframework.osgi</groupId>
156 <artifactId>spring-osgi-extender</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>org.springframework.osgi</groupId>
160 <artifactId>spring-osgi-core</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>org.springframework.osgi</groupId>
164 <artifactId>spring-osgi-io</artifactId>
165 </dependency>
166 <dependency>
Guillaume Nodet6a8e2f12009-08-24 07:27:30 +0000167 <groupId>org.springframework.osgi</groupId>
168 <artifactId>spring-osgi-annotation</artifactId>
169 </dependency>
170 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000171 <groupId>org.springframework</groupId>
172 <artifactId>spring-context</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>org.springframework</groupId>
176 <artifactId>spring-beans</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>org.springframework</groupId>
180 <artifactId>spring-core</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-aop</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>org.apache.felix.bundlerepository</artifactId>
189 </dependency>
190 <dependency>
Guillaume Nodet30fdfb92009-08-31 07:19:00 +0000191 <groupId>org.apache.felix</groupId>
192 <artifactId>org.apache.felix.fileinstall</artifactId>
193 </dependency>
194 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000195 <groupId>org.apache.mina</groupId>
196 <artifactId>mina-core</artifactId>
197 </dependency>
198 <dependency>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000199 <groupId>jline</groupId>
200 <artifactId>jline</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000201 </dependency>
202 <dependency>
203 <groupId>org.apache.felix</groupId>
204 <artifactId>org.osgi.compendium</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>org.apache.felix.configadmin</artifactId>
209 </dependency>
210 <dependency>
211 <groupId>org.apache.felix</groupId>
Guillaume Nodetafcbf452009-06-11 08:36:21 +0000212 <artifactId>org.apache.felix.metatype</artifactId>
213 </dependency>
214 <dependency>
215 <groupId>org.apache.felix</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000216 <artifactId>org.apache.felix.prefs</artifactId>
217 </dependency>
218 <dependency>
219 <groupId>org.ops4j.pax.logging</groupId>
220 <artifactId>pax-logging-api</artifactId>
221 </dependency>
222 <dependency>
223 <groupId>org.ops4j.pax.logging</groupId>
224 <artifactId>pax-logging-service</artifactId>
225 </dependency>
226 <dependency>
227 <groupId>org.ops4j.pax.url</groupId>
228 <artifactId>pax-url-mvn</artifactId>
229 </dependency>
230 <dependency>
231 <groupId>org.ops4j.pax.url</groupId>
232 <artifactId>pax-url-wrap</artifactId>
233 </dependency>
234 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000235 <groupId>org.apache.sshd</groupId>
236 <artifactId>sshd-core</artifactId>
237 </dependency>
238 <dependency>
Guillaume Nodet350b1502009-05-05 15:46:15 +0000239 <groupId>org.eclipse</groupId>
240 <artifactId>osgi</artifactId>
241 </dependency>
242 <dependency>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>org.apache.felix.framework</artifactId>
245 </dependency>
Guillaume Nodetfcf2d342009-06-18 20:57:23 +0000246 <dependency>
Guillaume Nodetc7f649d2010-02-20 20:23:14 +0000247 <groupId>org.apache.aries.blueprint</groupId>
248 <artifactId>org.apache.aries.blueprint</artifactId>
249 </dependency>
250 <dependency>
251 <groupId>org.apache.aries.jmx</groupId>
252 <artifactId>org.apache.aries.jmx</artifactId>
253 </dependency>
254 <dependency>
255 <groupId>org.apache.aries.jmx</groupId>
256 <artifactId>org.apache.aries.jmx.blueprint</artifactId>
Guillaume Nodetfcf2d342009-06-18 20:57:23 +0000257 </dependency>
Guillaume Nodeta5561af2010-02-05 09:40:46 +0000258 <dependency>
259 <groupId>org.apache.geronimo.specs</groupId>
260 <artifactId>geronimo-servlet_2.5_spec</artifactId>
261 <optional>true</optional>
262 </dependency>
263 <dependency>
Guillaume Nodeta5561af2010-02-05 09:40:46 +0000264 <groupId>org.apache.servicemix.bundles</groupId>
265 <artifactId>org.apache.servicemix.bundles.jetty-bundle</artifactId>
266 <optional>true</optional>
267 </dependency>
268 <dependency>
269 <groupId>org.ops4j.pax.web</groupId>
270 <artifactId>pax-web-api</artifactId>
271 <optional>true</optional>
272 </dependency>
273 <dependency>
274 <groupId>org.ops4j.pax.web</groupId>
275 <artifactId>pax-web-spi</artifactId>
276 <optional>true</optional>
277 </dependency>
278 <dependency>
279 <groupId>org.ops4j.pax.web</groupId>
280 <artifactId>pax-web-runtime</artifactId>
281 <optional>true</optional>
282 </dependency>
283 <dependency>
284 <groupId>org.ops4j.pax.web</groupId>
285 <artifactId>pax-web-jetty</artifactId>
286 <optional>true</optional>
287 </dependency>
288 <dependency>
289 <groupId>org.ops4j.pax.web</groupId>
290 <artifactId>pax-web-jsp</artifactId>
291 <optional>true</optional>
292 </dependency>
293 <dependency>
294 <groupId>org.ops4j.pax.web</groupId>
295 <artifactId>pax-web-extender-war</artifactId>
296 <optional>true</optional>
297 </dependency>
298 <dependency>
299 <groupId>org.ops4j.pax.web</groupId>
300 <artifactId>pax-web-extender-whiteboard</artifactId>
301 <optional>true</optional>
302 </dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000303 </dependencies>
304 <build>
305 <resources>
306 <resource>
Chris Custine8764d8f2010-05-16 08:24:14 +0000307 <directory>${project.basedir}/src/main/filtered-resources</directory>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000308 <filtering>true</filtering>
309 <includes>
310 <include>**/*</include>
311 </includes>
312 </resource>
313 </resources>
Chris Custine23764f52010-03-08 14:57:33 +0000314 <plugins>
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000317 <artifactId>maven-resources-plugin</artifactId>
318 <executions>
319 <execution>
320 <id>filter</id>
321 <phase>generate-resources</phase>
322 <goals>
323 <goal>resources</goal>
324 </goals>
325 </execution>
326 </executions>
327 </plugin>
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-dependency-plugin</artifactId>
331 <executions>
332 <execution>
333 <id>copy</id>
334 <phase>generate-resources</phase>
335 <goals>
336 <goal>copy</goal>
337 </goals>
338 <configuration>
339 <artifactItems>
340 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000341 <groupId>org.apache.felix.karaf</groupId>
342 <artifactId>org.apache.felix.karaf.main</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000343 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000344 <destFileName>karaf.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000345 </artifactItem>
346 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000347 <groupId>org.apache.felix.karaf</groupId>
348 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000349 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000350 <destFileName>karaf-client.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000351 </artifactItem>
352 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000353 <groupId>org.apache.felix.karaf.jaas</groupId>
354 <artifactId>org.apache.felix.karaf.jaas.boot</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000355 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000356 <destFileName>karaf-jaas-boot.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000357 </artifactItem>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000358 <artifactItem>
359 <groupId>org.apache.felix.karaf</groupId>
360 <artifactId>manual</artifactId>
361 <type>pdf</type>
362 <outputDirectory>target/dependencies</outputDirectory>
Chris Custine3a6c68e2010-05-16 08:50:14 +0000363 <destFileName>karaf-manual-${project.version}.pdf</destFileName>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000364 </artifactItem>
365 <artifactItem>
366 <groupId>org.apache.felix.karaf</groupId>
367 <artifactId>manual</artifactId>
368 <type>html</type>
369 <outputDirectory>target/dependencies</outputDirectory>
Chris Custine3a6c68e2010-05-16 08:50:14 +0000370 <destFileName>karaf-manual-${project.version}.html</destFileName>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000371 </artifactItem>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000372 </artifactItems>
373 </configuration>
374 </execution>
375 </executions>
376 </plugin>
377 <plugin>
378 <groupId>org.codehaus.mojo</groupId>
379 <artifactId>build-helper-maven-plugin</artifactId>
380 <executions>
381 <execution>
382 <id>attach-artifacts</id>
383 <phase>package</phase>
384 <goals>
385 <goal>attach-artifact</goal>
386 </goals>
387 <configuration>
388 <artifacts>
389 <artifact>
390 <file>target/classes/features.xml</file>
391 <type>xml</type>
392 <classifier>features</classifier>
393 </artifact>
394 </artifacts>
395 </configuration>
396 </execution>
397 </executions>
398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-assembly-plugin</artifactId>
402 <executions>
403 <execution>
Guillaume Nodet9b259a42009-09-21 14:02:52 +0000404 <id>make-assembly</id>
405 <phase>none</phase>
406 </execution>
407 <execution>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000408 <id>unix-bin</id>
409 <phase>package</phase>
410 <goals>
411 <goal>single</goal>
412 </goals>
413 <configuration>
414 <descriptors>
415 <descriptor>src/main/descriptors/unix-bin.xml</descriptor>
416 </descriptors>
Chris Custine8764d8f2010-05-16 08:24:14 +0000417 <finalName>${project.artifactId}-${project.version}</finalName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000418 <tarLongFileMode>gnu</tarLongFileMode>
419 </configuration>
420 </execution>
421 <execution>
422 <id>windows-bin</id>
423 <phase>package</phase>
424 <goals>
425 <goal>single</goal>
426 </goals>
427 <configuration>
428 <descriptors>
429 <descriptor>src/main/descriptors/windows-bin.xml</descriptor>
430 </descriptors>
Chris Custine8764d8f2010-05-16 08:24:14 +0000431 <finalName>${project.artifactId}-${project.version}</finalName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000432 <appendAssemblyId>true</appendAssemblyId>
Guillaume Nodet916f28a2009-09-22 09:11:12 +0000433 <assemblyId />
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000434 </configuration>
435 </execution>
436 <execution>
437 <id>unix-src</id>
438 <phase>package</phase>
439 <goals>
440 <goal>single</goal>
441 </goals>
442 <configuration>
443 <descriptors>
444 <descriptor>src/main/descriptors/unix-src.xml</descriptor>
445 </descriptors>
446 <tarLongFileMode>gnu</tarLongFileMode>
447 </configuration>
448 </execution>
449 <execution>
450 <id>windows-src</id>
451 <phase>package</phase>
452 <goals>
453 <goal>single</goal>
454 </goals>
455 <configuration>
456 <descriptors>
457 <descriptor>src/main/descriptors/windows-src.xml</descriptor>
458 </descriptors>
459 </configuration>
460 </execution>
461 </executions>
462 </plugin>
463 </plugins>
464 </build>
465
466 <profiles>
467 <profile>
468 <id>assembly-src</id>
469 <build>
470 <plugins>
471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-assembly-plugin</artifactId>
474 <executions>
475 <execution>
476 <id>unix-src</id>
477 <phase>package</phase>
478 <goals>
479 <goal>attached</goal>
480 </goals>
481 <configuration>
482 <descriptors>
483 <descriptor>src/main/descriptors/unix-src.xml</descriptor>
484 </descriptors>
485 </configuration>
486 </execution>
487 <execution>
488 <id>windows-src</id>
489 <phase>package</phase>
490 <goals>
491 <goal>attached</goal>
492 </goals>
493 <configuration>
494 <descriptors>
495 <descriptor>src/main/descriptors/windows-src.xml</descriptor>
496 </descriptors>
497 </configuration>
498 </execution>
499 </executions>
500 </plugin>
501 </plugins>
502 </build>
503 </profile>
504 </profiles>
505</project>