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