blob: cdf13cc8418bf00b6a55ff62a9e75c8c002f37ce [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 Nodet6392dfe2009-11-27 12:32:26 +000026 <version>1.3.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 Nodet6392dfe2009-11-27 12:32:26 +000032 <version>1.3.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>
56 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000057 </dependency>
58 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000059 <groupId>org.apache.felix.karaf.deployer</groupId>
Gert Vanthienen607b8522009-05-02 19:57:13 +000060 <artifactId>org.apache.felix.karaf.deployer.spring</artifactId>
Guillaume Nodet18c56a12009-04-30 09:10:03 +000061 </dependency>
62 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000063 <groupId>org.apache.felix.karaf.deployer</groupId>
64 <artifactId>org.apache.felix.karaf.deployer.blueprint</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.features</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000069 </dependency>
70 <dependency>
Guillaume Nodet2cb94d02009-08-07 09:55:51 +000071 <groupId>org.apache.felix.karaf.features</groupId>
72 <artifactId>org.apache.felix.karaf.features.core</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.felix.karaf.features</groupId>
76 <artifactId>org.apache.felix.karaf.features.command</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>org.apache.felix.karaf.features</groupId>
80 <artifactId>org.apache.felix.karaf.features.management</artifactId>
81 </dependency>
82 <dependency>
Guillaume Nodeta11a3ce2009-10-22 18:01:48 +000083 <groupId>org.apache.felix.karaf.admin</groupId>
84 <artifactId>org.apache.felix.karaf.admin.core</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.felix.karaf.admin</groupId>
88 <artifactId>org.apache.felix.karaf.admin.command</artifactId>
89 </dependency>
90 <dependency>
91 <groupId>org.apache.felix.karaf.admin</groupId>
92 <artifactId>org.apache.felix.karaf.admin.management</artifactId>
Guillaume Nodetccfc3d82009-05-06 14:40:12 +000093 </dependency>
94 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000095 <groupId>org.apache.felix.karaf.shell</groupId>
Guillaume Nodeta11a3ce2009-10-22 18:01:48 +000096 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000097 </dependency>
98 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000099 <groupId>org.apache.felix.karaf.shell</groupId>
100 <artifactId>org.apache.felix.karaf.shell.obr</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000101 </dependency>
102 <dependency>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000103 <groupId>org.apache.felix.karaf.shell</groupId>
104 <artifactId>org.apache.felix.karaf.shell.osgi</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.log</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.config</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.packages</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.commands</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +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.ssh</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000125 </dependency>
126 <dependency>
Gert Vanthienen70c155b2009-12-04 15:49:54 +0000127 <groupId>org.apache.felix.karaf.shell</groupId>
128 <artifactId>org.apache.felix.karaf.shell.dev</artifactId>
129 </dependency>
130 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000131 <groupId>org.apache.felix.karaf.jaas</groupId>
132 <artifactId>org.apache.felix.karaf.jaas.boot</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000133 </dependency>
134 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000135 <groupId>org.apache.felix.karaf.jaas</groupId>
136 <artifactId>org.apache.felix.karaf.jaas.config</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000137 </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.modules</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</groupId>
144 <artifactId>org.apache.felix.karaf.management</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000145 </dependency>
146 <dependency>
147 <groupId>org.springframework.osgi</groupId>
148 <artifactId>spring-osgi-extender</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.springframework.osgi</groupId>
152 <artifactId>spring-osgi-core</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>org.springframework.osgi</groupId>
156 <artifactId>spring-osgi-io</artifactId>
157 </dependency>
158 <dependency>
Guillaume Nodet6a8e2f12009-08-24 07:27:30 +0000159 <groupId>org.springframework.osgi</groupId>
160 <artifactId>spring-osgi-annotation</artifactId>
161 </dependency>
162 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000163 <groupId>org.springframework</groupId>
164 <artifactId>spring-context</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>org.springframework</groupId>
168 <artifactId>spring-beans</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>org.springframework</groupId>
172 <artifactId>spring-core</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>org.springframework</groupId>
176 <artifactId>spring-aop</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>org.apache.felix</groupId>
180 <artifactId>org.apache.felix.bundlerepository</artifactId>
181 </dependency>
182 <dependency>
Guillaume Nodet30fdfb92009-08-31 07:19:00 +0000183 <groupId>org.apache.felix</groupId>
184 <artifactId>org.apache.felix.fileinstall</artifactId>
185 </dependency>
186 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000187 <groupId>org.apache.mina</groupId>
188 <artifactId>mina-core</artifactId>
189 </dependency>
190 <dependency>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000191 <groupId>jline</groupId>
192 <artifactId>jline</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000193 </dependency>
194 <dependency>
195 <groupId>org.apache.felix</groupId>
196 <artifactId>org.osgi.compendium</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.apache.felix</groupId>
200 <artifactId>org.apache.felix.configadmin</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.apache.felix</groupId>
Guillaume Nodetafcbf452009-06-11 08:36:21 +0000204 <artifactId>org.apache.felix.metatype</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.felix</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000208 <artifactId>org.apache.felix.prefs</artifactId>
209 </dependency>
210 <dependency>
211 <groupId>org.ops4j.pax.logging</groupId>
212 <artifactId>pax-logging-api</artifactId>
213 </dependency>
214 <dependency>
215 <groupId>org.ops4j.pax.logging</groupId>
216 <artifactId>pax-logging-service</artifactId>
217 </dependency>
218 <dependency>
219 <groupId>org.ops4j.pax.url</groupId>
220 <artifactId>pax-url-mvn</artifactId>
221 </dependency>
222 <dependency>
223 <groupId>org.ops4j.pax.url</groupId>
224 <artifactId>pax-url-wrap</artifactId>
225 </dependency>
226 <dependency>
227 <groupId>org.apache.geronimo.specs</groupId>
228 <artifactId>geronimo-servlet_2.5_spec</artifactId>
229 </dependency>
230 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000231 <groupId>org.apache.sshd</groupId>
232 <artifactId>sshd-core</artifactId>
233 </dependency>
234 <dependency>
235 <groupId>org.osgi</groupId>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000236 <artifactId>org.osgi.impl.bundle.jmx</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000237 </dependency>
Guillaume Nodet350b1502009-05-05 15:46:15 +0000238 <dependency>
239 <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 Nodet76d69022009-09-14 13:13:16 +0000247 <groupId>org.apache.geronimo.blueprint</groupId>
248 <artifactId>geronimo-blueprint</artifactId>
Guillaume Nodetfcf2d342009-06-18 20:57:23 +0000249 </dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000250 </dependencies>
251 <build>
252 <resources>
253 <resource>
254 <directory>${pom.basedir}/src/main/filtered-resources</directory>
255 <filtering>true</filtering>
256 <includes>
257 <include>**/*</include>
258 </includes>
259 </resource>
260 </resources>
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000261 <filters>
262 <filter>target/filter.txt</filter>
263 </filters>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000264 <plugins>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000267 <artifactId>maven-antrun-plugin</artifactId>
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000268 <executions>
269 <execution>
270 <id>create-prop</id>
271 <phase>generate-resources</phase>
272 <configuration>
273 <tasks>
Guillaume Nodet916f28a2009-09-22 09:11:12 +0000274 <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
275 <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" />
276 <property name="mv" value="${project.version}" />
277 <echo message="Maven version: ${mv}" />
278 <propertyregex property="ov.p1" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace="\1" defaultValue="0" />
279 <propertyregex property="ov.p2" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\2" defaultValue=".0" />
280 <propertyregex property="ov.p3" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\3" defaultValue=".0" />
281 <propertyregex property="ov.p4" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\4" defaultValue="" />
282 <propertyregex property="ov.p1a" input="${ov.p1}" regexp="(.+)" replace="\1" defaultValue="0" />
283 <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0" />
284 <propertyregex property="ov.p3a" input="${ov.p3}" regexp="(\..+)" replace="\1" defaultValue=".0" />
285 <propertyregex property="ov.p4a" input="${ov.p4}" regexp="(\..+)" replace="\1" defaultValue="" />
286 <property name="ov" value="${ov.p1a}${ov.p2a}${ov.p3a}${ov.p4a}" />
287 <echo message="OSGi version: ${ov}" />
288 <mkdir dir="target" />
289 <echo message="karaf.osgi.version = ${ov}" file="target/filter.txt" />
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000290 </tasks>
291 </configuration>
292 <goals>
293 <goal>run</goal>
294 </goals>
295 </execution>
296 </executions>
Guillaume Nodet992a2af2009-08-27 15:03:40 +0000297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000300 <artifactId>maven-resources-plugin</artifactId>
301 <executions>
302 <execution>
303 <id>filter</id>
304 <phase>generate-resources</phase>
305 <goals>
306 <goal>resources</goal>
307 </goals>
308 </execution>
309 </executions>
310 </plugin>
311 <plugin>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-dependency-plugin</artifactId>
314 <executions>
315 <execution>
316 <id>copy</id>
317 <phase>generate-resources</phase>
318 <goals>
319 <goal>copy</goal>
320 </goals>
321 <configuration>
322 <artifactItems>
323 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000324 <groupId>org.apache.felix.karaf</groupId>
325 <artifactId>org.apache.felix.karaf.main</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000326 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000327 <destFileName>karaf.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000328 </artifactItem>
329 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000330 <groupId>org.apache.felix.karaf</groupId>
331 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000332 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000333 <destFileName>karaf-client.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000334 </artifactItem>
335 <artifactItem>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000336 <groupId>org.apache.felix.karaf.jaas</groupId>
337 <artifactId>org.apache.felix.karaf.jaas.boot</artifactId>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000338 <outputDirectory>target/dependencies/lib</outputDirectory>
Guillaume Nodet874ecc82009-05-04 07:56:47 +0000339 <destFileName>karaf-jaas-boot.jar</destFileName>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000340 </artifactItem>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000341 <artifactItem>
342 <groupId>org.apache.felix.karaf</groupId>
343 <artifactId>manual</artifactId>
344 <type>pdf</type>
345 <outputDirectory>target/dependencies</outputDirectory>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000346 </artifactItem>
347 <artifactItem>
348 <groupId>org.apache.felix.karaf</groupId>
349 <artifactId>manual</artifactId>
350 <type>html</type>
351 <outputDirectory>target/dependencies</outputDirectory>
Guillaume Nodet225b7992009-10-15 21:01:09 +0000352 </artifactItem>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000353 </artifactItems>
354 </configuration>
355 </execution>
356 </executions>
357 </plugin>
358 <plugin>
359 <groupId>org.codehaus.mojo</groupId>
360 <artifactId>build-helper-maven-plugin</artifactId>
361 <executions>
362 <execution>
363 <id>attach-artifacts</id>
364 <phase>package</phase>
365 <goals>
366 <goal>attach-artifact</goal>
367 </goals>
368 <configuration>
369 <artifacts>
370 <artifact>
371 <file>target/classes/features.xml</file>
372 <type>xml</type>
373 <classifier>features</classifier>
374 </artifact>
375 </artifacts>
376 </configuration>
377 </execution>
378 </executions>
379 </plugin>
380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-assembly-plugin</artifactId>
383 <executions>
384 <execution>
Guillaume Nodet9b259a42009-09-21 14:02:52 +0000385 <id>make-assembly</id>
386 <phase>none</phase>
387 </execution>
388 <execution>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000389 <id>unix-bin</id>
390 <phase>package</phase>
391 <goals>
392 <goal>single</goal>
393 </goals>
394 <configuration>
395 <descriptors>
396 <descriptor>src/main/descriptors/unix-bin.xml</descriptor>
397 </descriptors>
398 <finalName>${pom.artifactId}-${pom.version}</finalName>
399 <tarLongFileMode>gnu</tarLongFileMode>
400 </configuration>
401 </execution>
402 <execution>
403 <id>windows-bin</id>
404 <phase>package</phase>
405 <goals>
406 <goal>single</goal>
407 </goals>
408 <configuration>
409 <descriptors>
410 <descriptor>src/main/descriptors/windows-bin.xml</descriptor>
411 </descriptors>
412 <finalName>${pom.artifactId}-${pom.version}</finalName>
413 <appendAssemblyId>true</appendAssemblyId>
Guillaume Nodet916f28a2009-09-22 09:11:12 +0000414 <assemblyId />
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000415 </configuration>
416 </execution>
417 <execution>
418 <id>unix-src</id>
419 <phase>package</phase>
420 <goals>
421 <goal>single</goal>
422 </goals>
423 <configuration>
424 <descriptors>
425 <descriptor>src/main/descriptors/unix-src.xml</descriptor>
426 </descriptors>
427 <tarLongFileMode>gnu</tarLongFileMode>
428 </configuration>
429 </execution>
430 <execution>
431 <id>windows-src</id>
432 <phase>package</phase>
433 <goals>
434 <goal>single</goal>
435 </goals>
436 <configuration>
437 <descriptors>
438 <descriptor>src/main/descriptors/windows-src.xml</descriptor>
439 </descriptors>
440 </configuration>
441 </execution>
442 </executions>
443 </plugin>
444 </plugins>
445 </build>
446
447 <profiles>
448 <profile>
449 <id>assembly-src</id>
450 <build>
451 <plugins>
452 <plugin>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-assembly-plugin</artifactId>
455 <executions>
456 <execution>
457 <id>unix-src</id>
458 <phase>package</phase>
459 <goals>
460 <goal>attached</goal>
461 </goals>
462 <configuration>
463 <descriptors>
464 <descriptor>src/main/descriptors/unix-src.xml</descriptor>
465 </descriptors>
466 </configuration>
467 </execution>
468 <execution>
469 <id>windows-src</id>
470 <phase>package</phase>
471 <goals>
472 <goal>attached</goal>
473 </goals>
474 <configuration>
475 <descriptors>
476 <descriptor>src/main/descriptors/windows-src.xml</descriptor>
477 </descriptors>
478 </configuration>
479 </execution>
480 </executions>
481 </plugin>
482 </plugins>
483 </build>
484 </profile>
485 </profiles>
486</project>