Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libProjection / pom.xml @ 28554

History | View | Annotate | Download (6.72 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
        <modelVersion>4.0.0</modelVersion>
7
        <groupId>org.gvsig</groupId>
8
        <artifactId>org.gvsig.projection</artifactId>
9
        <packaging>jar</packaging>
10
        <version>2.0-SNAPSHOT</version>
11
        <name>libProjection</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

    
19
        <dependencies>
20
                <dependency>
21
                        <groupId>org.gvsig</groupId>
22
                        <artifactId>org.gvsig.i18n</artifactId>
23
                        <version>2.0-SNAPSHOT</version>
24
                </dependency>
25
                <dependency>
26
                        <groupId>org.gvsig</groupId>
27
                        <artifactId>org.gvsig.tools</artifactId>
28
                        <version>2.0-SNAPSHOT</version>
29
                </dependency>
30
        </dependencies>
31
        
32
          <build>
33
                <sourceDirectory>src</sourceDirectory>
34
                <testSourceDirectory>src-test</testSourceDirectory>
35
          </build>        
36
        
37
          <profiles>
38
                <profile>
39
                  <id>se</id>
40
                  <activation>
41
                    <activeByDefault>true</activeByDefault>
42
                  </activation>
43
                  
44
                        <dependencies>        
45
        
46
        
47
                                <dependency>
48
                                        <groupId>org.gvsig.legacy</groupId>
49
                                        <artifactId>geoapi</artifactId>
50
                                        <version>gvsig</version>
51
                                </dependency>
52
                                <dependency>
53
                                        <groupId>org.gvsig.legacy</groupId>
54
                                        <artifactId>gt2-legacy</artifactId>
55
                                        <version>gvsig</version>
56
                                </dependency>
57
                                <dependency>
58
                                        <groupId>org.gvsig.legacy</groupId>
59
                                        <artifactId>gt2-main</artifactId>
60
                                        <version>gvsig</version>
61
                                </dependency>
62
                                <dependency>
63
                                        <groupId>org.gvsig.legacy</groupId>
64
                                        <artifactId>geojava</artifactId>
65
                                        <version>gvsig</version>
66
                                </dependency>
67
                                <dependency>
68
                                        <groupId>org.gvsig.legacy</groupId>
69
                                        <artifactId>vecmath</artifactId>
70
                                        <version>gvsig</version>
71
                                </dependency>
72
                                <dependency>
73
                                        <groupId>javax.media</groupId>
74
                                        <artifactId>jai_core</artifactId>
75
                                        <version>1.1.3</version>
76
                                </dependency>
77
                                <dependency>
78
                                        <groupId>javax.media</groupId>
79
                                        <artifactId>jai_codec</artifactId>
80
                                        <version>1.1.3</version>
81
                                </dependency>
82
                                <dependency>
83
                                        <groupId>org.gvsig.legacy</groupId>
84
                                        <artifactId>units</artifactId>
85
                                        <version>gvsig</version>
86
                                </dependency>
87

    
88
                        </dependencies>
89
                        <build>
90
                                <resources>
91
                                    <resource>
92
                                                <directory>config</directory>
93
                                        </resource>
94
                                        <resource>
95
                                                <directory>images</directory>
96
                                        </resource>
97
                                </resources>
98
                                
99
                                <plugins>
100
                                        <plugin>
101
                                                <groupId>org.apache.maven.plugins</groupId>
102
                                                <artifactId>maven-compiler-plugin</artifactId>
103
                                                <configuration>
104
                                                        <source>1.4</source>
105
                                                        <target>1.4</target>
106
                                                        <!-- put your configurations here -->
107
                                                        <encoding>ISO-8859-1</encoding>
108
                                                </configuration>
109
                                        </plugin>
110
                                        <plugin>
111
                                                <groupId>org.apache.maven.plugins</groupId>
112
                                                <artifactId>maven-jar-plugin</artifactId>
113
                                                <configuration>
114
                                                        <excludes>
115
                                                                <exclude>**/org/cresques/impl/**</exclude>
116
                                                                <exclude>**/org/cresques/ui/**</exclude>
117
                                                                <exclude>**/org/cresques/resources/**</exclude>
118
                                                                <exclude>*.gif</exclude>
119
                                                        </excludes>
120
                                                </configuration>
121
                                                <executions>
122
                                                <!--         <execution>
123
                                                                <id>projection-api</id>
124
                                                                <phase>package</phase>
125
                                                                <goals>
126
                                                                        <goal>jar</goal>
127
                                                                </goals>
128
                                                                <configuration>
129
                                                                        <classifier>projection-api</classifier>
130
                                                                        <excludes>
131
                                                                                <exclude>**/org/cresques/impl/**</exclude>
132
                                                                                <exclude>**/org/cresques/ui/**</exclude>
133
                                                                                <exclude>**/org/cresques/resources/**</exclude>
134
                                                                                <exclude>*.gif</exclude>
135
                                                                        </excludes>
136
                                                                </configuration>
137
                                                        </execution> -->
138
                                                        <execution>
139
                                                                <id>cresques-ui</id>
140
                                                                <phase>package</phase>
141
                                                                <goals>
142
                                                                        <goal>jar</goal>
143
                                                                </goals>
144
                                                                <configuration>
145
                                                                        <classifier>cresques-ui</classifier>
146
                                                                        <excludes>
147
                                                                                <exclude>NONE</exclude>
148
                                                                        </excludes>
149
                                                                        <includes>
150
                                                                                <include>**/org/cresques/ui/**</include>
151
                                                                                <include>**/org/cresques/resources/**</include>
152
                                                                                <include>*.gif</include>
153
                                                                        </includes>
154
                                                                <!--        <finalName>org.cresques.ui</finalName>  -->
155
                                                                </configuration>
156
                                                        </execution>
157
                                                        <execution>
158
                                                                <id>cresques-cts-impl</id>
159
                                                                <phase>package</phase>
160
                                                                <goals>
161
                                                                        <goal>jar</goal>
162
                                                                </goals>
163
                                                                <configuration>
164
                                                                        <classifier>cresques-impl</classifier>
165
                                                                        <excludes>
166
                                                                                <exclude>**/org/cresques/resources/**</exclude>
167
                                                                                <exclude>*.gif</exclude>
168
                                                                        </excludes>
169
                                                                        <includes>
170
                                                                                <include>**/org/cresques/impl/**</include>
171
                                                                        </includes>
172
                                                                <!-- <finalName>org.cresques.cts</finalName> -->
173
                                                                </configuration>
174
                                                        </execution>
175
                                                </executions>
176

    
177
                                        </plugin>
178

    
179
                                </plugins>
180
                        </build>
181
                </profile>
182
                
183
                <profile>
184
              <id>cdc</id>
185
                  <activation>
186
                    <activeByDefault>false</activeByDefault>
187
                  </activation>
188
                  
189
                  <build>
190
                                <plugins>
191
                                        <plugin>
192
                                                <groupId>org.apache.maven.plugins</groupId>
193
                                                <artifactId>maven-compiler-plugin</artifactId>
194
                                                <configuration>
195
                                                        <excludes>
196
                                                                <exclude>**/org/cresques/impl/**</exclude>
197
                                                                <exclude>**/org/cresques/ui/**</exclude>
198
                                                        </excludes>
199
                                                        <testExcludes>
200
                                                                <exclude>**/org/cresques/impl/**</exclude>
201
                                                                <exclude>**/org/cresques/ui/**</exclude>
202
                                                        </testExcludes>
203
                                                </configuration>
204
                                        </plugin>
205
                                      <plugin>
206
                                                <groupId>org.apache.maven.plugins</groupId>
207
                                                <artifactId>maven-jar-plugin</artifactId>
208
                                                <configuration>
209
                                                        <excludes>
210
                                                                <exclude>**/org/cresques/impl/**</exclude>
211
                                                                <exclude>**/org/cresques/ui/**</exclude>
212
                                                        </excludes>
213
                                                </configuration>
214
                                        </plugin>
215
                                </plugins>
216
                        </build>
217
                  
218
                </profile>
219
        </profiles>
220
        
221
        <reporting>
222
                <plugins>
223
                        <plugin>
224
                                <groupId>org.apache.maven.plugins</groupId>
225
                                <artifactId>maven-javadoc-plugin</artifactId>
226
                                <configuration>
227
                                        <doctitle>${project.name} ${project.version}</doctitle>
228
                                        <groups>
229
                                                <group>
230
                                                        <title>API</title>
231
                                                        <packages>org.*</packages>
232
                                                </group>
233
                                                <group>
234
                                                        <title>User interface</title>
235
                                                        <packages>org.cresques.ui*</packages>
236
                                                </group>
237
                                                <group>
238
                                                        <title>Cresques implementation</title>
239
                                                        <packages>org.cresques.impl*</packages>
240
                                                </group>
241
                                        </groups>
242
                                </configuration>
243
                        </plugin>
244
                </plugins>
245
        </reporting>
246
        
247
</project>