Full name:
org.apache.maven.plugins:maven-plugin-plugin:3.6.4:descriptor
Description:
Generate a plugin descriptor.
Note: Since 3.0, for Java plugin annotations support, default phase defined by this goal is after the "compilation" of any scripts. This doesn't override the default binding coded at generate-resources phase in Maven core.
Attributes:
compile+runtime
.2.0
.process-classes
.Name | Type | Since | Description |
---|---|---|---|
<checkExpectedProvidedScope> |
boolean |
3.6.3 |
Flag controlling is "expected dependencies in provided scope" check
to be performed or not. Default value: true .Default value is: true .User property is: maven.plugin.checkExpectedProvidedScope . |
<encoding> |
String |
2.5 |
The file encoding of the source files. Default value is: ${project.build.sourceEncoding} .User property is: encoding . |
<expectedProvidedScopeExclusions> |
List |
3.6.3 |
List of groupId:artifactId strings of artifact
coordinates that are to be excluded from "expected provided scope"
check. Default value: ["org.apache.maven:maven-archiver",
"org.apache.maven:maven-jxr"] . |
<expectedProvidedScopeGroupIds> |
List |
3.6.3 |
List of groupId strings of artifact coordinates that
are expected to be in "provided" scope. Default value:
["org.apache.maven"] . |
<extractors> |
Set |
2.0 |
The role names of mojo extractors to use. If not set, all mojo extractors will be used. If set to an empty extractor name, no mojo extractors will be used. Example:<!-- Use all mojo extractors --> <extractors/> <!-- Use no mojo extractors --> <extractors> <extractor/> </extractors> <!-- Use only bsh mojo extractor --> <extractors> <extractor>bsh</extractor> </extractors> |
<goalPrefix> |
String |
2.0 |
The goal prefix that will appear before the ":". |
<mojoDependencies> |
List |
3.5 |
Specify the dependencies as groupId:artifactId
containing (abstract) Mojos, to filter dependencies scanned at
runtime and focus on dependencies that are really useful to Mojo
analysis. By default, the value is null and all
dependencies are scanned (as before this parameter was added). If
specified in the configuration with no children, no dependencies
are scanned. |
<packagingTypes> |
List |
3.3 |
Maven plugin packaging types. Default is single "maven-plugin". |
<skip> |
boolean |
2.8 |
Set this to "true" to skip invoking any goals or reports of the
plugin. Default value is: false .User property is: maven.plugin.skip . |
<skipDescriptor> |
boolean |
2.6 |
A flag to disable generation of the plugin.xml in
favor of a hand authored plugin descriptor.Default value is: false . |
<skipErrorNoDescriptorsFound> |
boolean |
3.0 |
By default an exception is throw if no mojo descriptor is found. As
the maven-plugin is defined in core, the descriptor generator mojo
is bound to generate-resources phase. But for annotations, the
compiled classes are needed, so skip error Default value is: false .User property is: maven.plugin.skipErrorNoDescriptorsFound . |
true
.boolean
3.6.3
No
maven.plugin.checkExpectedProvidedScope
true
java.lang.String
2.5
No
encoding
${project.build.sourceEncoding}
groupId:artifactId
strings of artifact
coordinates that are to be excluded from "expected provided scope"
check. Default value: ["org.apache.maven:maven-archiver",
"org.apache.maven:maven-jxr"]
.java.util.List
3.6.3
No
groupId
strings of artifact coordinates that
are expected to be in "provided" scope. Default value:
["org.apache.maven"]
.java.util.List
3.6.3
No
The role names of mojo extractors to use.
If not set, all mojo extractors will be used. If set to an empty extractor name, no mojo extractors will be used.
Example:<!-- Use all mojo extractors --> <extractors/> <!-- Use no mojo extractors --> <extractors> <extractor/> </extractors> <!-- Use only bsh mojo extractor --> <extractors> <extractor>bsh</extractor> </extractors>
java.util.Set
2.0
No
java.lang.String
2.0
No
groupId:artifactId
containing (abstract) Mojos, to filter dependencies scanned at
runtime and focus on dependencies that are really useful to Mojo
analysis. By default, the value is null
and all
dependencies are scanned (as before this parameter was added). If
specified in the configuration with no children, no dependencies
are scanned.java.util.List
3.5
No
java.util.List
3.3
No
boolean
2.8
No
maven.plugin.skip
false
plugin.xml
in
favor of a hand authored plugin descriptor.boolean
2.6
No
false
boolean
3.0
No
maven.plugin.skipErrorNoDescriptorsFound
false