Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.installer / org.gvsig.desktop.installer.izpack / org.gvsig.desktop.installer.izpack.lin.x86_64 / pom.xml @ 42300

History | View | Annotate | Download (3.36 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_64</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_64</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

    
51
      <plugin>
52
        <groupId>org.codehaus.gmaven</groupId>
53
        <artifactId>gmaven-plugin</artifactId>
54
        <executions>
55
          <execution>
56
            <id>prepare-gvsig-product-and-packages</id>
57
            <phase>None</phase>
58
          </execution>
59

    
60
          <execution>
61
            <id>deploy-gvsig-packages</id>
62
            <phase>None</phase>
63
          </execution>
64

    
65
          <execution>
66
            <id>prepare-lin-installer</id>
67
            <phase>generate-sources</phase>
68
            <goals>
69
                <goal>execute</goal>
70
            </goals>
71
            <configuration>
72
              <scriptpath>
73
                <path>${project.basedir}/../src/main/scripts</path>
74
              </scriptpath>
75
              <source>${project.basedir}/src/main/scripts/prepare_${installer_os}.groovy</source>
76
            </configuration>
77
          </execution>
78

79
          <execution>
80
            <id>deploy-lin-installer</id>
81
            <phase>install</phase>
82
            <goals>
83
                <goal>execute</goal>
84
            </goals>
85
            <configuration>
86
              <scriptpath>
87
                <path>${project.basedir}/../src/main/scripts</path>
88
              </scriptpath>
89
              <source>${project.basedir}/src/main/scripts/deploy_${installer_os}.groovy</source>
90
            </configuration>
91
          </execution>
92

93
          </executions>
94
      </plugin>
95

96
      <plugin>
97
        <groupId>org.codehaus.izpack</groupId>
98
        <artifactId>izpack-maven-plugin</artifactId>
99
        <version>${izpack.version}</version>
100
        <executions>
101
            <execution>
102
              <phase>package</phase>
103
              <goals><goal>izpack</goal></goals>
104
              <configuration>
105
                  <baseDir>${project.basedir}/target</baseDir>
106
                   <finalName>gvSIG-desktop-${package.info.version}-${package.info.state}-${installer_os}-${installer_architecture}-online</finalName>
107
                  <installFile>${project.basedir}/target/install.xml</installFile>
108
              </configuration>
109
            </execution>
110
        </executions>
111
        <dependencies>
112
            <dependency>
113
              <groupId>org.codehaus.izpack</groupId>
114
              <artifactId>izpack-panel</artifactId>
115
              <version>${izpack.version}</version>
116
            </dependency>
117
          </dependencies>
118
      </plugin>
119

120
    </plugins>
121
  </build>
122

123
</project>
124