Revision 21146 trunk/libraries/libMetadata/pom.xml

View differences:

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

Also available in: Unified diff