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