73 | | * The installer - izpack maven plugin seems to be broken about the modular hierarhy, so ant task must be created, except using the plugin. |
| 73 | * The installer - izpack maven plugin seems to be broken about the modular hierarhy, so ant task must be created, except using the plugin. Here is the configuration that should be added in the main pom.xml: |
| 74 | |
| 75 | {{{ |
| 76 | <plugin> |
| 77 | <artifactId>maven-antrun-plugin</artifactId> |
| 78 | <inherited>false</inherited> |
| 79 | <version>1.1</version> |
| 80 | <dependencies> |
| 81 | <dependency> |
| 82 | <groupId>org.codehaus.izpack</groupId> |
| 83 | <artifactId>izpack-standalone-compiler</artifactId> |
| 84 | <version>4.3.1</version> |
| 85 | </dependency> |
| 86 | </dependencies> |
| 87 | <executions> |
| 88 | <execution> |
| 89 | <id>create-staging-area</id> |
| 90 | <phase>deploy</phase> |
| 91 | <goals> |
| 92 | <goal>run</goal> |
| 93 | </goals> |
| 94 | <configuration> |
| 95 | <tasks> |
| 96 | <taskdef name="izpack" |
| 97 | classname="com.izforge.izpack.ant.IzPackTask"/> |
| 98 | <!-- create izpack installer jar file --> |
| 99 | <izpack input="target/izpack/install.xml" |
| 100 | output="target/izpack/sophie2-installer.jar" |
| 101 | installerType="standard" |
| 102 | basedir="target/sophie2-platform-${version}-author/sophie2-platform/"/> |
| 103 | </tasks> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | }}} |
| 109 | |