snagjar:install

Full name:

net.adamcin:snagjar-maven-plugin:1.3.4:install

Description:

Installs snagged artifacts to the local maven repository

Attributes:

  • Since version: 0.8.0.

Optional Parameters

Name Type Since Description
filter String 0.8.0
applies a standard GAV (groupId:artifactId:version) filter to the snagged artifacts (format: *:*:*)

Default value is: *.
User property is: filter.
generatePoms boolean 1.2.0
Specify true to install generated "jar" pom when a parent pom is unresolvable, which omits dependencies and the parent pom reference

User property is: generatePoms.
indexFile File 0.8.0
specify the location of the generated index file, useful for subsequent shell processing of snagged artifacts

Default value is: snagIndex.txt.
User property is: indexFile.
localRepositoryPath File 0.8.0
Specify the local repository path Refer to maven-install-plugin:install-file

User property is: localRepositoryPath.
recursive boolean 0.8.0
set to true to recursively scan directories for jar files

User property is: recursive.
repositoryLayout String 0.8.0
Specify the repository layout to use for local and remote repositories

User property is: repositoryLayout.
skip boolean 0.8.0
set to true to skip mojo execution altogether

User property is: skip.
snagFile File 0.8.0
jar or directory containing jars to snag

Default value is: ..
User property is: snagFile.

Parameter Details

filter:

applies a standard GAV (groupId:artifactId:version) filter to the snagged artifacts (format: *:*:*)
  • Type: java.lang.String
  • Since: 0.8.0
  • Required: No
  • User Property: filter
  • Default: *

generatePoms:

Specify true to install generated "jar" pom when a parent pom is unresolvable, which omits dependencies and the parent pom reference
  • Type: boolean
  • Since: 1.2.0
  • Required: No
  • User Property: generatePoms

indexFile:

specify the location of the generated index file, useful for subsequent shell processing of snagged artifacts
  • Type: java.io.File
  • Since: 0.8.0
  • Required: No
  • User Property: indexFile
  • Default: snagIndex.txt

localRepositoryPath:

Specify the local repository path Refer to maven-install-plugin:install-file
  • Type: java.io.File
  • Since: 0.8.0
  • Required: No
  • User Property: localRepositoryPath

recursive:

set to true to recursively scan directories for jar files
  • Type: boolean
  • Since: 0.8.0
  • Required: No
  • User Property: recursive

repositoryLayout:

Specify the repository layout to use for local and remote repositories
  • Type: java.lang.String
  • Since: 0.8.0
  • Required: No
  • User Property: repositoryLayout

skip:

set to true to skip mojo execution altogether
  • Type: boolean
  • Since: 0.8.0
  • Required: No
  • User Property: skip

snagFile:

jar or directory containing jars to snag
  • Type: java.io.File
  • Since: 0.8.0
  • Required: No
  • User Property: snagFile
  • Default: .