fix it and missing annotations to descriptor values set
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343198 13f79535-47bb-0310-9956-ffa450edef68master
parent
f6ac9094af
commit
267ed41c4c
|
|
@ -140,8 +140,8 @@ assert mojo.implementation.text() == 'org.apache.maven.plugin.coreit.Minimal'
|
|||
assert mojo.language.text() == 'java'
|
||||
assert mojo.description.text() == ''
|
||||
assert mojo.deprecated.text() == ''
|
||||
assert mojo.requiresDependencyResolution.text() == ''
|
||||
assert mojo.requiresDependencyCollection.text() == ''
|
||||
assert mojo.requiresDependencyResolution.text() == 'runtime'
|
||||
assert mojo.requiresDependencyCollection.text() == 'runtime'
|
||||
assert mojo.requiresProject.text() == 'true'
|
||||
assert mojo.requiresOnline.text() == 'false'
|
||||
assert mojo.requiresDirectInvocation.text() == 'false'
|
||||
|
|
@ -175,8 +175,8 @@ assert mojo.implementation.text() == 'org.apache.maven.plugin.coreit.Maximal'
|
|||
assert mojo.language.text() == 'java'
|
||||
assert mojo.description.text() == 'Checks maximum annotations with non-default values.'
|
||||
assert mojo.deprecated.text() == 'deprecated-text'
|
||||
assert mojo.requiresDependencyResolution.text() == 'compile'
|
||||
assert mojo.requiresDependencyCollection.text() == 'test'
|
||||
assert mojo.requiresDependencyResolution.text() == 'test'
|
||||
assert mojo.requiresDependencyCollection.text() == 'compile'
|
||||
assert mojo.requiresProject.text() == 'false'
|
||||
assert mojo.requiresOnline.text() == 'true'
|
||||
assert mojo.requiresDirectInvocation.text() == 'true'
|
||||
|
|
|
|||
|
|
@ -498,6 +498,14 @@ public class JavaAnnotationsMojoDescriptorExtractor
|
|||
|
||||
mojoDescriptor.setProjectRequired( mojo.requiresProject() );
|
||||
|
||||
mojoDescriptor.setRequiresReports( mojo.requiresReports() );
|
||||
|
||||
mojoDescriptor.setComponentConfigurator( mojo.configurator() );
|
||||
|
||||
mojoDescriptor.setInheritedByDefault( mojo.inheritByDefault() );
|
||||
|
||||
mojoDescriptor.setInstantiationStrategy( mojo.instantiationStrategy().id() );
|
||||
|
||||
mojoDescriptor.setAggregator( mojo.aggregator() );
|
||||
mojoDescriptor.setDependencyResolutionRequired( mojo.requiresDependencyResolution().id() );
|
||||
mojoDescriptor.setDependencyCollectionRequired( mojo.requiresDependencyCollection().id() );
|
||||
|
|
|
|||
Loading…
Reference in New Issue