svn-gvsig-desktop / branches / v2_0_0_prep / build / libraries-pom / pom.xml @ 29320
History | View | Annotate | Download (6.55 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 |
|
7 |
<modelVersion>4.0.0</modelVersion> |
8 |
<groupId>org.gvsig</groupId> |
9 |
<artifactId>gvsig-library-base-pom</artifactId> |
10 |
<packaging>pom</packaging> |
11 |
<version>2.0-SNAPSHOT</version> |
12 |
<name>library-base-pom</name> |
13 |
<parent>
|
14 |
<groupId>org.gvsig</groupId> |
15 |
<artifactId>gvsig-basepoms</artifactId> |
16 |
<version>2.0-SNAPSHOT</version> |
17 |
</parent>
|
18 |
<description>
|
19 |
Base POM for all GvSIG libraries projects. This pom knows how to |
20 |
build and made an libraries for GvSIG. The property |
21 |
"gvsig-path" must be set up correctly. |
22 |
</description>
|
23 |
<properties>
|
24 |
<build-dir>${basedir}/..</build-dir> |
25 |
</properties>
|
26 |
<build>
|
27 |
<plugins>
|
28 |
<plugin>
|
29 |
<artifactId>maven-clean-plugin</artifactId> |
30 |
<configuration>
|
31 |
<filesets>
|
32 |
<fileset>
|
33 |
<directory>${user.home}/.depman/</directory> |
34 |
<includes>
|
35 |
<include>**</include> |
36 |
</includes>
|
37 |
</fileset>
|
38 |
</filesets>
|
39 |
<followSymLinks>true</followSymLinks> |
40 |
</configuration>
|
41 |
</plugin>
|
42 |
</plugins>
|
43 |
</build>
|
44 |
<modules>
|
45 |
<module>../libraries-jni-pom</module> |
46 |
</modules>
|
47 |
<profiles>
|
48 |
<profile>
|
49 |
<id>windows-profile</id> |
50 |
<activation>
|
51 |
<os>
|
52 |
<family>windows</family> |
53 |
</os>
|
54 |
</activation>
|
55 |
<properties>
|
56 |
<native-platform>win</native-platform> |
57 |
<native-distribution>nt</native-distribution> |
58 |
<native-compiler>vs8</native-compiler> |
59 |
<native-arch>i386</native-arch> |
60 |
<native-libraryType>dynamic</native-libraryType> |
61 |
<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier> |
62 |
</properties>
|
63 |
<build>
|
64 |
<plugins>
|
65 |
<plugin>
|
66 |
<groupId>org.apache.maven.plugins</groupId> |
67 |
<artifactId>maven-dependency-plugin</artifactId> |
68 |
<executions>
|
69 |
<execution>
|
70 |
<id>unpack-dependencies</id> |
71 |
<phase>generate-sources</phase> |
72 |
<goals>
|
73 |
<goal>unpack-dependencies</goal> |
74 |
</goals>
|
75 |
<configuration>
|
76 |
<includeTypes>tar.gz</includeTypes> |
77 |
<outputDirectory>${user.home}/.depman</outputDirectory> |
78 |
<overWriteReleases>true</overWriteReleases> |
79 |
<overWriteSnapshots>true</overWriteSnapshots> |
80 |
</configuration>
|
81 |
</execution>
|
82 |
</executions>
|
83 |
</plugin>
|
84 |
</plugins>
|
85 |
</build>
|
86 |
</profile>
|
87 |
<profile>
|
88 |
<id>linux-profile</id> |
89 |
<activation>
|
90 |
<os>
|
91 |
<family>linux</family> |
92 |
</os>
|
93 |
</activation>
|
94 |
<properties>
|
95 |
<native-platform>linux</native-platform> |
96 |
<native-distribution>Ubuntu-9.04</native-distribution> |
97 |
<native-compiler>gcc4</native-compiler> |
98 |
<native-arch>i386</native-arch> |
99 |
<native-libraryType>dynamic</native-libraryType> |
100 |
<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier> |
101 |
</properties>
|
102 |
<build>
|
103 |
<plugins>
|
104 |
<plugin>
|
105 |
<groupId>org.apache.maven.plugins</groupId> |
106 |
<artifactId>maven-dependency-plugin</artifactId> |
107 |
<executions>
|
108 |
<execution>
|
109 |
<id>copy-dependencies</id> |
110 |
<phase>generate-sources</phase> |
111 |
<goals>
|
112 |
<goal>copy-dependencies</goal> |
113 |
</goals>
|
114 |
<configuration>
|
115 |
<includeTypes>tar.gz</includeTypes> |
116 |
<outputDirectory>${project.build.directory}/native_dependencies</outputDirectory> |
117 |
<overWriteReleases>true</overWriteReleases> |
118 |
<overWriteSnapshots>true</overWriteSnapshots> |
119 |
<overWriteIfNewer>true</overWriteIfNewer> |
120 |
</configuration>
|
121 |
</execution>
|
122 |
</executions>
|
123 |
</plugin>
|
124 |
<plugin>
|
125 |
<groupId>org.codehaus.mojo</groupId> |
126 |
<artifactId>exec-maven-plugin</artifactId> |
127 |
<executions>
|
128 |
<execution>
|
129 |
<id>unpack-dependencies</id> |
130 |
<phase>process-sources</phase> |
131 |
<goals>
|
132 |
<goal>exec</goal> |
133 |
</goals>
|
134 |
<configuration>
|
135 |
<executable>sh</executable> |
136 |
<arguments>
|
137 |
<argument>${build-dir}/scripts/unpack-dependencies.sh</argument> |
138 |
<argument>${project.build.directory}/native_dependencies</argument> |
139 |
<argument>${user.home}/.depman</argument> |
140 |
</arguments>
|
141 |
</configuration>
|
142 |
</execution>
|
143 |
</executions>
|
144 |
</plugin>
|
145 |
</plugins>
|
146 |
</build>
|
147 |
</profile>
|
148 |
<profile>
|
149 |
<id>mac-profile</id> |
150 |
<activation>
|
151 |
<os>
|
152 |
<family>mac</family> |
153 |
</os>
|
154 |
</activation>
|
155 |
<properties>
|
156 |
<native-platform>mac</native-platform> |
157 |
<native-distribution>10.5</native-distribution> |
158 |
<native-compiler>gcc4</native-compiler> |
159 |
<native-arch>universal</native-arch> |
160 |
<native-libraryType>dynamic</native-libraryType> |
161 |
<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier> |
162 |
</properties>
|
163 |
<build>
|
164 |
<plugins>
|
165 |
<plugin>
|
166 |
<groupId>org.apache.maven.plugins</groupId> |
167 |
<artifactId>maven-dependency-plugin</artifactId> |
168 |
<executions>
|
169 |
<execution>
|
170 |
<id>copy-dependencies</id> |
171 |
<phase>generate-sources</phase> |
172 |
<goals>
|
173 |
<goal>copy-dependencies</goal> |
174 |
</goals>
|
175 |
<configuration>
|
176 |
<includeTypes>tar.gz</includeTypes> |
177 |
<outputDirectory>${project.build.directory}/native_dependencies</outputDirectory> |
178 |
<overWriteReleases>true</overWriteReleases> |
179 |
<overWriteSnapshots>true</overWriteSnapshots> |
180 |
<overWriteIfNewer>true</overWriteIfNewer> |
181 |
</configuration>
|
182 |
</execution>
|
183 |
</executions>
|
184 |
</plugin>
|
185 |
<plugin>
|
186 |
<groupId>org.codehaus.mojo</groupId> |
187 |
<artifactId>exec-maven-plugin</artifactId> |
188 |
<executions>
|
189 |
<execution>
|
190 |
<id>unpack-dependencies</id> |
191 |
<phase>generate-sources</phase> |
192 |
<goals>
|
193 |
<goal>exec</goal> |
194 |
</goals>
|
195 |
<configuration>
|
196 |
<executable>sh</executable> |
197 |
<arguments>
|
198 |
<argument>${build-dir}/scripts/unpack-dependencies.sh</argument> |
199 |
<argument>${project.build.directory}/native_dependencies</argument> |
200 |
<argument>${user.home}/.depman</argument> |
201 |
</arguments>
|
202 |
</configuration>
|
203 |
</execution>
|
204 |
</executions>
|
205 |
</plugin>
|
206 |
</plugins>
|
207 |
</build>
|
208 |
</profile>
|
209 |
</profiles>
|
210 |
</project>
|