pde-target:add-pom-dependencies
Full name:
lt.velykis.maven:pde-target-maven-plugin:1.0.1:add-pom-dependencies
Description:
The Maven dependencies are added as explicit directories in local Maven repository to the target definition.
Note that the goal extends Maven Dependency Plugin configuration and thus provides some extra configuration options not directly applicable to it.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope: test.
- Binds by default to the lifecycle phase: process-resources.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
baseDefinition | File | - | The location of base target definition that will be augmented with POM dependencies. User property is: pde.target.baseDefinition. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
classifier | String | 2.0 | Specify classifier to look for. Example: sources User property is: classifier. |
excludeArtifactIds | String | 2.0 | Comma separated list of Artifact names to exclude. User property is: excludeArtifactIds. |
excludeClassifiers | String | 2.0 | Comma Separated list of Classifiers to exclude. Empty String indicates don't exclude anything (default). User property is: excludeClassifiers. |
excludeGroupIds | String | 2.0 | Comma separated list of GroupId Names to exclude. User property is: excludeGroupIds. |
excludeP2 | boolean | - | Exclude P2 artifact dependencies (eclipse-plugin, eclipse-feature, etc) from the generated target definition. Default value is: true. User property is: pde.target.excludeP2. |
excludeScope | String | 2.0 | Scope to exclude. An Empty string indicates no scopes (default). User property is: excludeScope. |
excludeTransitive | boolean | 2.0 | If we should exclude transitive dependencies Default value is: false. User property is: excludeTransitive. |
excludeTypes | String | 2.0 | Comma Separated list of Types to exclude. Empty String indicates don't exclude anything (default). User property is: excludeTypes. |
includeArtifactIds | String | 2.0 | Comma separated list of Artifact names to include. User property is: includeArtifactIds. |
includeClassifiers | String | 2.0 | Comma Separated list of Classifiers to include. Empty String indicates include everything (default). User property is: includeClassifiers. |
includeGroupIds | String | 2.0 | Comma separated list of GroupIds to include. User property is: includeGroupIds. |
includeScope | String | 2.0 | Scope to include. An Empty string indicates all scopes (default). User property is: includeScope. |
includeTypes | String | 2.0 | Comma Separated list of Types to include. Empty String indicates include everything (default). User property is: includeTypes. |
markersDirectory | File | 2.0 | Directory to store flag files Default value is: ${project.build.directory}/dependency-maven-plugin-markers. User property is: markersDirectory. |
outputAbsoluteArtifactFilename | boolean | 2.0 | Output absolute filename for resolved artifacts Default value is: false. User property is: outputAbsoluteArtifactFilename. |
outputFile | File | - | The output target definition file location. User property is: pde.target.outputFile. |
overWriteIfNewer | boolean | 2.0 | Overwrite artifacts that don't exist or are older than the source. Default value is: true. User property is: overWriteIfNewer. |
overWriteReleases | boolean | 1.0 | Overwrite release artifacts Default value is: false. User property is: overWriteReleases. |
overWriteSnapshots | boolean | 1.0 | Overwrite snapshot artifacts Default value is: false. User property is: overWriteSnapshots. |
prependGroupId | boolean | 2.2 | Prepend the groupId during copy. Default value is: false. User property is: mdep.prependGroupId. |
reactorProjects | List | - | Contains the full list of projects in the reactor. Default value is: ${reactorProjects}. |
silent | boolean | 2.0 | If the plugin should be silent. Default value is: false. User property is: silent. |
type | String | 2.0 | Specify type to look for when constructing artifact based on classifier. Example: java-source,jar,war User property is: type. |
useJvmChmod | boolean | 2.5.1 | will use the jvm chmod, this is available for user and all level group level will be ignored since 2.6 is on by defaultDefault value is: true. User property is: dependency.useJvmChmod. |
Parameter Details
- Type: java.io.File
- Required: Yes
- User Property: pde.target.baseDefinition
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: classifier
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: excludeArtifactIds
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: excludeClassifiers
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: excludeGroupIds
- Type: boolean
- Required: No
- User Property: pde.target.excludeP2
- Default: true
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: excludeScope
- Type: boolean
- Since: 2.0
- Required: No
- User Property: excludeTransitive
- Default: false
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: excludeTypes
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: includeArtifactIds
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: includeClassifiers
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: includeGroupIds
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: includeScope
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: includeTypes
- Type: java.io.File
- Since: 2.0
- Required: No
- User Property: markersDirectory
- Default: ${project.build.directory}/dependency-maven-plugin-markers
outputAbsoluteArtifactFilename:
- Type: boolean
- Since: 2.0
- Required: No
- User Property: outputAbsoluteArtifactFilename
- Default: false
- Type: java.io.File
- Required: No
- User Property: pde.target.outputFile
- Type: boolean
- Since: 2.0
- Required: No
- User Property: overWriteIfNewer
- Default: true
- Type: boolean
- Since: 1.0
- Required: No
- User Property: overWriteReleases
- Default: false
- Type: boolean
- Since: 1.0
- Required: No
- User Property: overWriteSnapshots
- Default: false
- Type: boolean
- Since: 2.2
- Required: No
- User Property: mdep.prependGroupId
- Default: false
- Type: java.util.List
- Required: No
- Default: ${reactorProjects}
- Type: boolean
- Since: 2.0
- Required: No
- User Property: silent
- Default: false
type:
- Type: java.lang.String
- Since: 2.0
- Required: No
- User Property: type
will use the jvm chmod, this is available for user and all level group level will be ignored
since 2.6 is on by default- Type: boolean
- Since: 2.5.1
- Required: No
- User Property: dependency.useJvmChmod
- Default: true