Statistics
| Revision:

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

History | View | Annotate | Download (8.37 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
        <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
        <url>http://gvsig.org</url>
13
        <parent>
14
                <groupId>org.gvsig</groupId>
15
                <artifactId>gvsig-base-library-pom</artifactId>
16
                <version>2.0-SNAPSHOT</version>
17
        </parent>
18
        <distributionManagement>
19
                <site>
20
                        <id>gvsig-repository</id>
21
                        <url>${site-repository}/</url>
22
                </site>
23
        </distributionManagement>        
24
        <properties>
25
                <andami.lib.dir>${gvsig.install.dir}/lib</andami.lib.dir>
26
                <build-dir>${basedir}/../build</build-dir>
27
        </properties>
28
        <dependencies>
29
                <dependency>
30
                        <groupId>org.gvsig</groupId>
31
                        <artifactId>org.gvsig.i18n</artifactId>
32
                        <version>2.0-SNAPSHOT</version>
33
                </dependency>
34
                <dependency>
35
                        <groupId>org.gvsig</groupId>
36
                        <artifactId>org.gvsig.tools.lib</artifactId>
37
                </dependency>
38
        <dependency>
39
            <groupId>org.gvsig</groupId>
40
            <artifactId>org.gvsig.tools.swing.api</artifactId>
41
        </dependency>
42
        <dependency>
43
            <groupId>org.gvsig</groupId>
44
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
45
            <scope>runtime</scope>
46
        </dependency>
47
        <dependency>
48
            <groupId>org.gvsig</groupId>
49
            <artifactId>org.gvsig.tools.swing.spi</artifactId>
50
        </dependency>
51
        <dependency>
52
            <groupId>org.gvsig</groupId>
53
            <artifactId>org.gvsig.tools.swing.serv.field</artifactId>
54
        </dependency>
55
        <dependency>
56
            <groupId>org.gvsig</groupId>
57
            <artifactId>org.gvsig.tools.swing.serv.jform</artifactId>
58
        </dependency>
59
        <dependency>
60
            <groupId>org.gvsig</groupId>
61
            <artifactId>org.gvsig.tools.swing.serv.jlist</artifactId>
62
        </dependency>
63
                <dependency>
64
                        <groupId>org.gvsig</groupId>
65
                        <artifactId>org.gvsig.utils</artifactId>
66
                        <version>2.0-SNAPSHOT</version>
67
                </dependency>
68
                <dependency>
69
                        <groupId>org.gvsig</groupId>
70
                        <artifactId>org.gvsig.ui</artifactId>
71
                        <version>2.0-SNAPSHOT</version>
72
                </dependency>
73
                <dependency>
74
                        <groupId>jre</groupId>
75
                        <artifactId>javaws</artifactId>
76
                </dependency>
77
                <dependency>
78
                        <groupId>javax.help</groupId>
79
                        <artifactId>javahelp</artifactId>
80
                </dependency>
81
                <dependency>
82
                    <groupId>jwizardcomponent</groupId>
83
                           <artifactId>jwizardcomponent</artifactId>
84
                   </dependency>
85
                <dependency>
86
                        <groupId>com.jgoodies</groupId>
87
                        <artifactId>looks</artifactId>
88
                </dependency>
89
                <dependency>
90
                        <groupId>xerces</groupId>
91
                        <artifactId>xercesImpl</artifactId>
92
                </dependency>                        
93
        </dependencies>
94
        <build>
95
                <sourceDirectory>src</sourceDirectory>
96
                <testSourceDirectory>src-test</testSourceDirectory>
97
                <resources>
98
                        <resource>
99
                                <directory>src</directory>
100
                                <includes>
101
                                        <include>**/*.gif</include>
102
                                        <include>**/*.png</include>
103
                                        <include>**/*.PNG</include>
104
                                        <include> **/*.bmp</include>
105
                                        <include> **/*.jpg</include>
106
                                        <include> **/*.jpeg</include>
107
                                </includes>
108
                        </resource>
109
                        <resource>
110
                    <directory>config</directory>
111
                           <includes>
112
                            <include>**/*.properties</include>
113
                    </includes>
114
                    <targetPath>com/iver/andami</targetPath>
115
                        </resource>
116
            <resource>
117
                <directory>${basedir}/resources</directory>
118
            </resource>
119
                </resources>
120
                <plugins>
121
                        <plugin>
122
                                <artifactId>maven-clean-plugin</artifactId>
123
                                <configuration>
124
                                        <filesets>
125
                                                <fileset>
126
                                                        <directory>${andami.lib.dir}</directory>
127
                                                        <includes>
128
                                                                <include>**/**</include>
129
                                                        </includes>
130
                                                        <followSymlinks>false</followSymlinks>
131
                                                </fileset>
132
                                                <fileset>
133
                                                        <directory>${gvsig.install.dir}/gvSIG/extensiones</directory>
134
                                                        <includes>
135
                                                                <include>**</include>
136
                                                        </includes>
137
                                                </fileset>
138
                                        </filesets>
139
                                </configuration>
140
                        </plugin>
141
                        <plugin>
142
                                <groupId>org.codehaus.mojo</groupId>
143
                                <artifactId>exec-maven-plugin</artifactId>
144
                                <executions>
145
                                        <execution>
146
                                                <goals>
147
                                                        <goal>exec</goal>
148
                                                </goals>
149
                                        </execution>
150
                                </executions>
151
                                <configuration>
152
                                        <executable>java</executable>
153
                                        <arguments>
154
                                                 <argument>-classpath</argument>
155
                                    <!-- automatically creates the classpath using all project dependencies,
156
                                         also adding the project build directory -->
157
                                    <classpath/>                                        
158
                                                <argument>com.iver.andami.Launcher</argument>
159
                                                <argument>gvSIG</argument>
160
                                                <argument>${gvsig.install.dir}/gvSIG/extensiones</argument>
161
                                        </arguments>
162
                                        <environmentVariables>
163
                                                <GDAL_DATA>../binaries/linux/raster/gdal/data</GDAL_DATA>
164
                                                <PROJ_LIB>gvSIG/extensiones/org.gvsig.crs/data</PROJ_LIB>
165
                                                <LD_LIBRARY_PATH>../binaries/linux/</LD_LIBRARY_PATH>
166
                                                <!-- 
167
                                                <JAIHOME>${env.JAIHOME}</JAIHOME>
168
                                                <CLASSPATH>${env.JAIHOME}/jai_core.jar:${env.JAIHOME}/jai_codec.jar:${env.JAIHOME}/mlibwrapper_jai.jar</CLASSPATH>
169
                                                <LD_LIBRARY_PATH>../../binaries/linux/:${env.JAIHOME}</LD_LIBRARY_PATH>
170
                                                 -->
171
                                        </environmentVariables>
172
                                </configuration>
173
                        </plugin>
174
            <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
175
            <plugin>
176
                <groupId>org.apache.maven.plugins</groupId>
177
                <artifactId>maven-surefire-plugin</artifactId>
178
                <configuration>
179
                    <skipTests>true</skipTests>
180
                </configuration>
181
            </plugin>
182
                </plugins>
183
        </build>
184
        <profiles>
185
                <profile>
186
                        <id>install-extension</id>
187
                        <activation>
188
                                <activeByDefault>true</activeByDefault>
189
                                <property>
190
                                        <name>install-extension</name>
191
                                </property>
192
                        </activation>
193
                        <build>
194
                                <plugins>
195
                                        <plugin>
196
                                                <groupId>org.apache.maven.plugins
197
                                                </groupId>
198
                                                <artifactId>maven-dependency-plugin
199
                                                </artifactId>
200
                                                <executions>
201
                                                        <execution>
202
                                                                <id>copy-own-dependencies-for-andami
203
                                                                </id>
204
                                                                <phase>install</phase>
205
                                                                <goals>
206
                                                                        <goal>copy-dependencies</goal>
207
                                                                </goals>
208
                                                                <configuration>
209
                                                                        <outputDirectory>${andami.lib.dir}</outputDirectory>
210
                                                                        <overWriteReleases>true</overWriteReleases>
211
                                                                        <overWriteSnapshots>true</overWriteSnapshots>
212
                                                                        <overWriteIfNewer>true</overWriteIfNewer>
213
                                                                        <includeScope>runtime</includeScope>
214
                                                                </configuration>
215
                                                        </execution>
216
                                                        <!-- This execution was used to copy the javaws.jar 
217
                                                             file, but it is not needed anymore, as a new 
218
                                                             launcher for Java web start has been created  -->
219
                                                        <!-- 
220
                                                        <execution>
221
                                                                <id>copy-system-dependencies-for-andami
222
                                                                </id>
223
                                                                <phase>install</phase>
224
                                                                <goals>
225
                                                                        <goal>copy-dependencies</goal>
226
                                                                </goals>
227
                                                                <configuration>
228
                                                                        <outputDirectory>${andami.lib.dir}</outputDirectory>
229
                                                                        <overWriteReleases>true</overWriteReleases>
230
                                                                        <overWriteSnapshots>true</overWriteSnapshots>
231
                                                                        <overWriteIfNewer>true</overWriteIfNewer>
232
                                                                        <includeScope>system</includeScope>
233
                                                                </configuration>
234
                                                        </execution>
235
                                                         -->
236
                                                        <execution>
237
                                                                <id>copy-andami</id>
238
                                                                <phase>install</phase>
239
                                                                <goals>
240
                                                                        <goal>copy</goal>
241
                                                                </goals>
242
                                                                <configuration>
243
                                                                        <artifactItems>
244
                                                                                <artifactItem>
245
                                                                                        <groupId>org.gvsig</groupId>
246
                                                                                        <artifactId>org.gvsig.andami</artifactId>
247
                                                                                        <version>2.0-SNAPSHOT</version>
248
                                                                                        <type>jar</type>
249
                                                                                        <overWrite>true</overWrite>
250
                                                                                </artifactItem>
251
                                                                        </artifactItems>
252
                                                                        <outputDirectory>${andami.lib.dir}</outputDirectory>
253
                                                                        <overWriteReleases>true</overWriteReleases>
254
                                                                        <overWriteSnapshots>false</overWriteSnapshots>
255
                                                                        <overWriteIfNewer>true</overWriteIfNewer>
256
                                                                        <excludeTransitive>false</excludeTransitive>
257
                                                                </configuration>
258
                                                        </execution>
259
                                                </executions>
260
                                        </plugin>
261
                                </plugins>
262
                        </build>
263
                </profile>
264
        </profiles>
265
</project>