Statistics
| Revision:

root / tags / v2_0_0_Build_2046 / frameworks / _fwAndami / pom.xml @ 38471

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