Hello Mikael,

On 7/12/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:

Does anyone know if there is any ongoing work on a maven2 plugin for
izpack?
Had a look at codehaus but couldn't spot anything there, the only thing I
have found is the maven1 plugin.


i did a bit of work in this, and the only thing i obtained was to use the
ant task within maven2.
I was not completely successfull, because the installer i obtained
was...emtpy:(.

By the, way, maybe we can work on this togheter. Here is the relevant
portion of pom.xml .
i added a profile to build the installer:

<profile>
           <id>installer</id>
           <activation>
               <property>
                   <name>installer</name>
                   <value></value>
               </property>
           </activation>
           <build>
               <plugins>
                   <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-antrun-plugin</artifactId>
                       <executions>
                           <execution>
                               <phase>package</phase>
                               <configuration>
                                   <tasks>
                                       <taskdef name="izpack"
                                           classname="
com.izforge.izpack.ant.IzPackTask" />
                                       <izpack
                                           input="${project.build.directory
}/classes/installer/izPack.xml"
                                           output="${
project.build.directory}/plinio-installer.jar"
                                           basedir="${
project.build.directory}" />
                                   </tasks>
                               </configuration>
                               <goals>
                                   <goal>run</goal>
                               </goals>
                           </execution>
                       </executions>
                       <dependencies>
                           <dependency>
                               <groupId>izpack</groupId>
                               <artifactId>standalone-compiler</artifactId>
                               <version>3.8.0</version>
                           </dependency>
                       </dependencies>
                   </plugin>
               </plugins>
           </build>
       </profile>

and that's all i could get.


--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

Reply via email to