Author: tchemit Date: 2013-04-08 17:03:24 +0200 (Mon, 08 Apr 2013) New Revision: 1999 Url: http://nuiton.org/projects/i18n/repository/revisions/1999 Log: fixes #2654: Unable to build when using tapestry Modified: trunk/i18n-maven-plugin/src/main/java/org/nuiton/i18n/plugin/bundle/TapestryBundleMojo.java Modified: trunk/i18n-maven-plugin/src/main/java/org/nuiton/i18n/plugin/bundle/TapestryBundleMojo.java =================================================================== --- trunk/i18n-maven-plugin/src/main/java/org/nuiton/i18n/plugin/bundle/TapestryBundleMojo.java 2013-04-08 14:50:16 UTC (rev 1998) +++ trunk/i18n-maven-plugin/src/main/java/org/nuiton/i18n/plugin/bundle/TapestryBundleMojo.java 2013-04-08 15:03:24 UTC (rev 1999) @@ -25,6 +25,10 @@ package org.nuiton.i18n.plugin.bundle; +import org.apache.maven.plugins.annotations.Execute; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.ResolutionScope; import org.nuiton.i18n.bundle.I18nBundleEntry; import org.nuiton.i18n.bundle.I18nBundleUtil; import org.nuiton.io.SortedProperties; @@ -47,16 +51,16 @@ * (or removed since the {@code bundle} mojo do the same with more options)... * * @author tchemit <chemit@codelutin.com> - * @goal tapestry-bundle - * @phase generate-resources - * @execute goal=collect-i18n-artifacts - * @requiresProject true - * @requiresDependencyResolution runtime * @since 1.2 * @deprecated since 2.4, will not be replaced, use the simple {@code bundle} * goal instead */ @Deprecated +@Mojo(name = "tapestry-bundle", + defaultPhase = LifecyclePhase.GENERATE_RESOURCES, + requiresProject = true, + requiresDependencyResolution = ResolutionScope.RUNTIME) +@Execute(goal = "collect-i18n-artifacts") public class TapestryBundleMojo extends AbstractMakeI18nBundleMojo { @Override