root / branches / v2_0_0_prep / build / projects / gvsig-standard / gvsig-standard-installer / pom.xml @ 38252
History | View | Annotate | Download (4.93 KB)
1 | 31868 | cordinyana | <?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 | 34422 | cordinyana | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 | 31868 | cordinyana | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | |||
7 | 34422 | cordinyana | <modelVersion>4.0.0</modelVersion> |
8 | <parent>
|
||
9 | <artifactId>gvsig-standard</artifactId> |
||
10 | <groupId>org.gvsig</groupId> |
||
11 | <version>2.0-SNAPSHOT</version> |
||
12 | </parent>
|
||
13 | <groupId>org.gvsig</groupId> |
||
14 | <artifactId>gvsig-standard-installer</artifactId> |
||
15 | <version>2.0-SNAPSHOT</version> |
||
16 | <name>gvsig-standard-installer</name> |
||
17 | <packaging>pom</packaging> |
||
18 | <profiles>
|
||
19 | <profile>
|
||
20 | <id>create-installer</id> |
||
21 | <properties>
|
||
22 | <install.build.dir>${project.build.directory}/installjammer</install.build.dir> |
||
23 | <!-- You can set those properties in a profile in your settings.xml
|
||
24 | file to change the default location -->
|
||
25 | 35490 | fdiaz | <gvsig.install.dir>${basedir}/../../../product</gvsig.install.dir> |
26 | 34996 | cordinyana | <gvsig.native.base.libs.dir>${user.home}/.depman</gvsig.native.base.libs.dir> |
27 | 35003 | cordinyana | <gvsig.native.lini386.libs.dir>${user.home}/.depman/lib</gvsig.native.lini386.libs.dir> |
28 | <gvsig.native.wini386.libs.dir>${user.home}/.depman/bin</gvsig.native.wini386.libs.dir> |
||
29 | 34422 | cordinyana | <appgvsig.install.dir>${gvsig.install.dir}/gvSIG/extensiones/org.gvsig.app</appgvsig.install.dir> |
30 | </properties>
|
||
31 | <build>
|
||
32 | <plugins>
|
||
33 | <plugin>
|
||
34 | <groupId>org.codehaus.mojo</groupId> |
||
35 | <artifactId>properties-maven-plugin</artifactId> |
||
36 | <executions>
|
||
37 | <execution>
|
||
38 | <phase>install</phase> |
||
39 | <goals>
|
||
40 | <goal>read-project-properties</goal> |
||
41 | </goals>
|
||
42 | <configuration>
|
||
43 | <files>
|
||
44 | <file>${appgvsig.install.dir}/package.info</file> |
||
45 | </files>
|
||
46 | </configuration>
|
||
47 | </execution>
|
||
48 | </executions>
|
||
49 | </plugin>
|
||
50 | <plugin>
|
||
51 | <groupId>org.codehaus.mojo</groupId> |
||
52 | <artifactId>exec-maven-plugin</artifactId> |
||
53 | <executions>
|
||
54 | <execution>
|
||
55 | <phase>install</phase> |
||
56 | <goals>
|
||
57 | <goal>exec</goal> |
||
58 | </goals>
|
||
59 | <configuration>
|
||
60 | 33708 | cordinyana | <!-- Tested with InstallJammer 1.2.15b1 -->
|
61 | 34422 | cordinyana | <executable>installjammer</executable> |
62 | <arguments>
|
||
63 | 38252 | jldominguez | <argument>--output-dir</argument><argument>${install.build.dir}/output</argument> |
64 | 34422 | cordinyana | <!--argument>-DBaseDir ${basedir}/../../product</argument -->
|
65 | 38252 | jldominguez | <argument>-DBaseDir</argument><argument>${gvsig.install.dir}</argument> |
66 | <argument>-DBaseNativeLibsDir</argument><argument>${gvsig.native.base.libs.dir}</argument> |
||
67 | <argument>-DLini386NativeLibsDir</argument><argument>${gvsig.native.lini386.libs.dir}</argument> |
||
68 | <argument>-DWini386NativeLibsDir</argument><argument>${gvsig.native.wini386.libs.dir}</argument> |
||
69 | <argument>-DInstallVersion</argument><argument>${gvSIG-version}.${buildNumber}</argument> |
||
70 | <argument>-DVersion</argument><argument>${gvSIG-version}</argument> |
||
71 | <argument>-DDevelState</argument><argument>${state}</argument> |
||
72 | 34422 | cordinyana | <argument>--build-for-release</argument> |
73 | 38252 | jldominguez | <argument>--build-dir</argument><argument>${install.build.dir}</argument> |
74 | <argument>--build-log-file</argument><argument>${project.build.directory}/build.log</argument> |
||
75 | 34422 | cordinyana | <argument>--verbose</argument> |
76 | <argument>--build</argument> |
||
77 | <argument>${basedir}/src/main/installjammer/${project.artifactId}.mpi</argument> |
||
78 | </arguments>
|
||
79 | </configuration>
|
||
80 | </execution>
|
||
81 | </executions>
|
||
82 | </plugin>
|
||
83 | </plugins>
|
||
84 | </build>
|
||
85 | </profile>
|
||
86 | </profiles>
|
||
87 | 31868 | cordinyana | </project> |