Skip to content
David Matějček edited this page Jun 5, 2023 · 3 revisions

Note, that this target is not covered by eclipse lifecycle.

  <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>native2ascii-maven-plugin</artifactId>
    <version>2.1.0</version>
    <executions>
      <execution>
        <id>utf8-to-latin1</id>
        <goals>
          <goal>inplace</goal>
        </goals>
        <phase>process-resources</phase><!-- default -->
        <configuration>
          <dir>${project.build.testOutputDirectory}/localized</dir><!-- must be set -->
          <encoding>${project.build.sourceEncoding}</encoding><!-- default -->
          <includes>
            <include>**/*.properties</include><!-- default -->
          </includes>
          <excludes>
            <exclude></exclude><!-- nothing by default -->
          </excludes>
        </configuration>
      </execution>
    </executions>
  </plugin>
Clone this wiki locally