svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.projection.app / org.gvsig.projection.app.cresques / pom.xml @ 40564
History | View | Annotate | Download (8.42 KB)
1 | 40564 | jjdelcerro | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||
3 | <modelVersion>4.0.0</modelVersion> |
||
4 | <artifactId>org.gvsig.projection.app.cresques</artifactId> |
||
5 | <packaging>jar</packaging> |
||
6 | <name>CRS: basic management (Cresques based, java)</name> |
||
7 | <description>Basic CRS management implementation based on the Cresques java library.
|
||
8 | Provides basic management of CRS for a very reduced set of CRS, has features such as: |
||
9 | - Allows setting the coordinate reference system (CRS), by default, in views and layers. |
||
10 | - Supports conversion of coordinates (no datum changing). |
||
11 | - Supports transformation of coordinates (datum changing). |
||
12 | </description>
|
||
13 | <parent>
|
||
14 | <groupId>org.gvsig</groupId> |
||
15 | <artifactId>org.gvsig.projection.app</artifactId> |
||
16 | <version>2.0.14-SNAPSHOT</version> |
||
17 | </parent>
|
||
18 | |||
19 | |||
20 | <repositories>
|
||
21 | <repository>
|
||
22 | <id>osgeo</id> |
||
23 | <name>Open Source Geospatial Foundation</name> |
||
24 | <url>http://download.osgeo.org/webdav/geotools</url> |
||
25 | <releases>
|
||
26 | <enabled>true</enabled> |
||
27 | <updatePolicy>never</updatePolicy> |
||
28 | <checksumPolicy>warn</checksumPolicy> |
||
29 | </releases>
|
||
30 | <snapshots>
|
||
31 | <enabled>false</enabled> |
||
32 | </snapshots>
|
||
33 | </repository>
|
||
34 | </repositories>
|
||
35 | |||
36 | |||
37 | <dependencies>
|
||
38 | <dependency>
|
||
39 | <groupId>javax.units</groupId> |
||
40 | <artifactId>jsr108</artifactId> |
||
41 | <scope>runtime</scope> |
||
42 | </dependency>
|
||
43 | <dependency>
|
||
44 | <groupId>org.gvsig</groupId> |
||
45 | <artifactId>org.gvsig.andami</artifactId> |
||
46 | <scope>provided</scope> |
||
47 | </dependency>
|
||
48 | <dependency>
|
||
49 | <groupId>org.gvsig</groupId> |
||
50 | <artifactId>org.gvsig.i18n</artifactId> |
||
51 | <scope>provided</scope> |
||
52 | </dependency>
|
||
53 | <dependency>
|
||
54 | <groupId>org.slf4j</groupId> |
||
55 | <artifactId>slf4j-api</artifactId> |
||
56 | <scope>provided</scope> |
||
57 | </dependency>
|
||
58 | |||
59 | <dependency>
|
||
60 | <groupId>org.gvsig</groupId> |
||
61 | <artifactId>org.gvsig.projection.cresques.ui</artifactId> |
||
62 | <scope>runtime</scope> |
||
63 | </dependency>
|
||
64 | <dependency>
|
||
65 | <groupId>org.gvsig</groupId> |
||
66 | <artifactId>org.gvsig.projection.api</artifactId> |
||
67 | <scope>runtime</scope> |
||
68 | </dependency>
|
||
69 | <dependency>
|
||
70 | <groupId>org.opengis</groupId> |
||
71 | <artifactId>geoapi</artifactId> |
||
72 | <scope>runtime</scope> |
||
73 | </dependency>
|
||
74 | <dependency>
|
||
75 | <groupId>javax.media</groupId> |
||
76 | <artifactId>jai_core</artifactId> |
||
77 | <scope>runtime</scope> |
||
78 | </dependency>
|
||
79 | <dependency>
|
||
80 | <groupId>javax.media</groupId> |
||
81 | <artifactId>jai_codec</artifactId> |
||
82 | <scope>runtime</scope> |
||
83 | </dependency>
|
||
84 | <dependency>
|
||
85 | <groupId>geojava</groupId> |
||
86 | <artifactId>geojava</artifactId> |
||
87 | <scope>runtime</scope> |
||
88 | </dependency>
|
||
89 | <dependency>
|
||
90 | <groupId>org.geotools</groupId> |
||
91 | <artifactId>gt2-legacy</artifactId> |
||
92 | <scope>runtime</scope> |
||
93 | </dependency>
|
||
94 | <dependency>
|
||
95 | <groupId>org.geotools</groupId> |
||
96 | <artifactId>gt2-main</artifactId> |
||
97 | <scope>runtime</scope> |
||
98 | </dependency>
|
||
99 | <dependency>
|
||
100 | <groupId>org.geotools</groupId> |
||
101 | <artifactId>gt2-referencing</artifactId> |
||
102 | <scope>runtime</scope> |
||
103 | </dependency>
|
||
104 | <dependency>
|
||
105 | <groupId>commons-dbcp</groupId> |
||
106 | <artifactId>commons-dbcp</artifactId> |
||
107 | <scope>runtime</scope> |
||
108 | </dependency>
|
||
109 | <dependency>
|
||
110 | <groupId>commons-collections</groupId> |
||
111 | <artifactId>commons-collections</artifactId> |
||
112 | <scope>runtime</scope> |
||
113 | </dependency>
|
||
114 | <dependency>
|
||
115 | <groupId>org.gvsig</groupId> |
||
116 | <artifactId>org.gvsig.projection.cresques.impl</artifactId> |
||
117 | <scope>runtime</scope> |
||
118 | </dependency>
|
||
119 | |||
120 | </dependencies>
|
||
121 | |||
122 | <properties>
|
||
123 | <gvsig.package.info.codealias>org.gvsig.projection.app.mainplugin</gvsig.package.info.codealias> |
||
124 | <gvsig.package.info.official>true</gvsig.package.info.official> |
||
125 | </properties>
|
||
126 | |||
127 | <profiles>
|
||
128 | <profile>
|
||
129 | <id>gvsig-plugin</id> |
||
130 | <activation>
|
||
131 | <file>
|
||
132 | <exists>buildNumber.properties</exists> |
||
133 | </file>
|
||
134 | </activation>
|
||
135 | <build>
|
||
136 | <plugins>
|
||
137 | |||
138 | <plugin>
|
||
139 | <artifactId>maven-assembly-plugin</artifactId> |
||
140 | <executions>
|
||
141 | <execution>
|
||
142 | <id>gvsig-plugin-package</id> |
||
143 | <phase>package</phase> |
||
144 | <goals>
|
||
145 | <goal>single</goal> |
||
146 | </goals>
|
||
147 | </execution>
|
||
148 | </executions>
|
||
149 | </plugin>
|
||
150 | |||
151 | <plugin>
|
||
152 | <artifactId>maven-clean-plugin</artifactId> |
||
153 | <executions>
|
||
154 | <execution>
|
||
155 | <id>default-clean</id> |
||
156 | <phase>clean</phase> |
||
157 | </execution>
|
||
158 | </executions>
|
||
159 | </plugin>
|
||
160 | |||
161 | <plugin>
|
||
162 | <groupId>org.codehaus.gmaven</groupId> |
||
163 | <artifactId>gmaven-plugin</artifactId> |
||
164 | <executions>
|
||
165 | |||
166 | <execution>
|
||
167 | <id>increase-build-number</id> |
||
168 | <phase>process-sources</phase> |
||
169 | <goals>
|
||
170 | <goal>execute</goal> |
||
171 | </goals>
|
||
172 | </execution>
|
||
173 | |||
174 | <execution>
|
||
175 | <id>build-package-info</id> |
||
176 | <phase>prepare-package</phase> |
||
177 | <goals>
|
||
178 | <goal>execute</goal> |
||
179 | </goals>
|
||
180 | </execution>
|
||
181 | |||
182 | <execution>
|
||
183 | <id>build-package-index</id> |
||
184 | <phase>package</phase> |
||
185 | <goals>
|
||
186 | <goal>execute</goal> |
||
187 | </goals>
|
||
188 | </execution>
|
||
189 | |||
190 | <execution>
|
||
191 | <id>install-plugin</id> |
||
192 | <phase>install</phase> |
||
193 | <goals>
|
||
194 | <goal>execute</goal> |
||
195 | </goals>
|
||
196 | <configuration>
|
||
197 | <source><![CDATA[ |
||
198 | // |
||
199 | // Don't install the gvsig plugin by default in the product/gvSIG/extensiones, |
||
200 | // only install the package in the product/install folder. |
||
201 | // |
||
202 | ant = new AntBuilder() |
||
203 | pkgname = "gvSIG-desktop-" + |
||
204 | project.properties["gvsig.package.info.gvSIGVersion"] + "-" + |
||
205 | project.artifactId + "-" + |
||
206 | project.properties["gvsig.package.info.version"] + "-" + |
||
207 | project.properties["buildNumber"] + "-" + |
||
208 | project.properties["gvsig.package.info.state"] + "-" + |
||
209 | project.properties["gvsig.package.info.operatingSystem"] + "-" + |
||
210 | project.properties["gvsig.package.info.architecture"] + "-" + |
||
211 | project.properties["gvsig.package.info.javaVM"] |
||
212 | |||
213 | source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip" |
||
214 | target = new File(project.properties["gvsig.product.folder.path"] + |
||
215 | "/install/" + |
||
216 | project.artifactId + "/" + |
||
217 | pkgname + ".gvspkg") |
||
218 | target.getParentFile().mkdirs() |
||
219 | |||
220 | log.info("Copy plugin package from " + source + " to " + target) |
||
221 | ant.copy(file:source, tofile:target.getAbsolutePath()) |
||
222 | |||
223 | source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki" |
||
224 | target = project.properties["gvsig.product.folder.path"] + |
||
225 | "/install/" + |
||
226 | project.artifactId + "/" + |
||
227 | pkgname + ".gvspki" |
||
228 | log.info("Copy plugin package index from " + source + " to " + target) |
||
229 | ant.copy(file:source, tofile:target) |
||
230 | |||
231 | ]]></source> |
||
232 | </configuration>
|
||
233 | </execution>
|
||
234 | |||
235 | </executions>
|
||
236 | </plugin>
|
||
237 | |||
238 | </plugins>
|
||
239 | </build>
|
||
240 | </profile>
|
||
241 | </profiles>
|
||
242 | |||
243 | </project>
|