r1879 - trunk/src/main/java/org/nuiton/license/plugin
Author: tchemit Date: 2010-11-18 21:25:57 +0100 (Thu, 18 Nov 2010) New Revision: 1879 Url: http://nuiton.org/repositories/revision/maven-license-plugin/1879 Log: Anomalie #1012: Fix documentation of mojo (some parameters are in french, other in english : all in english) Modified: trunk/src/main/java/org/nuiton/license/plugin/AbstractAddThirdPartyMojo.java trunk/src/main/java/org/nuiton/license/plugin/AddThirdPartyMojo.java trunk/src/main/java/org/nuiton/license/plugin/CommentStyleListMojo.java trunk/src/main/java/org/nuiton/license/plugin/LicenseListMojo.java Modified: trunk/src/main/java/org/nuiton/license/plugin/AbstractAddThirdPartyMojo.java =================================================================== --- trunk/src/main/java/org/nuiton/license/plugin/AbstractAddThirdPartyMojo.java 2010-11-17 10:34:03 UTC (rev 1878) +++ trunk/src/main/java/org/nuiton/license/plugin/AbstractAddThirdPartyMojo.java 2010-11-18 20:25:57 UTC (rev 1879) @@ -44,10 +44,7 @@ import org.nuiton.plugin.PluginWithEncoding; /** - * Goal to generate the THIRD-PARTY.txt file which resumes all dependencies with - * their licenses. - * <p/> - * It also add it in class-path. + * Abstract mojo for all third-party mojos. * * @author tchemit <chemit@codelutin.com> * @since 2.3 @@ -55,7 +52,7 @@ public abstract class AbstractAddThirdPartyMojo extends AbstractLicenseMojo implements PluginWithEncoding { /** - * Repertoire de sortie des classes (classpath). + * Directory where to generate files. * * @parameter expression="${license.outputDirectory}" default-value="target/generated-sources/license" * @required @@ -64,10 +61,9 @@ protected File outputDirectory; /** - * Fichier ou ecrire les licences des dependances. + * File where to wirte the third-party file. * - * @parameter expression="${license.thirdPartyFilename}" - * default-value="THIRD-PARTY.txt" + * @parameter expression="${license.thirdPartyFilename}" default-value="THIRD-PARTY.txt" * @required * @since 2.3 */ @@ -119,16 +115,18 @@ protected String bundleThirdPartyPath; /** - * Un flag pour faire une copie nommé dans META-INF (prefixe avec le nom de - * l'artifact). + * A flag to copy a bundled version of the third-party file. This is usefull + * to avoid for a final application collision name of third party file. * + * The file will be copied at the {@link #bundleThirdPartyPath} location. + * * @parameter expression="${license.generateBundle}" default-value="false" * @since 2.3 */ protected boolean generateBundle; /** - * Un flag pour forcer la generation. + * To force generation of the third-party file even if every thing is up to date. * * @parameter expression="${license.force}" default-value="false" * @since 2.3 Modified: trunk/src/main/java/org/nuiton/license/plugin/AddThirdPartyMojo.java =================================================================== --- trunk/src/main/java/org/nuiton/license/plugin/AddThirdPartyMojo.java 2010-11-17 10:34:03 UTC (rev 1878) +++ trunk/src/main/java/org/nuiton/license/plugin/AddThirdPartyMojo.java 2010-11-18 20:25:57 UTC (rev 1879) @@ -48,10 +48,14 @@ import java.util.regex.PatternSyntaxException; /** - * Le goal pour copier le fichier THIRD-PARTY.txt (contenant les licenses de - * toutes les dependances du projet) dans le classpath (et le generer s'il - * n'existe pas). + * The gola to generate the third-party file. * + * This file contains for all dependencies of the project a line giving the + * license used by the dependency. + * + * It will also copy it in the class-path (says add the generated directory as + * a resource of the build). + * * @author tchemit <chemit@codelutin.com> * @goal add-third-party * @phase generate-resources Modified: trunk/src/main/java/org/nuiton/license/plugin/CommentStyleListMojo.java =================================================================== --- trunk/src/main/java/org/nuiton/license/plugin/CommentStyleListMojo.java 2010-11-17 10:34:03 UTC (rev 1878) +++ trunk/src/main/java/org/nuiton/license/plugin/CommentStyleListMojo.java 2010-11-18 20:25:57 UTC (rev 1879) @@ -47,7 +47,7 @@ public class CommentStyleListMojo extends AbstractLicenseMojo { /** - * Un drapeau pour afficher aussi le contenu des license. + * A flag to display also the content of each license. * * @parameter expression="${detail}" * @since 2.1 Modified: trunk/src/main/java/org/nuiton/license/plugin/LicenseListMojo.java =================================================================== --- trunk/src/main/java/org/nuiton/license/plugin/LicenseListMojo.java 2010-11-17 10:34:03 UTC (rev 1878) +++ trunk/src/main/java/org/nuiton/license/plugin/LicenseListMojo.java 2010-11-18 20:25:57 UTC (rev 1879) @@ -48,7 +48,7 @@ public class LicenseListMojo extends AbstractLicenseMojo implements PluginWithEncoding { /** - * La baseURL d'un resolver de license supplementaire + * the url of an extra license repository. * * @parameter expression="${extraResolver}" * @since 1.0.1 @@ -56,7 +56,7 @@ private String extraResolver; /** - * Un drapeau pour afficher aussi le contenu des license. + * A flag to display also the content of each license. * * @parameter expression="${detail}" * @since 1.0.1
participants (1)
-
tchemit@users.nuiton.org