Class/Object

net.adamcin.snagjar.mojo

DependenciesMojo

Related Docs: object DependenciesMojo | package mojo

Permalink

class DependenciesMojo extends AbstractSnagJarMojo[TreeSet[GAV]] with AccessToRepositories

Snags artifacts into a sorted, unique <dependencyManagement> block in a stub maven pom file

Annotations
@Mojo()
Since

0.8.0

Linear Supertypes
AccessToRepositories, AbstractSnagJarMojo[TreeSet[GAV]], AbstractMojo, ContextEnabled, Mojo, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DependenciesMojo
  2. AccessToRepositories
  3. AbstractSnagJarMojo
  4. AbstractMojo
  5. ContextEnabled
  6. Mojo
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DependenciesMojo()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def begin(): TreeSet[GAV]

    Permalink
    Definition Classes
    DependenciesMojoAbstractSnagJarMojo
  6. def buildDescription(): String

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convertArtifactRepo(it: ArtifactRepository): Repository

    Permalink
  9. def convertSettingsRepo(it: Repository): Repository

    Permalink
  10. final val defaultDepsFile: String("deps.xml")

    Permalink
  11. final val defaultFilter: String("*")

    Permalink
    Definition Classes
    AbstractSnagJarMojo
  12. final val defaultIndexFile: String("snagIndex.txt")

    Permalink
    Definition Classes
    AbstractSnagJarMojo
  13. final val defaultSnagFile: String(".")

    Permalink
    Definition Classes
    AbstractSnagJarMojo
  14. val depsFile: File

    Permalink

    Write resulting dependencyManagement section to this path

  15. def end(context: TreeSet[GAV]): Unit

    Permalink
    Definition Classes
    DependenciesMojoAbstractSnagJarMojo
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def execute(): Unit

    Permalink

    core mojo method.

    core mojo method. do not override.

    Definition Classes
    AbstractSnagJarMojo → Mojo
  19. val filter: String

    Permalink

    applies a standard GAV (groupId:artifactId:version) filter to the snagged artifacts (format: *:*:*)

    applies a standard GAV (groupId:artifactId:version) filter to the snagged artifacts (format: *:*:*)

    Definition Classes
    AbstractSnagJarMojo
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def gavToDep(gav: GAV): Dependency

    Permalink
  22. val generatePoms: Boolean

    Permalink

    Specify true to install generated "jar" pom when a parent pom is unresolvable, which omits dependencies and the parent pom reference

    Specify true to install generated "jar" pom when a parent pom is unresolvable, which omits dependencies and the parent pom reference

    Definition Classes
    AccessToRepositories
    Since

    1.2.0

  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getLog(): Log

    Permalink
    Definition Classes
    AbstractMojo → Mojo
  25. def getPluginContext(): Map[_, _]

    Permalink
    Definition Classes
    AbstractMojo → ContextEnabled
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. val indexFile: File

    Permalink

    specify the location of the generated index file, useful for subsequent shell processing of snagged artifacts

    specify the location of the generated index file, useful for subsequent shell processing of snagged artifacts

    Definition Classes
    AbstractSnagJarMojo
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isResolvable(s: Snaggable): Boolean

    Permalink
    Definition Classes
    AccessToRepositories
  30. lazy val layout: ArtifactRepositoryLayout

    Permalink
    Definition Classes
    AccessToRepositories
  31. lazy val localRepository: ArtifactRepository

    Permalink
    Definition Classes
    AccessToRepositories
  32. val localRepositoryPath: File

    Permalink

    Specify the local repository path Refer to maven-install-plugin:install-file

    Specify the local repository path Refer to maven-install-plugin:install-file

    Definition Classes
    AccessToRepositories
  33. def mergeGavs(gavs: TreeSet[GAV]): List[GAV]

    Permalink
  34. val mergeVersions: String

    Permalink

    In the case where multiple versions of an artifact are snagged, specify "high" to include only the highest version in the dependencies, "low" to include only the lowest version in the dependencies, or "none" to include all versions in the dependencies, which would require manual correction to remove duplicates before use in a project dependency tree

  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. lazy val pluginProps: Map[String, String]

    Permalink
    Definition Classes
    AbstractSnagJarMojo
  39. val recursive: Boolean

    Permalink

    set to true to recursively scan directories for jar files

    set to true to recursively scan directories for jar files

    Definition Classes
    AbstractSnagJarMojo
  40. val releasePolicy: ArtifactRepositoryPolicy

    Permalink
    Definition Classes
    AccessToRepositories
  41. lazy val reposFromSettings: List[Repository]

    Permalink
    Definition Classes
    AccessToRepositories
  42. val repositoryLayout: String

    Permalink

    Specify the repository layout to use for local and remote repositories

    Specify the repository layout to use for local and remote repositories

    Definition Classes
    AccessToRepositories
  43. var repositoryLayouts: Map[String, ArtifactRepositoryLayout]

    Permalink
    Definition Classes
    AccessToRepositories
  44. lazy val repositoryRequest: RepositoryRequest

    Permalink
    Definition Classes
    AccessToRepositories
  45. var repositorySystem: RepositorySystem

    Permalink
    Definition Classes
    AccessToRepositories
  46. val scope: String

    Permalink

    Set the 'scope' element for all the snagged dependencies to this value

  47. var session: MavenSession

    Permalink
    Definition Classes
    AccessToRepositories
  48. def setLog(arg0: Log): Unit

    Permalink
    Definition Classes
    AbstractMojo → Mojo
  49. def setPluginContext(arg0: Map[_, _]): Unit

    Permalink
    Definition Classes
    AbstractMojo → ContextEnabled
  50. var settings: Settings

    Permalink
    Definition Classes
    AccessToRepositories
  51. val skip: Boolean

    Permalink

    set to true to skip mojo execution altogether

    set to true to skip mojo execution altogether

    Definition Classes
    AbstractSnagJarMojo
  52. def snagArtifact(context: TreeSet[GAV], artifact: Snaggable): TreeSet[GAV]

    Permalink
    Definition Classes
    DependenciesMojoAbstractSnagJarMojo
  53. val snagFile: File

    Permalink

    jar or directory containing jars to snag

    jar or directory containing jars to snag

    Definition Classes
    AbstractSnagJarMojo
  54. def snaggableToArtifact(s: Snaggable): (Artifact, ProjectArtifactMetadata)

    Permalink
    Definition Classes
    AccessToRepositories
  55. val snapshotPolicy: ArtifactRepositoryPolicy

    Permalink
    Definition Classes
    AccessToRepositories
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  58. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AccessToRepositories

Inherited from AbstractSnagJarMojo[TreeSet[GAV]]

Inherited from AbstractMojo

Inherited from ContextEnabled

Inherited from Mojo

Inherited from AnyRef

Inherited from Any

Ungrouped