Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_geometries / pom.xml @ 29972

History | View | Annotate | Download (8.02 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/xsd/maven-4.0.0.xsd">
6

    
7
        <modelVersion>4.0.0</modelVersion>
8
        <groupId>org.gvsig</groupId>
9
        <artifactId>org.gvsig.fmap.geometry</artifactId>
10
        <packaging>jar</packaging>
11
        <version>2.0-SNAPSHOT</version>
12
        <name>libFMap_geometries</name>
13
        <url>http://gvsig.org</url>
14
        <parent>
15
                <groupId>org.gvsig</groupId>
16
                <artifactId>gvsig-base-library-pom</artifactId>
17
                <version>2.0-SNAPSHOT</version>
18
        </parent>
19
        <dependencies>
20
                <dependency>
21
                        <groupId>org.gvsig</groupId>
22
                        <artifactId>org.gvsig.tools</artifactId>
23
                        <version>2.0-SNAPSHOT</version>
24
                </dependency>
25

    
26
                <dependency>
27
                        <groupId>org.gvsig.legacy</groupId>
28
                        <artifactId>jts</artifactId>
29
                        <version>gvsig</version>
30
                </dependency>
31
        </dependencies>
32

    
33
        <properties>
34
                <build-dir>${basedir}/../build</build-dir>
35
        </properties>
36

    
37
        <build>
38
                <sourceDirectory>src</sourceDirectory>
39
                <testSourceDirectory>src-test</testSourceDirectory>
40
        </build>
41

    
42

    
43
        <profiles>
44
                <profile>
45
                        <id>se</id>
46
                        <activation>
47
                                <activeByDefault>true</activeByDefault>
48
                        </activation>
49
                        <dependencies>
50
                                <dependency>
51
                                        <groupId>org.gvsig</groupId>
52
                                        <artifactId>org.gvsig.projection</artifactId>
53
                                        <version>2.0-SNAPSHOT</version>
54
                                </dependency>
55
                                <dependency>
56
                                        <groupId>org.gvsig.legacy</groupId>
57
                                        <artifactId>gt2-postgis</artifactId>
58
                                        <version>gvsig</version>
59
                                </dependency>
60
                        </dependencies>
61

    
62
                        <build>
63

    
64
                                <plugins>
65
                                        <plugin>
66
                                                <groupId>org.apache.maven.plugins</groupId>
67
                                                <artifactId>maven-compiler-plugin</artifactId>
68
                                                <configuration>
69
                                                        <source>1.4</source>
70
                                                        <target>1.4</target>
71
                                                </configuration>
72
                                        </plugin>
73
                                        <plugin>
74
                                                <groupId>org.apache.maven.plugins</groupId>
75
                                                <artifactId>maven-jar-plugin</artifactId>
76
                                                <configuration>
77
                                                        <excludes>
78
                                                                <exclude>**/operation/*/*</exclude>
79
                                                                <exclude>**/impl/**</exclude>
80
                                                        </excludes>
81
                                                </configuration>
82
                                                <executions>
83
                                                        <!--
84
                                                                Generates a jar file only with the geometries API TODO: make a
85
                                                                good configuration of excludes and includes, when the api and
86
                                                                implementation of the geometries library would be performed.
87
                                                                <execution> <id>api</id> <phase>package</phase> <goals>
88
                                                                <goal>jar</goal> </goals> <configuration>
89
                                                                <classifier>api</classifier> <excludes>
90
                                                                <exclude>**/operation/*/*</exclude> </excludes> </configuration>
91
                                                                </execution>
92
                                                        -->
93
                                                        <!--
94
                                                                Generates a jar file only with the geometries implementation
95
                                                        -->
96
                                                        <execution>
97
                                                                <id>impl</id>
98
                                                                <phase>package</phase>
99
                                                                <goals>
100
                                                                        <goal>jar</goal>
101
                                                                </goals>
102
                                                                <configuration>
103
                                                                        <classifier>impl</classifier>
104
                                                                        <excludes>
105
                                                                                <exclude>**/operation/impl/**</exclude>
106
                                                                        </excludes>
107
                                                                        <includes>
108
                                                                                <include>**/impl/**</include>
109
                                                                        </includes>
110
                                                                </configuration>
111
                                                        </execution>
112
                                                        <!--
113
                                                                Generates a jar file only with the geometries operations
114
                                                        -->
115
                                                        <execution>
116
                                                                <id>operation</id>
117
                                                                <phase>package</phase>
118
                                                                <goals>
119
                                                                        <goal>jar</goal>
120
                                                                </goals>
121
                                                                <configuration>
122
                                                                        <classifier>operation</classifier>
123
                                                                        <excludes>
124
                                                                                <exclude>NONE</exclude>
125
                                                                        </excludes>
126
                                                                        <includes>
127
                                                                                <include>**/operation/*/*</include>
128
                                                                        </includes>
129
                                                                </configuration>
130
                                                        </execution>
131
                                                </executions>
132
                                        </plugin>
133
                                </plugins>
134
                        </build>
135
                </profile>
136

    
137
                <profile>
138
                        <id>cdc</id>
139
                        <activation>
140
                                <activeByDefault>false</activeByDefault>
141
                        </activation>
142
                        <dependencies>
143
                                <dependency>
144
                                        <groupId>org.gvsig</groupId>
145
                                        <artifactId>org.gvsig.projection</artifactId>
146
                                        <version>2.0-SNAPSHOT</version>
147
                                        
148
                                        
149
                                </dependency>
150
                        </dependencies>
151
                        <build>
152

    
153

    
154

    
155
                                <plugins>
156
                                        <plugin>
157
                                                <groupId>org.apache.maven.plugins</groupId>
158
                                                <artifactId>maven-compiler-plugin</artifactId>
159
                                                <configuration>
160
                                                        <excludes>
161
                                                                <exclude>**/operation/fromwkb/*</exclude>
162
                                                                <exclude>**/operation/impl/*</exclude>
163
                                                        </excludes>
164

    
165
                                                        <testExcludes>
166
                                                                <exclude>**/**</exclude>
167
                                                        </testExcludes>
168

    
169
                                                </configuration>
170
                                        </plugin>
171
                                        <plugin>
172
                                                <groupId>org.apache.maven.plugins</groupId>
173
                                                <artifactId>maven-javadoc-plugin</artifactId>
174
                                        </plugin>
175
                                        <plugin>
176
                                                <groupId>org.apache.maven.plugins</groupId>
177
                                                <artifactId>maven-jar-plugin</artifactId>
178
                                                <configuration>
179

    
180
                                                        <includes>
181
                                                                <include>**/**</include>
182
                                                        </includes>
183
                                                        <excludes>
184
                                                                <exclude>**/operation/distance/*</exclude>
185
                                                                <exclude>**/operation/ensureOrientation/*</exclude>
186
                                                                <exclude>**/operation/flip/*</exclude>
187
                                                                <exclude>**/operation/fromwkb/*</exclude>
188
                                                                <exclude>**/operation/fromwkt/*</exclude>
189
                                                                <exclude>**/operation/impl/*</exclude>
190
                                                                <exclude>**/operation/isCCW/*</exclude>
191
                                                                <exclude>**/operation/relationship/*</exclude>
192
                                                                <exclude>**/operation/tojts/*</exclude>
193
                                                                <exclude>**/operation/towkb/*</exclude>
194
                                                                <exclude>**/operation/towkt/*</exclude>
195
                                                                <exclude>**/operation/utils/*</exclude>
196
                                                                <!--  <exclude>**/impl/**</exclude> -->
197
                                                        </excludes>
198
                                                </configuration>
199
                                                <executions>
200
                                                        <execution>
201
                                                                <id>impl</id>
202
                                                                <phase>package</phase>
203
                                                                <goals>
204
                                                                        <goal>jar</goal>
205
                                                                </goals>
206
                                                                <configuration>
207
                                                                        <classifier>impl</classifier>
208
                                                                        <includes>
209
                                                                                <include>**/impl/**</include>
210
                                                                        </includes>
211
                                                                        <excludes>
212
                                                                                <exclude>**/operation/impl/**</exclude>
213
                                                                        </excludes>
214
                                                                </configuration>
215
                                                        </execution>
216
                                                        
217
                                                        <execution>
218
                                                                <id>operation</id>
219
                                                                <phase>package</phase>
220
                                                                <goals>
221
                                                                        <goal>jar</goal>
222
                                                                </goals>
223
                                                                <configuration>
224
                                                                        <classifier>operation</classifier>
225
                                                                        <includes>
226
                                                                                <include>**/operation/*/*</include>
227
                                                                        </includes>
228
                                                                        <excludes>
229
                                                                                <exclude>**/operation/fromwkb/*</exclude>
230
                                                                        </excludes>
231
                                                                </configuration>
232
                                                        </execution>
233
                                                        
234
                                                </executions>
235
                                        </plugin>
236
                                </plugins>
237
                        </build>
238
                </profile>
239
        </profiles>
240
        <reporting>
241
                <plugins>
242
                        <plugin>
243
                                <groupId>org.apache.maven.plugins</groupId>
244
                                <artifactId>maven-javadoc-plugin</artifactId>
245
                                <reportSets>
246
                                        <reportSet>
247
                                                <id>api</id>
248
                                                <configuration>
249
                                                        <subpackages>org.gvsig.fmap.geom</subpackages>
250
                                                        <excludePackageNames>org.gvsig.fmap.geom.operation:org.gvsig.fmap.geom.impl:org.gvsig.fmap.geom.aggregate.impl:org.gvsig.fmap.geom.primitive.impl:org.gvsig.fmap.geom.type.impl</excludePackageNames>
251
                                                        <name>JavaDoc - API</name>
252
                                                        <destDir>api</destDir>                                                        
253
                                                </configuration>        
254
                                                <reports>
255
                                                        <report>javadoc</report>
256
                                                </reports>                                        
257
                                        </reportSet>
258
                                        <reportSet>
259
                                                <id>operation</id>
260
                                                <configuration>
261
                                                        <subpackages>org.gvsig.fmap.geom.operation</subpackages>
262
                                                        <name>JavaDoc - Geometry operations</name>
263
                                                        <destDir>operation</destDir>                                                        
264
                                                </configuration>
265
                                                <reports>
266
                                                        <report>javadoc</report>
267
                                                </reports>
268
                                        </reportSet>
269
                                        <reportSet>
270
                                                <id>impl</id>
271
                                                <configuration>
272
                                                        <subpackages>org.gvsig.fmap.geom.impl:org.gvsig.fmap.geom.aggregate.impl:org.gvsig.fmap.geom.primitive.impl:org.gvsig.fmap.geom.type.impl</subpackages>
273
                                                        <name>JavaDoc - Default implementation</name>
274
                                                        <destDir>impl</destDir>                                                        
275
                                                </configuration>        
276
                                                <reports>
277
                                                        <report>javadoc</report>
278
                                                </reports>                                        
279
                                        </reportSet>
280
                                </reportSets>
281
                        </plugin>
282
                </plugins>
283
        </reporting>
284
</project>