svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.installer / org.gvsig.desktop.installer.izpack / org.gvsig.desktop.installer.izpack.lin.x86 / pom.xml @ 42300
History | View | Annotate | Download (3.35 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 |
|
4 |
<modelVersion>4.0.0</modelVersion> |
5 |
<artifactId>org.gvsig.desktop.installer.izpack.lin.x86</artifactId> |
6 |
<packaging>pom</packaging> |
7 |
<name>${project.artifactId}</name> |
8 |
<parent>
|
9 |
<groupId>org.gvsig</groupId> |
10 |
<artifactId>org.gvsig.desktop.installer.izpack</artifactId> |
11 |
<version>1.1.0</version> |
12 |
</parent>
|
13 |
|
14 |
<properties>
|
15 |
<installer_architecture>x86</installer_architecture> |
16 |
<installer_os>lin</installer_os> |
17 |
</properties>
|
18 |
|
19 |
<build>
|
20 |
<plugins>
|
21 |
|
22 |
<plugin>
|
23 |
<groupId>com.igormaznitsa</groupId> |
24 |
<artifactId>jcp</artifactId> |
25 |
<version>6.0.0</version> |
26 |
<!--
|
27 |
https://github.com/raydac/java-comment-preprocessor/blob/master/src/main/java/com/igormaznitsa/jcp/maven/PreprocessorMojo.java
|
28 |
-->
|
29 |
<executions>
|
30 |
<execution>
|
31 |
<id>preprocess_installer_files</id> |
32 |
<phase>generate-sources</phase> |
33 |
<goals>
|
34 |
<goal>preprocess</goal> |
35 |
</goals>
|
36 |
<configuration>
|
37 |
<keepLines>false</keepLines> |
38 |
<removeComments>true</removeComments> |
39 |
|
40 |
<excluded>txt</excluded> |
41 |
<processing>xml</processing> |
42 |
|
43 |
<source>${project.basedir}/src/main/izpack</source> |
44 |
<destination>target</destination> |
45 |
</configuration>
|
46 |
</execution>
|
47 |
</executions>
|
48 |
</plugin>
|
49 |
|
50 |
<plugin>
|
51 |
<groupId>org.codehaus.gmaven</groupId> |
52 |
<artifactId>gmaven-plugin</artifactId> |
53 |
<executions>
|
54 |
<execution>
|
55 |
<id>prepare-gvsig-product-and-packages</id> |
56 |
<phase>None</phase> |
57 |
</execution>
|
58 |
|
59 |
<execution>
|
60 |
<id>deploy-gvsig-packages</id> |
61 |
<phase>None</phase> |
62 |
</execution>
|
63 |
|
64 |
<execution>
|
65 |
<id>prepare-lin-installer</id> |
66 |
<phase>generate-sources</phase> |
67 |
<goals>
|
68 |
<goal>execute</goal> |
69 |
</goals>
|
70 |
<configuration>
|
71 |
<scriptpath> |
72 |
<path>${project.basedir}/../src/main/scripts</path>
|
73 |
</scriptpath>
|
74 |
<source>${project.basedir}/src/main/scripts/prepare_${installer_os}.groovy</source>
|
75 |
</configuration>
|
76 |
</execution>
|
77 |
|
78 |
<execution>
|
79 |
<id>deploy-lin-installer</id>
|
80 |
<phase>install</phase>
|
81 |
<goals>
|
82 |
<goal>execute</goal>
|
83 |
</goals>
|
84 |
<configuration>
|
85 |
<scriptpath>
|
86 |
<path>${project.basedir}/../src/main/scripts</path>
|
87 |
</scriptpath>
|
88 |
<source>${project.basedir}/src/main/scripts/deploy_${installer_os}.groovy</source>
|
89 |
</configuration>
|
90 |
</execution>
|
91 |
|
92 |
</executions>
|
93 |
</plugin>
|
94 |
|
95 |
<plugin>
|
96 |
<groupId>org.codehaus.izpack</groupId>
|
97 |
<artifactId>izpack-maven-plugin</artifactId>
|
98 |
<version>${izpack.version}</version>
|
99 |
<executions>
|
100 |
<execution>
|
101 |
<phase>package</phase>
|
102 |
<goals><goal>izpack</goal></goals>
|
103 |
<configuration>
|
104 |
<baseDir>${project.basedir}/target</baseDir>
|
105 |
<finalName>gvSIG-desktop-${package.info.version}-${package.info.state}-${installer_os}-${installer_architecture}-online</finalName>
|
106 |
<installFile>${project.basedir}/target/install.xml</installFile>
|
107 |
</configuration>
|
108 |
</execution>
|
109 |
</executions>
|
110 |
<dependencies>
|
111 |
<dependency>
|
112 |
<groupId>org.codehaus.izpack</groupId>
|
113 |
<artifactId>izpack-panel</artifactId>
|
114 |
<version>${izpack.version}</version>
|
115 |
</dependency>
|
116 |
</dependencies>
|
117 |
</plugin>
|
118 |
|
119 |
</plugins>
|
120 |
</build>
|
121 |
|
122 |
</project>
|
123 |
|