Class GwtSourcesJarMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, GwtModuleReader

    @Deprecated
    @Mojo(name="source-jar",
          defaultPhase=PACKAGE,
          threadSafe=true)
    public class GwtSourcesJarMojo
    extends AbstractGwtModuleMojo
    Deprecated.
    use maven-source-plugin and sources classifier dependencies instead
    Add GWT java source code and module descriptor as resources to project jar. Alternative to gwt:resources for better Eclipse projects synchronization.
    Author:
    Vlad Skarzhevskyy
    • Constructor Detail

      • GwtSourcesJarMojo

        public GwtSourcesJarMojo()
        Deprecated.
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Deprecated.
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
        See Also:
        Mojo.execute()
      • getAllResourceFiles

        protected Collection<org.codehaus.mojo.gwt.GwtResourcesBaseMojo.ResourceFile> getAllResourceFiles()
                                                                                                   throws org.apache.maven.plugin.MojoExecutionException
        Collect GWT java source code and module descriptor to be added as resources.
        Throws:
        org.apache.maven.plugin.MojoExecutionException