root / branches / v2_0_0_prep / frameworks / _fwAndami / pom.xml @ 39408
History | View | Annotate | Download (13.4 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 | 38577 | cordinyana | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 | 28003 | cordinyana | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 38577 | cordinyana | <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 | 38577 | cordinyana | <groupId>commons-io</groupId> |
156 | <artifactId>commons-io</artifactId> |
||
157 | <scope>compile</scope> |
||
158 | </dependency>
|
||
159 | 38564 | jjdelcerro | <dependency>
|
160 | <groupId>com.jgoodies</groupId> |
||
161 | <artifactId>forms</artifactId> |
||
162 | <scope>runtime</scope> |
||
163 | 38577 | cordinyana | </dependency>
|
164 | </dependencies>
|
||
165 | <build>
|
||
166 | <sourceDirectory>src</sourceDirectory> |
||
167 | <testSourceDirectory>src-test</testSourceDirectory> |
||
168 | <resources>
|
||
169 | <resource>
|
||
170 | <directory>${basedir}/resources</directory> |
||
171 | </resource>
|
||
172 | </resources>
|
||
173 | <plugins>
|
||
174 | <plugin>
|
||
175 | <artifactId>maven-clean-plugin</artifactId> |
||
176 | <configuration>
|
||
177 | <filesets>
|
||
178 | <fileset>
|
||
179 | <directory>${andami.lib.dir}</directory> |
||
180 | <includes>
|
||
181 | <include>**/**</include> |
||
182 | </includes>
|
||
183 | <followSymlinks>false</followSymlinks> |
||
184 | </fileset>
|
||
185 | <fileset>
|
||
186 | <directory>${gvsig.install.dir}/gvSIG/extensiones</directory> |
||
187 | <includes>
|
||
188 | <include>**</include> |
||
189 | </includes>
|
||
190 | </fileset>
|
||
191 | </filesets>
|
||
192 | </configuration>
|
||
193 | </plugin>
|
||
194 | <plugin>
|
||
195 | <groupId>org.codehaus.mojo</groupId> |
||
196 | <artifactId>exec-maven-plugin</artifactId> |
||
197 | <executions>
|
||
198 | <execution>
|
||
199 | <goals>
|
||
200 | <goal>exec</goal> |
||
201 | </goals>
|
||
202 | </execution>
|
||
203 | </executions>
|
||
204 | <configuration>
|
||
205 | <executable>java</executable> |
||
206 | <arguments>
|
||
207 | <argument>-classpath</argument> |
||
208 | <!-- automatically creates the classpath using all project
|
||
209 | dependencies, also adding the project build directory -->
|
||
210 | <classpath /> |
||
211 | <argument>org.gvsig.andami.Launcher</argument> |
||
212 | <argument>gvSIG</argument> |
||
213 | <argument>${gvsig.install.dir}/gvSIG/extensiones</argument> |
||
214 | </arguments>
|
||
215 | <environmentVariables>
|
||
216 | <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA> |
||
217 | <PROJ_LIB>gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB> |
||
218 | <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH> |
||
219 | <PATH>${user.home}/.depman/bin</PATH> |
||
220 | </environmentVariables>
|
||
221 | </configuration>
|
||
222 | </plugin>
|
||
223 | <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
|
||
224 | <plugin>
|
||
225 | <groupId>org.apache.maven.plugins</groupId> |
||
226 | <artifactId>maven-surefire-plugin</artifactId> |
||
227 | <configuration>
|
||
228 | <skipTests>true</skipTests> |
||
229 | </configuration>
|
||
230 | </plugin>
|
||
231 | <plugin>
|
||
232 | <groupId>org.apache.maven.plugins</groupId> |
||
233 | <artifactId>maven-jar-plugin</artifactId> |
||
234 | <configuration>
|
||
235 | <archive>
|
||
236 | <manifest>
|
||
237 | <addClasspath>true</addClasspath> |
||
238 | <mainClass>org.gvsig.andami.Launcher</mainClass> |
||
239 | </manifest>
|
||
240 | </archive>
|
||
241 | </configuration>
|
||
242 | </plugin>
|
||
243 | </plugins>
|
||
244 | </build>
|
||
245 | <profiles>
|
||
246 | <profile>
|
||
247 | <id>install-extension</id> |
||
248 | <activation>
|
||
249 | <activeByDefault>true</activeByDefault> |
||
250 | <property>
|
||
251 | <name>install-extension</name> |
||
252 | </property>
|
||
253 | </activation>
|
||
254 | <build>
|
||
255 | <plugins>
|
||
256 | <plugin>
|
||
257 | <groupId>org.apache.maven.plugins
|
||
258 | 27339 | cordinyana | </groupId>
|
259 | 38577 | cordinyana | <artifactId>maven-dependency-plugin
|
260 | 27339 | cordinyana | </artifactId>
|
261 | 38577 | cordinyana | <executions>
|
262 | <execution>
|
||
263 | <id>copy-own-dependencies-for-andami
|
||
264 | 27339 | cordinyana | </id>
|
265 | 38577 | cordinyana | <phase>install</phase> |
266 | <goals>
|
||
267 | <goal>copy-dependencies</goal> |
||
268 | </goals>
|
||
269 | <configuration>
|
||
270 | <outputDirectory>${andami.lib.dir}</outputDirectory> |
||
271 | <overWriteReleases>true</overWriteReleases> |
||
272 | <overWriteSnapshots>true</overWriteSnapshots> |
||
273 | <overWriteIfNewer>true</overWriteIfNewer> |
||
274 | <includeScope>runtime</includeScope> |
||
275 | </configuration>
|
||
276 | </execution>
|
||
277 | <execution>
|
||
278 | <id>copy-andami</id> |
||
279 | <phase>install</phase> |
||
280 | <goals>
|
||
281 | <goal>copy</goal> |
||
282 | </goals>
|
||
283 | <configuration>
|
||
284 | <artifactItems>
|
||
285 | <artifactItem>
|
||
286 | <groupId>org.gvsig</groupId> |
||
287 | <artifactId>org.gvsig.andami</artifactId> |
||
288 | <version>2.0-SNAPSHOT</version> |
||
289 | <type>jar</type> |
||
290 | <overWrite>true</overWrite> |
||
291 | </artifactItem>
|
||
292 | </artifactItems>
|
||
293 | <outputDirectory>${andami.lib.dir}</outputDirectory> |
||
294 | <overWriteReleases>true</overWriteReleases> |
||
295 | <overWriteSnapshots>false</overWriteSnapshots> |
||
296 | <overWriteIfNewer>true</overWriteIfNewer> |
||
297 | <excludeTransitive>false</excludeTransitive> |
||
298 | </configuration>
|
||
299 | </execution>
|
||
300 | </executions>
|
||
301 | </plugin>
|
||
302 | <plugin>
|
||
303 | <artifactId>maven-resources-plugin</artifactId> |
||
304 | <executions>
|
||
305 | <execution>
|
||
306 | <id>copy-theme</id> |
||
307 | <phase>install</phase> |
||
308 | <goals>
|
||
309 | <goal>copy-resources</goal> |
||
310 | </goals>
|
||
311 | <configuration>
|
||
312 | <outputDirectory>${gvsig.install.dir}/theme</outputDirectory> |
||
313 | <resources>
|
||
314 | <resource>
|
||
315 | <directory>theme</directory> |
||
316 | <filtering>false</filtering> |
||
317 | </resource>
|
||
318 | </resources>
|
||
319 | </configuration>
|
||
320 | </execution>
|
||
321 | </executions>
|
||
322 | </plugin>
|
||
323 | </plugins>
|
||
324 | </build>
|
||
325 | </profile>
|
||
326 | </profiles>
|
||
327 | 31609 | cordinyana | </project> |