Class AbstractResolveMojo

    • Field Detail

      • outputFile

        @Parameter(property="outputFile")
        protected java.io.File outputFile
        If specified, this parameter will cause the dependencies to be written to the path specified, instead of writing to the console.
        Since:
        2.0
      • appendOutput

        @Parameter(property="appendOutput",
                   defaultValue="false")
        protected boolean appendOutput
        Whether to append outputs into the output file or overwrite it.
        Since:
        2.2
      • excludeReactor

        @Parameter(property="excludeReactor",
                   defaultValue="true")
        protected boolean excludeReactor
        Don't resolve plugins that are in the current reactor.
        Since:
        2.7
      • useJvmChmod

        @Parameter
        protected boolean useJvmChmod
        not used in this goal
      • ignorePermissions

        @Parameter
        protected boolean ignorePermissions
        not used in this goal
    • Constructor Detail

      • AbstractResolveMojo

        public AbstractResolveMojo()
    • Method Detail

      • getArtifactsFilter

        protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts getArtifactsFilter()
        Returns:
        FilterArtifacts
      • resolveArtifactDependencies

        protected java.util.Set<org.apache.maven.artifact.Artifact> resolveArtifactDependencies​(org.apache.maven.shared.transfer.dependencies.DependableCoordinate artifact)
                                                                                         throws org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
        This method resolves all transitive dependencies of an artifact.
        Parameters:
        artifact - the artifact used to retrieve dependencies
        Returns:
        resolved set of dependencies
        Throws:
        org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException - in case of error while resolving artifacts.