svn-gvsig-desktop / branches / v2_0_0_prep / extensions / ext3Dgui / pom.xml @ 29314
History | View | Annotate | Download (6.47 KB)
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|---|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 |
<modelVersion>4.0.0</modelVersion> |
4 |
<groupId>org.gvsig</groupId> |
5 |
<artifactId>ext3Dgui</artifactId> |
6 |
<packaging>jar</packaging> |
7 |
<version>2.0-SNAPSHOT</version> |
8 |
<name>ext3Dgui</name> |
9 |
<url>http://gvsig.org</url> |
10 |
<description> This is the extension that contains all the GUI part for
|
11 |
the 3D extension of GvSIG</description>
|
12 |
<parent>
|
13 |
<groupId>org.gvsig</groupId> |
14 |
<artifactId>gvsig-extension-base-pom
|
15 |
</artifactId>
|
16 |
<version>2.0-SNAPSHOT</version> |
17 |
</parent>
|
18 |
<dependencies>
|
19 |
<dependency>
|
20 |
<groupId>org.gvsig</groupId> |
21 |
<artifactId>lib3DMap</artifactId> |
22 |
<version>2.0-SNAPSHOT</version> |
23 |
</dependency>
|
24 |
<dependency>
|
25 |
<groupId>org.gvsig</groupId> |
26 |
<artifactId>com.iver.core</artifactId> |
27 |
<version>2.0-SNAPSHOT</version> |
28 |
</dependency>
|
29 |
<dependency>
|
30 |
<groupId>org.gvsig.legacy</groupId> |
31 |
<artifactId>JimiProClasses</artifactId> |
32 |
<version>gvsig</version> |
33 |
</dependency>
|
34 |
</dependencies>
|
35 |
|
36 |
<properties>
|
37 |
|
38 |
<extension-appgvsig-lib-dir> ${extension-dir}/com.iver.cit.gvsig/lib/
|
39 |
</extension-appgvsig-lib-dir>
|
40 |
<build-dir>${basedir}/../build</build-dir> |
41 |
<extension-distribution> gvSIG/extensiones/org.gvsig.ext3Dgui/
|
42 |
</extension-distribution>
|
43 |
<gvsig-extension-distribution> gvSIG/extensiones/com.iver.cit.gvsig/
|
44 |
</gvsig-extension-distribution>
|
45 |
<version>1.0</version> |
46 |
<bversion>1</bversion> |
47 |
|
48 |
<!-- Path to the descriptor for win32 -->
|
49 |
<distribution-win32-descriptor>
|
50 |
/distribution/win-distribution/distribution-win32.xml |
51 |
</distribution-win32-descriptor>
|
52 |
<!-- Path to the descriptor for win32 sources -->
|
53 |
<distribution-win32-descriptor-source></distribution-win32-descriptor-source> |
54 |
|
55 |
<!-- Path to the descriptor for linux32 -->
|
56 |
<distribution-linux32-descriptor>
|
57 |
/distribution/linux-distribution/distribution-linux.xml |
58 |
</distribution-linux32-descriptor>
|
59 |
<!-- Path to the descriptor for linux32 sources -->
|
60 |
<distribution-linux32-descriptor-source></distribution-linux32-descriptor-source> |
61 |
|
62 |
<!-- Path to the descriptor for mac -->
|
63 |
<distribution-mac-descriptor> /distribution/distribution-mac.xml
|
64 |
</distribution-mac-descriptor>
|
65 |
<!-- Path to the descriptor for mac sources-->
|
66 |
<distribution-mac-descriptor-source></distribution-mac-descriptor-source> |
67 |
|
68 |
<!-- Path to the output directory for the distribution -->
|
69 |
<extension-distribution-output-directory>target/
|
70 |
</extension-distribution-output-directory>
|
71 |
<distribution-output-directory>distribution/
|
72 |
</distribution-output-directory>
|
73 |
|
74 |
|
75 |
<!-- Path to the file descriptor to generate the extension-->
|
76 |
<extension-distribution-file>distribution/extension-distribution.xml
|
77 |
</extension-distribution-file>
|
78 |
<!-- Final name of the output directory for the distribution -->
|
79 |
<distribution-final-name>ext3D</distribution-final-name> |
80 |
<application-name>plugin-3D-gvsig</application-name> |
81 |
<output-dir_installers>target/intallers/
|
82 |
</output-dir_installers>
|
83 |
</properties>
|
84 |
<build>
|
85 |
<sourceDirectory>src</sourceDirectory> |
86 |
<testSourceDirectory>test</testSourceDirectory> |
87 |
<plugins>
|
88 |
<plugin>
|
89 |
<groupId>org.apache.maven.plugins</groupId> |
90 |
<artifactId>maven-source-plugin</artifactId> |
91 |
<configuration>
|
92 |
<attach>true</attach> |
93 |
</configuration>
|
94 |
<executions>
|
95 |
<execution>
|
96 |
<id>attach-sources</id> |
97 |
<phase>package</phase> |
98 |
<goals>
|
99 |
<goal>jar</goal> |
100 |
</goals>
|
101 |
</execution>
|
102 |
</executions>
|
103 |
</plugin>
|
104 |
<plugin>
|
105 |
<artifactId>maven-clean-plugin</artifactId> |
106 |
<configuration>
|
107 |
<filesets>
|
108 |
<fileset>
|
109 |
<directory> ${distribution-output-directory}</directory> |
110 |
<includes>
|
111 |
<include> **/*${distribution-final-name}*</include> |
112 |
</includes>
|
113 |
<followSymlinks>false</followSymlinks> |
114 |
</fileset>
|
115 |
<fileset>
|
116 |
<directory> ${extension-appgvsig-lib-dir}</directory> |
117 |
<includes>
|
118 |
<include>lib3DMap-share*</include> |
119 |
</includes>
|
120 |
</fileset>
|
121 |
<fileset>
|
122 |
<directory> ${extension-dir}/${plugin-name}</directory> |
123 |
<includes>
|
124 |
<include>**</include> |
125 |
</includes>
|
126 |
</fileset>
|
127 |
</filesets>
|
128 |
</configuration>
|
129 |
</plugin>
|
130 |
</plugins>
|
131 |
</build>
|
132 |
<profiles>
|
133 |
<profile>
|
134 |
<id>install-binaries</id> |
135 |
<activation>
|
136 |
<property>
|
137 |
<name>install-binaries-dir</name> |
138 |
</property>
|
139 |
</activation>
|
140 |
<build>
|
141 |
<plugins>
|
142 |
<plugin>
|
143 |
<artifactId>maven-antrun-plugin</artifactId> |
144 |
<executions>
|
145 |
<execution>
|
146 |
<id>copy-native-3D</id> |
147 |
<phase>install</phase> |
148 |
<configuration>
|
149 |
<tasks name="install binaries"> |
150 |
<property name="install-binaries-dir" value="${install-binaries-dir}" /> |
151 |
<ant antfile="${basedir}/maven-build.xml" inheritRefs="true" /> |
152 |
</tasks>
|
153 |
</configuration>
|
154 |
<goals>
|
155 |
<goal>run</goal> |
156 |
</goals>
|
157 |
</execution>
|
158 |
</executions>
|
159 |
</plugin>
|
160 |
<plugin>
|
161 |
<artifactId>maven-clean-plugin</artifactId> |
162 |
<configuration>
|
163 |
<filesets>
|
164 |
<fileset>
|
165 |
<directory> ${install-binaries-dir}</directory> |
166 |
<includes>
|
167 |
<include>libjniosgvp**</include> |
168 |
<include>libosg**</include> |
169 |
<include> libOpenThreads**</include> |
170 |
<include> osgPlugins**/**</include> |
171 |
</includes>
|
172 |
<followSymlinks>false</followSymlinks> |
173 |
</fileset>
|
174 |
</filesets>
|
175 |
</configuration>
|
176 |
</plugin>
|
177 |
</plugins>
|
178 |
</build>
|
179 |
</profile>
|
180 |
<profile>
|
181 |
<id>generate-installers</id> |
182 |
<activation>
|
183 |
<property>
|
184 |
<name>generate-install</name> |
185 |
</property>
|
186 |
</activation>
|
187 |
<build>
|
188 |
<plugins>
|
189 |
<plugin>
|
190 |
<artifactId>maven-antrun-plugin</artifactId> |
191 |
<executions>
|
192 |
<execution>
|
193 |
<id>generate-install</id> |
194 |
<phase>install</phase> |
195 |
<configuration>
|
196 |
<tasks>
|
197 |
<property name="base-dir" value="${basedir}" /> |
198 |
<property name="OUTPUT_DIR" value="${output-dir_installers}" /> |
199 |
<property name="version" value="${version}" /> |
200 |
<property name="bversion" value="${bversion}" /> |
201 |
<property name="APPNAME" value="${application-name}" /> |
202 |
<ant antfile="${basedir}/distribution/build.xml" |
203 |
inheritRefs="true" /> |
204 |
</tasks>
|
205 |
</configuration>
|
206 |
<goals>
|
207 |
<goal>run</goal> |
208 |
</goals>
|
209 |
</execution>
|
210 |
</executions>
|
211 |
</plugin>
|
212 |
</plugins>
|
213 |
</build>
|
214 |
</profile>
|
215 |
</profiles>
|
216 |
</project>
|