svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libCompat / pom.xml @ 28554
History | View | Annotate | Download (4.47 KB)
1 | 25365 | cordinyana | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | |||
3 | 27879 | cordinyana | <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/xsd/maven-4.0.0.xsd"> |
||
6 | 25365 | cordinyana | |
7 | <modelVersion>4.0.0</modelVersion> |
||
8 | |||
9 | <!-- The Basics -->
|
||
10 | <groupId>org.gvsig</groupId> |
||
11 | 26741 | cordinyana | <artifactId>org.gvsig.compat</artifactId> |
12 | <version>2.0-SNAPSHOT</version> |
||
13 | 25365 | cordinyana | |
14 | <name>libCompat</name> |
||
15 | <url>http://gvsig.org</url> |
||
16 | <parent>
|
||
17 | <groupId>org.gvsig</groupId> |
||
18 | <artifactId>gvsig-library-base-pom</artifactId> |
||
19 | <version>2.0-SNAPSHOT</version> |
||
20 | </parent>
|
||
21 | |||
22 | <dependencies>
|
||
23 | <dependency>
|
||
24 | <groupId>org.gvsig</groupId> |
||
25 | 26741 | cordinyana | <artifactId>org.gvsig.tools</artifactId> |
26 | 25365 | cordinyana | <version>2.0-SNAPSHOT</version> |
27 | </dependency>
|
||
28 | </dependencies>
|
||
29 | |||
30 | <!-- Build Settings -->
|
||
31 | <build>
|
||
32 | <sourceDirectory>src</sourceDirectory> |
||
33 | <testSourceDirectory>src-test</testSourceDirectory> |
||
34 | </build>
|
||
35 | |||
36 | <profiles>
|
||
37 | <profile>
|
||
38 | <id>se</id> |
||
39 | <activation>
|
||
40 | <activeByDefault>true</activeByDefault> |
||
41 | </activation>
|
||
42 | |||
43 | <build>
|
||
44 | <plugins>
|
||
45 | 26741 | cordinyana | <plugin>
|
46 | <groupId>org.apache.maven.plugins</groupId> |
||
47 | <artifactId>maven-compiler-plugin</artifactId> |
||
48 | <configuration>
|
||
49 | <source>1.4</source> |
||
50 | <target>1.4</target> |
||
51 | <!-- put your configurations here -->
|
||
52 | <encoding>ISO-8859-1</encoding> |
||
53 | </configuration>
|
||
54 | </plugin>
|
||
55 | <plugin>
|
||
56 | <groupId>org.apache.maven.plugins</groupId> |
||
57 | <artifactId>maven-jar-plugin</artifactId> |
||
58 | <configuration>
|
||
59 | <excludes>
|
||
60 | <exclude>**/se/**</exclude> |
||
61 | </excludes>
|
||
62 | </configuration>
|
||
63 | |||
64 | 25365 | cordinyana | <executions>
|
65 | 26741 | cordinyana | <!-- Generates a jar file only with the libCompat API.
|
66 | 25365 | cordinyana | <execution>
|
67 | <id>api</id>
|
||
68 | <phase>package</phase>
|
||
69 | <goals><goal>jar</goal></goals>
|
||
70 | <configuration>
|
||
71 | <classifier>api</classifier>
|
||
72 | <excludes>
|
||
73 | <exclude>**/se/**</exclude>
|
||
74 | </excludes>
|
||
75 | </configuration>
|
||
76 | </execution>
|
||
77 | 26741 | cordinyana | -->
|
78 | 25365 | cordinyana | <!-- Generates a jar file only with the libCompat SE implementation. -->
|
79 | <execution>
|
||
80 | <id>se</id> |
||
81 | <phase>package</phase> |
||
82 | <goals><goal>jar</goal></goals> |
||
83 | <configuration>
|
||
84 | <classifier>se</classifier> |
||
85 | 26741 | cordinyana | <excludes>
|
86 | <exclude>NONE</exclude> |
||
87 | </excludes>
|
||
88 | 25365 | cordinyana | <includes>
|
89 | <include>**/se/**</include> |
||
90 | </includes>
|
||
91 | </configuration>
|
||
92 | </execution>
|
||
93 | <!-- Generates a jar file with the test, to be reused by other
|
||
94 | library implementations. -->
|
||
95 | <execution>
|
||
96 | <goals><goal>test-jar</goal></goals> |
||
97 | </execution>
|
||
98 | </executions>
|
||
99 | </plugin>
|
||
100 | </plugins>
|
||
101 | </build>
|
||
102 | </profile>
|
||
103 | |||
104 | <profile>
|
||
105 | <id>cdc</id> |
||
106 | <activation>
|
||
107 | <activeByDefault>false</activeByDefault> |
||
108 | </activation>
|
||
109 | <build>
|
||
110 | |||
111 | <plugins>
|
||
112 | <plugin>
|
||
113 | <groupId>org.apache.maven.plugins</groupId> |
||
114 | <artifactId>maven-compiler-plugin</artifactId> |
||
115 | <configuration>
|
||
116 | <excludes>
|
||
117 | <exclude>**/se/**</exclude> |
||
118 | </excludes>
|
||
119 | <testExcludes>
|
||
120 | <exclude>**/se/**</exclude> |
||
121 | </testExcludes>
|
||
122 | </configuration>
|
||
123 | </plugin>
|
||
124 | |||
125 | <plugin>
|
||
126 | <groupId>org.apache.maven.plugins</groupId> |
||
127 | <artifactId>maven-jar-plugin</artifactId> |
||
128 | 26741 | cordinyana | <configuration>
|
129 | <excludes>
|
||
130 | <exclude>**/se/**</exclude> |
||
131 | </excludes>
|
||
132 | </configuration>
|
||
133 | 25365 | cordinyana | <executions>
|
134 | 26741 | cordinyana | <!-- Generates a jar file only with the libCompat API.
|
135 | 25365 | cordinyana | <execution>
|
136 | <id>api</id>
|
||
137 | <phase>package</phase>
|
||
138 | <goals><goal>jar</goal></goals>
|
||
139 | <configuration>
|
||
140 | <classifier>api</classifier>
|
||
141 | <excludes>
|
||
142 | <exclude>**/se/**</exclude>
|
||
143 | </excludes>
|
||
144 | </configuration>
|
||
145 | </execution>
|
||
146 | 26741 | cordinyana | -->
|
147 | 25365 | cordinyana | <!-- Generates a jar file with the test, to be reused by other
|
148 | library implementations. -->
|
||
149 | <execution>
|
||
150 | <goals><goal>test-jar</goal></goals> |
||
151 | </execution>
|
||
152 | </executions>
|
||
153 | </plugin>
|
||
154 | 28492 | cordinyana | |
155 | 25365 | cordinyana | </plugins>
|
156 | </build>
|
||
157 | |||
158 | </profile>
|
||
159 | </profiles>
|
||
160 | |||
161 | 28492 | cordinyana | <reporting>
|
162 | <plugins>
|
||
163 | <plugin>
|
||
164 | <groupId>org.apache.maven.plugins</groupId> |
||
165 | <artifactId>maven-javadoc-plugin</artifactId> |
||
166 | <configuration>
|
||
167 | 28554 | cordinyana | <doctitle>${project.name} ${project.version}</doctitle> |
168 | 28492 | cordinyana | <groups>
|
169 | <group>
|
||
170 | <title>API</title> |
||
171 | <packages>org.gvsig.compat:org.gvsig.compat.lang</packages> |
||
172 | </group>
|
||
173 | <group>
|
||
174 | <title>Java SE implementation</title> |
||
175 | <packages>org.gvsig.compat.se*</packages> |
||
176 | </group>
|
||
177 | </groups>
|
||
178 | </configuration>
|
||
179 | </plugin>
|
||
180 | </plugins>
|
||
181 | </reporting>
|
||
182 | 26741 | cordinyana | </project> |