Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create the langpack resource in:
    com/izforge/izpack/bin/langpacks/installer/aus.xml
    This can be derived from the English language pack here:
    https://github.com/izpack/izpack/blob/master/izpack-core/src/main/resources/com/izforge/izpack/bin/langpacks/installer/eng.xml
  2. Create a flag resource in:
    com/izforge/izpack/bin/langpacks/flags/aus.gif
  3. Create a jar (call it myjar) containing these resources
  4. The izpack-maven-plugin needs to reference the jar in order for it to locate the resources

    Code Block
    languagexml
    titlepom.xml
    <plugin>
             <groupId>org.codehaus.izpack</groupId>
             <artifactId>izpack-maven-plugin</artifactId>
             <version>5.0.0-rc1-SNAPSHOT</version>
             <configuration>
                 <installFile>${staging.dir}/install.xml</installFile>
                 <baseDir>${staging.dir}</baseDir>
             </configuration>
             <executions>
                 <execution>
                     <id>installer</id>
                     <phase>package</phase>
                     <goals>
                         <goal>izpack</goal>
                     </goals>
                 </execution>
             </executions>
             <dependencies>
                 <dependency>
                     <groupId>com.mystuff</groupId>
                     <artifactId>myjar</artifactId>
                     <version>${project.version}</version>
                 </dependency>
             </dependencies>
    </plugin>