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