Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / frameworks / _fwAndami / pom.xml @ 39908

History | View | Annotate | Download (14.2 KB)

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