-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
Romain Quinio edited this page Sep 21, 2015
·
3 revisions
Default maven log level is INFO. It is possible to display only ERROR level with --quiet parameter, or activate DEBUG with -X parameter.
A sample configuration for l10n:validate goal is shown below (showing plugin default values):
<build>
<plugins>
...
<plugin>
<groupId>com.googlecode.l10n-maven-plugin</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>validate-resources</id>
<phase>test</phase>
<goals>
<goal>validate</goal>
</goals>
<configuration>
<propertyDir>src\main\resources</propertyDir>
<ignoreFailure>false</ignoreFailure>
<htmlKeys>
<param>.text.</param>
</htmlKeys>
<xhtmlSchema>xhtml1-transitional.xsd</xhtmlSchema>
<jsKeys>
<param>.js.</param>
</jsKeys>
<jsDoubleQuoted>true</jsDoubleQuoted>
<urlKeys>
<param>.url.</param>
</urlKeys>
<textKeys>
<param>.title.</param>
</textKeys>
<customPatterns />
<excludedKeys />
<dictionaryDir>src\main\resources</dictionaryDir>
<reportsDir>${project.build.directory}/l10n-reports</reportsDir>
<formatter>messageFormat</formatter>
<innerResourceRegex />
</configuration>
</execution>
</executions>
</plugin>
...
</plugins>
</build>A sample configuration for l10n:report goal is shown below (showing plugin default values):
<reporting>
<outputDirectory>${basedir}/target/site</outputDirectory>
<excludeDefaults>true</excludeDefaults>
<plugins>
...
<plugin>
<groupId>com.googlecode.l10n-maven-plugin</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.8</version>
<reportSets>
<reportSet>
<id>generate-report</id>
<reports>
<report>report</report>
</reports>
<inherited>true</inherited>
<configuration>
<propertyDir>src\main\resources\</propertyDir>
<htmlKeys>
<param>.text.</param>
</htmlKeys>
<xhtmlSchema>xhtml1-transitional.xsd</xhtmlSchema>
<jsKeys>
<param>.js.</param>
</jsKeys>
<jsDoubleQuoted>true</jsDoubleQuoted>
<urlKeys>
<param>.url.</param>
</urlKeys>
<textKeys>
<param>.title.</param>
</textKeys>
<customPatterns />
<dictionaryDir>src\main\resources</dictionaryDir>
<formatter>messageFormat</formatter>
<innerResourceRegex />
</configuration>
</reportSet>
</reportSets>
</plugin>
...
</plugins>
</reporting>