Revision 25430 branches/v2_0_0_prep/libraries/libMetadata/pom.xml
pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 | 2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 3 |
<modelVersion>4.0.0</modelVersion> |
5 | 4 |
<groupId>org.gvsig</groupId> |
6 | 5 |
<artifactId>libMetadata</artifactId> |
7 | 6 |
<packaging>jar</packaging> |
8 |
<version>1.0-SNAPSHOT</version>
|
|
7 |
<version>2.0-SNAPSHOT</version>
|
|
9 | 8 |
<name>libMetadata</name> |
10 | 9 |
<url>http://gvsig.org</url> |
11 | 10 |
<parent> |
12 | 11 |
<groupId>org.gvsig</groupId> |
13 | 12 |
<artifactId>gvsig-library-base-pom</artifactId> |
14 |
<version>1.0-SNAPSHOT</version>
|
|
13 |
<version>2.0-SNAPSHOT</version>
|
|
15 | 14 |
</parent> |
16 | 15 |
<dependencies> |
17 | 16 |
<dependency> |
18 | 17 |
<groupId>org.gvsig</groupId> |
19 |
<artifactId>libExceptions</artifactId>
|
|
20 |
<version>1.0-SNAPSHOT</version>
|
|
18 |
<artifactId>libTools</artifactId>
|
|
19 |
<version>2.0-SNAPSHOT</version>
|
|
21 | 20 |
</dependency> |
22 | 21 |
</dependencies> |
23 | 22 |
<build> |
... | ... | |
26 | 25 |
<plugins> |
27 | 26 |
<plugin> |
28 | 27 |
<groupId>org.apache.maven.plugins</groupId> |
29 |
<artifactId>maven-jar-plugin</artifactId>
|
|
28 |
<artifactId>maven-jar-plugin</artifactId>
|
|
30 | 29 |
<executions> |
31 |
<!-- |
|
32 |
Generates a jar file only with the simple Metadata |
|
33 |
implementation. |
|
34 |
--> |
|
30 |
<!-- Generates a jar file only with the libMetadata API. --> |
|
35 | 31 |
<execution> |
36 |
<id>simple</id>
|
|
32 |
<id>api</id>
|
|
37 | 33 |
<phase>package</phase> |
38 | 34 |
<goals> |
39 | 35 |
<goal>jar</goal> |
40 | 36 |
</goals> |
41 | 37 |
<configuration> |
42 |
<classifier>simple</classifier>
|
|
38 |
<classifier>api</classifier>
|
|
43 | 39 |
<excludes> |
44 |
<exclude>**/extended/**</exclude>
|
|
40 |
<exclude>**/simple/**</exclude>
|
|
45 | 41 |
</excludes> |
46 | 42 |
</configuration> |
47 | 43 |
</execution> |
48 |
<!--
|
|
49 |
Generates a jar file only with the extended Metadata
|
|
50 |
implementation.
|
|
51 |
-->
|
|
44 |
<!--
|
|
45 |
Generates a jar file only with the libMetadata simple
|
|
46 |
implementation.
|
|
47 |
-->
|
|
52 | 48 |
<execution> |
53 |
<id>extended</id>
|
|
49 |
<id>simple</id>
|
|
54 | 50 |
<phase>package</phase> |
55 | 51 |
<goals> |
56 | 52 |
<goal>jar</goal> |
57 | 53 |
</goals> |
58 | 54 |
<configuration> |
59 |
<classifier>extended</classifier>
|
|
60 |
<excludes>
|
|
61 |
<exclude>**/simple/**</exclude>
|
|
62 |
</excludes>
|
|
55 |
<classifier>simple</classifier>
|
|
56 |
<includes>
|
|
57 |
<include>**/simple/**</include>
|
|
58 |
</includes>
|
|
63 | 59 |
</configuration> |
64 | 60 |
</execution> |
65 | 61 |
</executions> |
66 | 62 |
</plugin> |
67 | 63 |
</plugins> |
68 | 64 |
</build> |
69 |
</project> |
|
65 |
|
|
66 |
</project> |
Also available in: Unified diff