Statistics
| Revision:

root / trunk / extensions / extRasterTools-SE / pom.xml @ 22680

History | View | Annotate | Download (5.75 KB)

1
<project xmlns="http://maven.apache.org/POM/4.0.0"
2
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
        <modelVersion>4.0.0</modelVersion>
5
        <groupId>org.gvsig</groupId>
6
        <artifactId>extRasterTools-SE</artifactId>
7
        <packaging>jar</packaging>
8
        <version>1.0-SNAPSHOT</version>
9
        <name>extRasterTools-SE</name>
10
        <url>http://gvsig.org</url>
11
        <description>
12
        </description>
13
        <parent>
14
                <groupId>org.gvsig</groupId>
15
                <artifactId>gvsig-extension-base-pom</artifactId>
16
                <version>1.0-SNAPSHOT</version>
17
        </parent>
18
        <dependencies>
19
                <dependency>
20
                        <groupId>org.gvsig.trunk</groupId>
21
                        <artifactId>driver-manager</artifactId>
22
                        <version>1211</version>
23
                </dependency>
24
                <dependency>
25
                        <groupId>org.gvsig.trunk</groupId>
26
                        <artifactId>gdbms</artifactId>
27
                        <version>1211</version>
28
                </dependency>
29
                <dependency>
30
                        <groupId>org.gvsig.trunk</groupId>
31
                        <artifactId>iver-utiles</artifactId>
32
                        <version>1211</version>
33
                </dependency>
34
                <dependency>
35
                        <groupId>org.gvsig</groupId>
36
                        <artifactId>libRaster</artifactId>
37
                        <version>1.0-SNAPSHOT</version>
38
                </dependency>
39
                <dependency>
40
                        <groupId>org.gvsig</groupId>
41
                        <artifactId>libUIComponent</artifactId>
42
                        <version>1.0-SNAPSHOT</version>
43
                </dependency>
44
                <dependency>
45
                        <groupId>org.gvsig.trunk</groupId>
46
                        <artifactId>andami</artifactId>
47
                        <version>1211</version>
48
                </dependency>
49
                <dependency>
50
                        <groupId>org.gvsig.trunk</groupId>
51
                        <artifactId>com.iver.cit.gvsig</artifactId>
52
                        <version>1211</version>
53
                </dependency>
54
                <dependency>
55
                        <groupId>org.gvsig.trunk</groupId>
56
                        <artifactId>fmap</artifactId>
57
                        <version>1211</version>
58
                </dependency>
59
        
60
        </dependencies>
61
        <properties>
62
                <extension-appgvsig-lib-dir>
63
                        ${extension-dir}/com.iver.cit.gvsig/lib/
64
                </extension-appgvsig-lib-dir>
65
                <build-dir>${basedir}/../build</build-dir>
66
                <extension-distribution>
67
                        gvSIG/extensiones/org.gvsig.ext3Dgui/
68
                </extension-distribution>
69
                <gvsig-extension-distribution>
70
                        gvSIG/extensiones/com.iver.cit.gvsig/
71
                </gvsig-extension-distribution>
72

    
73
                <!-- Path to the descriptor for win32 -->
74
                <distribution-win32-descriptor>
75
                        /distribution/win-distribution/distribution-win32.xml
76
                </distribution-win32-descriptor>
77
                <!-- Path to the descriptor for win32 sources -->
78
                <distribution-win32-descriptor-source></distribution-win32-descriptor-source>
79

    
80
                <!-- Path to the descriptor for linux32  -->
81
                <distribution-linux32-descriptor>
82
                        /distribution/linux-distribution/distribution-linux.xml
83
                </distribution-linux32-descriptor>
84
                <!-- Path to the descriptor for linux32 sources -->
85
                <distribution-linux32-descriptor-source></distribution-linux32-descriptor-source>
86

    
87
                <!-- Path to the descriptor for mac -->
88
                <distribution-mac-descriptor>
89
                        /distribution/distribution-mac.xml
90
                </distribution-mac-descriptor>
91
                <!-- Path to the descriptor for mac sources-->
92
                <distribution-mac-descriptor-source></distribution-mac-descriptor-source>
93

    
94
                <!-- Path to the output directory for the distribution -->
95
                <distribution-output-directory>
96
                        distribution/
97
                </distribution-output-directory>
98
                <!-- Final name of the output directory for the distribution -->
99
                <distribution-final-name>ext3D</distribution-final-name>
100

    
101
                <application-name>Extension-3D</application-name>
102

    
103
        </properties>
104
        <build>
105
                <sourceDirectory>src</sourceDirectory>
106
                <testSourceDirectory>src-test</testSourceDirectory>
107
        </build>
108
        <profiles>
109
                <profile>
110
                        <id>install-binaries</id>
111
                        <activation>
112
                                <property>
113
                                        <name>install-binaries-dir</name>
114
                                </property>
115
                        </activation>
116
                        <build>
117
                                <plugins>
118
                                        <plugin>
119
                                                <artifactId>maven-antrun-plugin</artifactId>
120
                                                <executions>
121
                                                        <execution>
122
                                                                <id>copy-native-3D</id>
123
                                                                <phase>install</phase>
124
                                                                <configuration>
125
                                                                        <tasks name="install binaries">
126
                                                                                <property
127
                                                                                        name="install-binaries-dir" value="${install-binaries-dir}" />
128
                                                                                <ant
129
                                                                                        antfile="${basedir}/maven-build.xml" inheritRefs="true" />
130
                                                                        </tasks>
131
                                                                </configuration>
132
                                                                <goals>
133
                                                                        <goal>run</goal>
134
                                                                </goals>
135
                                                        </execution>
136
                                                </executions>
137
                                        </plugin>
138
                                        <plugin>
139
                                                <artifactId>maven-clean-plugin</artifactId>
140
                                                <configuration>
141
                                                        <filesets>
142
                                                                <fileset>
143
                                                                        <directory>
144
                                                                                ${install-binaries-dir}
145
                                                                        </directory>
146
                                                                        <includes>
147
                                                                                <include>libjniosgvp**</include>
148
                                                                                <include>libosg**</include>
149
                                                                                <include>
150
                                                                                        libOpenThreads**
151
                                                                                </include>
152
                                                                                <include>
153
                                                                                        osgPlugins**/**
154
                                                                                </include>
155
                                                                        </includes>
156
                                                                        <followSymlinks>false</followSymlinks>
157
                                                                </fileset>
158
                                                        </filesets>
159
                                                </configuration>
160
                                        </plugin>
161
                                </plugins>
162
                        </build>
163
                </profile>
164
                <profile>
165
                        <id>generate-installers</id>
166
                        <activation>
167
                                <property>
168
                                        <name>generate-install</name>
169
                                </property>
170
                        </activation>
171
                        <build>
172
                                <plugins>
173
                                        <plugin>
174
                                                <artifactId>maven-antrun-plugin</artifactId>
175
                                                <executions>
176
                                                        <execution>
177
                                                                <id>generate-install</id>
178
                                                                <phase>install</phase>
179
                                                                <configuration>
180
                                                                        <tasks>
181
                                                                                <property name="base-dir"
182
                                                                                        value="${basedir}" />
183
                                                                                <property name="OUTPUT_DIR"
184
                                                                                        value="${output-dir_installers}" />
185
                                                                                <property name="version"
186
                                                                                        value="${version}" />
187
                                                                                <property name="bversion"
188
                                                                                        value="${bversion}" />
189
                                                                                <property name="APPNAME"
190
                                                                                        value="${application-name}" />
191
                                                                                <ant
192
                                                                                        antfile="${basedir}/distribution/build.xml"
193
                                                                                        inheritRefs="true" />
194
                                                                        </tasks>
195
                                                                </configuration>
196
                                                                <goals>
197
                                                                        <goal>run</goal>
198
                                                                </goals>
199
                                                        </execution>
200
                                                </executions>
201
                                        </plugin>
202
                                </plugins>
203
                        </build>
204
                </profile>
205
        </profiles>
206
</project>