jponge / izpack

Git repository of IzPack.

jponge (author)
Fri Nov 06 01:05:01 -0800 2009
commit  b27f837fa0602c2322726c4fcdb838dba8e8bcda
tree    7a7589a74b19e93eeb369c6ebe6a0b2a93557606
parent  6780fb6b60c79d5629aadcd549dc5ed8e5d7b64c
izpack / pom.xml
100644 128 lines (106 sloc) 3.698 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<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/maven-v4_0_0.xsd">
 
  <parent>
    <groupId>org.codehaus.izpack</groupId>
    <artifactId>izpack-parent</artifactId>
    <version>2</version>
  </parent>
 
  <modelVersion>4.0.0</modelVersion>
  
  <artifactId>izpack-standalone-compiler</artifactId>
  <version>4.3.0-SNAPSHOT</version>
  
  <name>IZPack Standalone Compiler</name>
 
  <description>
    Use this pom to install/deploy standalone compiler snapshot for test and early feed back purpose.
    To deploy the release version, use the one under izpack-maven
  </description>
 
  <packaging>pom</packaging>
  
 
  <distributionManagement>
    <site>
      <id>codehaus.org</id>
      <name>IZPack Website</name>
      <url>dav:https://dav.codehaus.org/izpack/izpack-standalone-compiler</url>
    </site>
  </distributionManagement>
 
  <build>
  
    <defaultGoal>package</defaultGoal>
    
    <sourceDirectory>src/lib</sourceDirectory>
    
     <plugins>
     
      <!-- copy the real standlone-compiler to this project and overwrite the implicit jar already built by the jar packaging -->
      <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
             <id>build-izpack-with-ant</id>
             <goals>
               <goal>run</goal>
             </goals>
             <phase>package</phase>
             <configuration>
               <tasks>
                  <exec executable="${env.ANT_HOME}/bin/ant${antExeExt}" dir="${basedir}/src"/>
               </tasks>
             </configuration>
           </execution>
           
           <execution>
             <id>clean-ant-build</id>
             <goals>
               <goal>run</goal>
             </goals>
             <phase>pre-clean</phase>
             <configuration>
               <tasks>
                  <exec executable="${env.ANT_HOME}/bin/ant${antExeExt}" dir="${basedir}/src">
                    <arg value="clean"/>
                  </exec>
               </tasks>
             </configuration>
           </execution>
           
         </executions>
       </plugin>
       
      <plugin>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <id>build-izpack-source</id>
             <goals><goal>jar</goal></goals>
             <phase>package</phase>
           </execution>
         </executions>
       </plugin>
       
      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>1.2</version>
         <executions>
           <execution>
             <id>attach</id>
             <goals><goal>attach-artifact</goal></goals>
             <phase>package</phase>
             <configuration>
               <artifacts>
                 <artifact>
                   <file>${basedir}/lib/standalone-compiler.jar</file>
                 </artifact>
               </artifacts>
             </configuration>
           </execution>
         </executions>
       </plugin>
       
     </plugins>
     
  </build>
  
  <profiles>
    <profile>
      <id>windows</id>
      <activation>
        <os>
          <family>Windows</family>
        </os>
      </activation>
      <properties>
        <antExeExt>.bat</antExeExt>
      </properties>
    </profile>
  </profiles>
 
  <properties>
    <antExeExt></antExeExt>
  </properties>
</project>