Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libMetadata / pom.xml @ 28598

History | View | Annotate | Download (2.97 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/maven-v4_0_0.xsd">
6
        <modelVersion>4.0.0</modelVersion>
7
        <groupId>org.gvsig</groupId>
8
        <artifactId>org.gvsig.metadata</artifactId>
9
        <packaging>jar</packaging>
10
        <version>2.0-SNAPSHOT</version>
11
        <name>libMetadata</name>
12
        <url>http://gvsig.org</url>
13
        <parent>
14
                <groupId>org.gvsig</groupId>
15
                <artifactId>gvsig-library-base-pom</artifactId>
16
                <version>2.0-SNAPSHOT</version>
17
        </parent>
18
        <properties>
19
                <build-dir>${basedir}/../build</build-dir>
20
        </properties>
21
        <dependencies>
22
                <dependency>
23
                        <groupId>org.gvsig</groupId>
24
                        <artifactId>org.gvsig.tools</artifactId>
25
                        <version>2.0-SNAPSHOT</version>
26
                </dependency>
27
        </dependencies>
28
        <build>
29
                <sourceDirectory>src</sourceDirectory>
30
                <testSourceDirectory>src-test</testSourceDirectory>
31
                <plugins>
32
                        <plugin>
33
                                <groupId>org.apache.maven.plugins</groupId>
34
                                <artifactId>maven-compiler-plugin</artifactId>
35
                                <configuration>
36
                                        <source>1.4</source>
37
                                        <target>1.4</target>
38
                                        <!-- put your configurations here -->
39
                                        <encoding>ISO-8859-1</encoding>
40
                                </configuration>
41
                        </plugin>
42
                        <plugin>
43
                                <groupId>org.apache.maven.plugins</groupId>
44
                                <artifactId>maven-jar-plugin</artifactId>
45
                                <configuration>
46
                                        <excludes>
47
                                                <exclude>**/simple/**</exclude>
48
                                        </excludes>
49
                        </configuration>
50
                                        
51
                                <executions>
52
                                        <!-- Generates a jar file only with the libMetadata API. 
53
                                        <execution>
54
                                                <id>api</id>
55
                                                <phase>package</phase>
56
                                                <goals>
57
                                                        <goal>jar</goal>
58
                                                </goals>
59
                                                <configuration>
60
                                                        <classifier>api</classifier>
61
                                                        <excludes>
62
                                                                <exclude>**/simple/**</exclude>
63
                                                        </excludes>
64
                                                </configuration>
65
                                        </execution>
66
                                        -->
67
                                        <!--
68
                                                Generates a jar file only with the libMetadata simple
69
                                                implementation.
70
                                        -->
71
                                        <execution>
72
                                                <id>simple</id>
73
                                                <phase>package</phase>
74
                                                <goals>
75
                                                        <goal>jar</goal>
76
                                                </goals>
77
                                                <configuration>
78
                                                        <classifier>simple</classifier>
79
                                                        <excludes>
80
                                                                <exclude>NONE</exclude>
81
                                                        </excludes>
82
                                                        <includes>
83
                                                                <include>**/simple/**</include>
84
                                                        </includes>
85
                                                        <!--finalName>${project.build.finalName}</finalName-->
86
                                                </configuration>
87
                                        </execution>
88
                                </executions>
89
                        </plugin>
90
                </plugins>
91
        </build>
92
        <reporting>
93
                <plugins>
94
                        <plugin>
95
                                <groupId>org.apache.maven.plugins</groupId>
96
                                <artifactId>maven-javadoc-plugin</artifactId>
97
                                <configuration>
98
                                        <doctitle>${project.name} ${project.version}</doctitle>
99
                                        <groups>
100
                                                <group>
101
                                                        <title>API</title>
102
                                                        <packages>org.gvsig.metadata*</packages>
103
                                                </group>
104
                                                <group>
105
                                                        <title>Java SE implementation</title>
106
                                                        <packages>org.gvsig.metadata.simple*</packages>
107
                                                </group>
108
                                        </groups>
109
                                </configuration>
110
                        </plugin>
111
                </plugins>
112
        </reporting>
113
</project>