root / branches / v2_0_0_prep / frameworks / _fwAndami / pom.xml @ 38564
History | View | Annotate | Download (9.61 KB)
1 | 28003 | cordinyana | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | |||
3 | 27339 | cordinyana | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 38564 | jjdelcerro | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 | 28003 | cordinyana | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 38564 | jjdelcerro | <modelVersion>4.0.0</modelVersion> |
7 | <artifactId>org.gvsig.andami</artifactId> |
||
8 | <packaging>jar</packaging> |
||
9 | <version>2.0-SNAPSHOT</version> |
||
10 | <name>_fwAndami</name> |
||
11 | <description>Plugins and extensions management framework</description> |
||
12 | <parent>
|
||
13 | <groupId>org.gvsig</groupId> |
||
14 | <artifactId>gvsig-base-library-pom</artifactId> |
||
15 | <version>2.0-SNAPSHOT</version> |
||
16 | </parent>
|
||
17 | <properties>
|
||
18 | <andami.lib.dir>${gvsig.install.dir}/lib</andami.lib.dir> |
||
19 | <build-dir>${basedir}/../build</build-dir> |
||
20 | <eclipse.project.name>_fwAndami</eclipse.project.name> |
||
21 | </properties>
|
||
22 | <dependencies>
|
||
23 | <dependency>
|
||
24 | <groupId>org.slf4j</groupId> |
||
25 | <artifactId>slf4j-api</artifactId> |
||
26 | <scope>compile</scope> |
||
27 | </dependency>
|
||
28 | <dependency>
|
||
29 | <groupId>org.slf4j</groupId> |
||
30 | <artifactId>slf4j-log4j12</artifactId> |
||
31 | <scope>runtime</scope> |
||
32 | </dependency>
|
||
33 | <dependency>
|
||
34 | <groupId>log4j</groupId> |
||
35 | <artifactId>log4j</artifactId> |
||
36 | <!-- TODO: Change to runtime when everything becomes fully migrated to
|
||
37 | SLF4J -->
|
||
38 | <scope>compile</scope> |
||
39 | </dependency>
|
||
40 | <dependency>
|
||
41 | <groupId>org.gvsig</groupId> |
||
42 | <artifactId>org.gvsig.tools.lib</artifactId> |
||
43 | <scope>compile</scope> |
||
44 | </dependency>
|
||
45 | <dependency>
|
||
46 | <groupId>org.gvsig</groupId> |
||
47 | <artifactId>org.gvsig.i18n</artifactId> |
||
48 | <scope>compile</scope> |
||
49 | </dependency>
|
||
50 | <dependency>
|
||
51 | <groupId>org.gvsig</groupId> |
||
52 | <artifactId>org.gvsig.tools.swing.api</artifactId> |
||
53 | <scope>compile</scope> |
||
54 | </dependency>
|
||
55 | <dependency>
|
||
56 | <groupId>org.gvsig</groupId> |
||
57 | <artifactId>org.gvsig.tools.swing.impl</artifactId> |
||
58 | </dependency>
|
||
59 | <dependency>
|
||
60 | <groupId>org.gvsig</groupId> |
||
61 | <artifactId>org.gvsig.tools.swing.spi</artifactId> |
||
62 | </dependency>
|
||
63 | <dependency>
|
||
64 | <groupId>org.gvsig</groupId> |
||
65 | <artifactId>org.gvsig.tools.swing.serv.field</artifactId> |
||
66 | </dependency>
|
||
67 | <dependency>
|
||
68 | <groupId>org.gvsig</groupId> |
||
69 | <artifactId>org.gvsig.tools.swing.serv.jform</artifactId> |
||
70 | </dependency>
|
||
71 | <dependency>
|
||
72 | <groupId>org.gvsig</groupId> |
||
73 | <artifactId>org.gvsig.tools.swing.serv.jlist</artifactId> |
||
74 | </dependency>
|
||
75 | <dependency>
|
||
76 | <groupId>org.gvsig</groupId> |
||
77 | <artifactId>org.gvsig.utils</artifactId> |
||
78 | <scope>compile</scope> |
||
79 | </dependency>
|
||
80 | <dependency>
|
||
81 | <groupId>org.gvsig</groupId> |
||
82 | <artifactId>org.gvsig.ui</artifactId> |
||
83 | <scope>compile</scope> |
||
84 | </dependency>
|
||
85 | <dependency>
|
||
86 | <groupId>org.gvsig</groupId> |
||
87 | <artifactId>org.gvsig.installer.lib.api</artifactId> |
||
88 | <scope>compile</scope> |
||
89 | </dependency>
|
||
90 | <dependency>
|
||
91 | <groupId>org.gvsig</groupId> |
||
92 | <artifactId>org.gvsig.installer.lib.impl</artifactId> |
||
93 | </dependency>
|
||
94 | <dependency>
|
||
95 | <groupId>org.gvsig</groupId> |
||
96 | <artifactId>org.gvsig.installer.lib.spi</artifactId> |
||
97 | </dependency>
|
||
98 | <dependency>
|
||
99 | <groupId>org.gvsig</groupId> |
||
100 | <artifactId>org.gvsig.installer.prov.plugin</artifactId> |
||
101 | </dependency>
|
||
102 | <dependency>
|
||
103 | <groupId>org.gvsig</groupId> |
||
104 | <artifactId>org.gvsig.installer.swing.api</artifactId> |
||
105 | <scope>compile</scope> |
||
106 | </dependency>
|
||
107 | <dependency>
|
||
108 | <groupId>org.gvsig</groupId> |
||
109 | <artifactId>org.gvsig.installer.swing.impl</artifactId> |
||
110 | </dependency>
|
||
111 | <dependency>
|
||
112 | <groupId>javax.help</groupId> |
||
113 | <artifactId>javahelp</artifactId> |
||
114 | <scope>compile</scope> |
||
115 | </dependency>
|
||
116 | <dependency>
|
||
117 | <groupId>jwizardcomponent</groupId> |
||
118 | <artifactId>jwizardcomponent</artifactId> |
||
119 | <scope>compile</scope> |
||
120 | </dependency>
|
||
121 | <dependency>
|
||
122 | <groupId>com.jgoodies</groupId> |
||
123 | <artifactId>looks</artifactId> |
||
124 | </dependency>
|
||
125 | <dependency>
|
||
126 | <groupId>xerces</groupId> |
||
127 | <artifactId>xercesImpl</artifactId> |
||
128 | </dependency>
|
||
129 | <dependency>
|
||
130 | <groupId>castor</groupId> |
||
131 | <artifactId>castor</artifactId> |
||
132 | <scope>compile</scope> |
||
133 | </dependency>
|
||
134 | <dependency>
|
||
135 | <groupId>net.sf.kxml</groupId> |
||
136 | <artifactId>kxml2</artifactId> |
||
137 | <scope>compile</scope> |
||
138 | </dependency>
|
||
139 | <dependency>
|
||
140 | <groupId>com.sardak</groupId> |
||
141 | <artifactId>antform</artifactId> |
||
142 | <scope>runtime</scope> |
||
143 | </dependency>
|
||
144 | <dependency>
|
||
145 | <groupId>ant-contrib</groupId> |
||
146 | <artifactId>ant-contrib</artifactId> |
||
147 | <scope>runtime</scope> |
||
148 | </dependency>
|
||
149 | <dependency>
|
||
150 | 37498 | fdiaz | <groupId>commons-cli</groupId> |
151 | <artifactId>commons-cli</artifactId> |
||
152 | <version>1.2</version> |
||
153 | </dependency>
|
||
154 | 38564 | jjdelcerro | <dependency>
|
155 | <groupId>org.apache.directory.studio</groupId> |
||
156 | <artifactId>org.apache.commons.io</artifactId> |
||
157 | <version>2.4</version> |
||
158 | <scope>compile</scope> |
||
159 | </dependency>
|
||
160 | <dependency>
|
||
161 | <groupId>com.jgoodies</groupId> |
||
162 | <artifactId>forms</artifactId> |
||
163 | <version>1.0.4</version> |
||
164 | <scope>runtime</scope> |
||
165 | </dependency>
|
||
166 | </dependencies>
|
||
167 | <build>
|
||
168 | <sourceDirectory>src</sourceDirectory> |
||
169 | <testSourceDirectory>src-test</testSourceDirectory> |
||
170 | <resources>
|
||
171 | <resource>
|
||
172 | <directory>${basedir}/resources</directory> |
||
173 | </resource>
|
||
174 | </resources>
|
||
175 | <plugins>
|
||
176 | <plugin>
|
||
177 | <artifactId>maven-clean-plugin</artifactId> |
||
178 | <configuration>
|
||
179 | <filesets>
|
||
180 | <fileset>
|
||
181 | <directory>${andami.lib.dir}</directory> |
||
182 | <includes>
|
||
183 | <include>**/**</include> |
||
184 | </includes>
|
||
185 | <followSymlinks>false</followSymlinks> |
||
186 | </fileset>
|
||
187 | <fileset>
|
||
188 | <directory>${gvsig.install.dir}/gvSIG/extensiones</directory> |
||
189 | <includes>
|
||
190 | <include>**</include> |
||
191 | </includes>
|
||
192 | </fileset>
|
||
193 | </filesets>
|
||
194 | </configuration>
|
||
195 | </plugin>
|
||
196 | <plugin>
|
||
197 | <groupId>org.codehaus.mojo</groupId> |
||
198 | <artifactId>exec-maven-plugin</artifactId> |
||
199 | <executions>
|
||
200 | <execution>
|
||
201 | <goals>
|
||
202 | <goal>exec</goal> |
||
203 | </goals>
|
||
204 | </execution>
|
||
205 | </executions>
|
||
206 | <configuration>
|
||
207 | <executable>java</executable> |
||
208 | <arguments>
|
||
209 | <argument>-classpath</argument> |
||
210 | <!-- automatically creates the classpath using all project dependencies,
|
||
211 | also adding the project build directory -->
|
||
212 | <classpath /> |
||
213 | <argument>org.gvsig.andami.Launcher</argument> |
||
214 | <argument>gvSIG</argument> |
||
215 | <argument>${gvsig.install.dir}/gvSIG/extensiones</argument> |
||
216 | </arguments>
|
||
217 | <environmentVariables>
|
||
218 | <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA> |
||
219 | <PROJ_LIB>gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB> |
||
220 | <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH> |
||
221 | <PATH>${user.home}/.depman/bin</PATH> |
||
222 | </environmentVariables>
|
||
223 | </configuration>
|
||
224 | </plugin>
|
||
225 | <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
|
||
226 | <plugin>
|
||
227 | <groupId>org.apache.maven.plugins</groupId> |
||
228 | <artifactId>maven-surefire-plugin</artifactId> |
||
229 | <configuration>
|
||
230 | <skipTests>true</skipTests> |
||
231 | </configuration>
|
||
232 | </plugin>
|
||
233 | <plugin>
|
||
234 | <groupId>org.apache.maven.plugins</groupId> |
||
235 | <artifactId>maven-jar-plugin</artifactId> |
||
236 | <configuration>
|
||
237 | <archive>
|
||
238 | <manifest>
|
||
239 | <addClasspath>true</addClasspath> |
||
240 | <mainClass>org.gvsig.andami.Launcher</mainClass> |
||
241 | </manifest>
|
||
242 | </archive>
|
||
243 | </configuration>
|
||
244 | </plugin>
|
||
245 | </plugins>
|
||
246 | </build>
|
||
247 | <profiles>
|
||
248 | <profile>
|
||
249 | <id>install-extension</id> |
||
250 | <activation>
|
||
251 | <activeByDefault>true</activeByDefault> |
||
252 | <property>
|
||
253 | <name>install-extension</name> |
||
254 | </property>
|
||
255 | </activation>
|
||
256 | <build>
|
||
257 | <plugins>
|
||
258 | <plugin>
|
||
259 | <groupId>org.apache.maven.plugins
|
||
260 | 27339 | cordinyana | </groupId>
|
261 | 38564 | jjdelcerro | <artifactId>maven-dependency-plugin
|
262 | 27339 | cordinyana | </artifactId>
|
263 | 38564 | jjdelcerro | <executions>
|
264 | <execution>
|
||
265 | <id>copy-own-dependencies-for-andami
|
||
266 | 27339 | cordinyana | </id>
|
267 | 38564 | jjdelcerro | <phase>install</phase> |
268 | <goals>
|
||
269 | <goal>copy-dependencies</goal> |
||
270 | </goals>
|
||
271 | <configuration>
|
||
272 | <outputDirectory>${andami.lib.dir}</outputDirectory> |
||
273 | <overWriteReleases>true</overWriteReleases> |
||
274 | <overWriteSnapshots>true</overWriteSnapshots> |
||
275 | <overWriteIfNewer>true</overWriteIfNewer> |
||
276 | <includeScope>runtime</includeScope> |
||
277 | </configuration>
|
||
278 | </execution>
|
||
279 | <execution>
|
||
280 | <id>copy-andami</id> |
||
281 | <phase>install</phase> |
||
282 | <goals>
|
||
283 | <goal>copy</goal> |
||
284 | </goals>
|
||
285 | <configuration>
|
||
286 | <artifactItems>
|
||
287 | <artifactItem>
|
||
288 | <groupId>org.gvsig</groupId> |
||
289 | <artifactId>org.gvsig.andami</artifactId> |
||
290 | <version>2.0-SNAPSHOT</version> |
||
291 | <type>jar</type> |
||
292 | <overWrite>true</overWrite> |
||
293 | </artifactItem>
|
||
294 | </artifactItems>
|
||
295 | <outputDirectory>${andami.lib.dir}</outputDirectory> |
||
296 | <overWriteReleases>true</overWriteReleases> |
||
297 | <overWriteSnapshots>false</overWriteSnapshots> |
||
298 | <overWriteIfNewer>true</overWriteIfNewer> |
||
299 | <excludeTransitive>false</excludeTransitive> |
||
300 | </configuration>
|
||
301 | </execution>
|
||
302 | </executions>
|
||
303 | </plugin>
|
||
304 | <plugin>
|
||
305 | <artifactId>maven-resources-plugin</artifactId> |
||
306 | <executions>
|
||
307 | <execution>
|
||
308 | <id>copy-theme</id> |
||
309 | <phase>install</phase> |
||
310 | <goals>
|
||
311 | <goal>copy-resources</goal> |
||
312 | </goals>
|
||
313 | <configuration>
|
||
314 | <outputDirectory>${gvsig.install.dir}/theme</outputDirectory> |
||
315 | <resources>
|
||
316 | <resource>
|
||
317 | <directory>theme</directory> |
||
318 | <filtering>false</filtering> |
||
319 | </resource>
|
||
320 | </resources>
|
||
321 | </configuration>
|
||
322 | </execution>
|
||
323 | </executions>
|
||
324 | </plugin>
|
||
325 | </plugins>
|
||
326 | </build>
|
||
327 | </profile>
|
||
328 | </profiles>
|
||
329 | 31609 | cordinyana | </project> |