Statistics
| Revision:

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

History | View | Annotate | Download (14.3 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<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
    <modelVersion>4.0.0</modelVersion>
5
    <artifactId>org.gvsig.andami</artifactId>
6
    <packaging>jar</packaging>
7
    <version>2.0.2-SNAPSHOT</version>
8
    <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
        <version>2.0.2-SNAPSHOT</version>
14
    </parent>
15
    
16
    <scm>
17
        <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
    </scm>
21
    
22
    <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
            <groupId>jwizardcomponent</groupId>
128
            <artifactId>jwizardcomponent-0i18n</artifactId>
129
            <scope>compile</scope>
130
        </dependency>
131
        <dependency>
132
            <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
                        <groupId>commons-cli</groupId>
161
                        <artifactId>commons-cli</artifactId>
162
                        <version>1.2</version>
163
                </dependency>
164
                <dependency>
165
             <groupId>commons-io</groupId>
166
             <artifactId>commons-io</artifactId>
167
             <scope>compile</scope>
168
         </dependency>
169
                <dependency>
170
                        <groupId>com.jgoodies</groupId>
171
                        <artifactId>forms</artifactId>
172
                        <scope>runtime</scope>
173
                </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
                        <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
                                        <goals>deploy</goals>
190
                                </configuration>
191
                        </plugin>
192

    
193
            <plugin>
194
                <artifactId>maven-clean-plugin</artifactId>
195
                <configuration>
196
                    <filesets>
197
                        <fileset>
198
                            <directory>${andami.lib.dir}</directory>
199
                            <includes>
200
                                <include>**/**</include>
201
                            </includes>
202
                            <followSymlinks>false</followSymlinks>
203
                        </fileset>
204
                        <fileset>
205
                            <directory>${gvsig.install.dir}/gvSIG/extensiones</directory>
206
                            <includes>
207
                                <include>**</include>
208
                            </includes>
209
                        </fileset>
210
                    </filesets>
211
                </configuration>
212
            </plugin>
213
            <plugin>
214
                <groupId>org.codehaus.mojo</groupId>
215
                <artifactId>exec-maven-plugin</artifactId>
216
                <executions>
217
                    <execution>
218
                        <goals>
219
                            <goal>exec</goal>
220
                        </goals>
221
                    </execution>
222
                </executions>
223
                <configuration>
224
                    <executable>java</executable>
225
                    <arguments>
226
                        <argument>-classpath</argument>
227
                        <!-- automatically creates the classpath using all project 
228
                            dependencies, also adding the project build directory -->
229
                        <classpath />
230
                        <argument>org.gvsig.andami.Launcher</argument>
231
                        <argument>gvSIG</argument>
232
                        <argument>${gvsig.install.dir}/gvSIG/extensiones</argument>
233
                    </arguments>
234
                    <environmentVariables>
235
                        <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
236
                        <PROJ_LIB>gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
237
                        <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
238
                        <PATH>${user.home}/.depman/bin</PATH>
239
                    </environmentVariables>
240
                </configuration>
241
            </plugin>
242
            <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
243
            <plugin>
244
                <groupId>org.apache.maven.plugins</groupId>
245
                <artifactId>maven-surefire-plugin</artifactId>
246
                <configuration>
247
                    <skipTests>true</skipTests>
248
                </configuration>
249
            </plugin>
250
            <plugin>
251
                <groupId>org.apache.maven.plugins</groupId>
252
                <artifactId>maven-jar-plugin</artifactId>
253
                <configuration>
254
                    <archive>
255
                        <manifest>
256
                            <addClasspath>true</addClasspath>
257
                            <mainClass>org.gvsig.andami.Launcher</mainClass>
258
                        </manifest>
259
                    </archive>
260
                </configuration>
261
            </plugin>
262
        </plugins>
263
    </build>
264
    <profiles>
265
        <profile>
266
            <id>install-extension</id>
267
            <activation>
268
                <activeByDefault>true</activeByDefault>
269
                <property>
270
                    <name>install-extension</name>
271
                </property>
272
            </activation>
273
            <build>
274
                <plugins>
275
                    <plugin>
276
                        <groupId>org.apache.maven.plugins
277
                                                </groupId>
278
                        <artifactId>maven-dependency-plugin
279
                                                </artifactId>
280
                        <executions>
281
                            <execution>
282
                                <id>copy-own-dependencies-for-andami
283
                                                                </id>
284
                                <phase>install</phase>
285
                                <goals>
286
                                    <goal>copy-dependencies</goal>
287
                                </goals>
288
                                <configuration>
289
                                    <outputDirectory>${andami.lib.dir}</outputDirectory>
290
                                    <overWriteReleases>true</overWriteReleases>
291
                                    <overWriteSnapshots>true</overWriteSnapshots>
292
                                    <overWriteIfNewer>true</overWriteIfNewer>
293
                                    <includeScope>runtime</includeScope>
294
                                </configuration>
295
                            </execution>
296
                            <execution>
297
                                <id>copy-andami</id>
298
                                <phase>install</phase>
299
                                <goals>
300
                                    <goal>copy</goal>
301
                                </goals>
302
                                <configuration>
303
                                    <artifactItems>
304
                                        <artifactItem>
305
                                            <groupId>org.gvsig</groupId>
306
                                            <artifactId>org.gvsig.andami</artifactId>
307
                                            <version>2.0.2-SNAPSHOT</version>
308
                                            <type>jar</type>
309
                                            <overWrite>true</overWrite>
310
                                        </artifactItem>
311
                                    </artifactItems>
312
                                    <outputDirectory>${andami.lib.dir}</outputDirectory>
313
                                    <overWriteReleases>true</overWriteReleases>
314
                                    <overWriteSnapshots>false</overWriteSnapshots>
315
                                    <overWriteIfNewer>true</overWriteIfNewer>
316
                                    <excludeTransitive>false</excludeTransitive>
317
                                </configuration>
318
                            </execution>
319
                        </executions>
320
                    </plugin>
321
                    <plugin>
322
                        <artifactId>maven-resources-plugin</artifactId>
323
                        <executions>
324
                            <execution>
325
                                <id>copy-theme</id>
326
                                <phase>install</phase>
327
                                <goals>
328
                                    <goal>copy-resources</goal>
329
                                </goals>
330
                                <configuration>
331
                                    <outputDirectory>${gvsig.install.dir}/theme</outputDirectory>
332
                                    <resources>
333
                                        <resource>
334
                                            <directory>theme</directory>
335
                                            <filtering>false</filtering>
336
                                        </resource>
337
                                    </resources>
338
                                </configuration>
339
                            </execution>
340
                        </executions>
341
                    </plugin>
342
                </plugins>
343
            </build>
344
        </profile>
345
    </profiles>
346
</project>