MPLUGIN-62: Exclude read-only components from plugin goal documentation

Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o patch applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@595947 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2007-11-17 13:36:26 +00:00
parent bd1e8d1444
commit 437400150a
1 changed files with 5 additions and 0 deletions

View File

@ -427,6 +427,11 @@ public class JavaMojoDescriptorExtractor
pd.setRequirement( new Requirement( role, roleHint ) );
pd.setName( (String) entry.getKey() );
pd.setEditable( false );
/* TODO: or better like this? Need @component fields be editable for the user?
pd.setEditable( field.getTagByName( READONLY ) == null );
*/
}
else
{