Class ResolveDependencySourcesMojo

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

@Mojo(name="sources", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=TEST, threadSafe=true) public class ResolveDependencySourcesMojo extends ResolveDependenciesMojo
Goal that resolves the project source dependencies from the repository.
Since:
2.0-alpha2
  • Field Details

  • Constructor Details

    • ResolveDependencySourcesMojo

      public ResolveDependencySourcesMojo()
  • Method Details

    • doExecute

      protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException
      Main entry into mojo. Gets the list of dependencies and iterates through resolving the source jars.
      Overrides:
      doExecute in class ResolveDependenciesMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.