added back processing of isolatedRealm

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-06-01 23:53:06 +00:00
parent 3d003af361
commit 6ea3096434
2 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,13 @@ public class PluginDescriptorBuilder
pluginDescriptor.setArtifactId( c.getChild( "artifactId" ).getValue() );
pluginDescriptor.setVersion( c.getChild( "version" ).getValue() );
pluginDescriptor.setGoalPrefix( c.getChild( "goalPrefix" ).getValue() );
String isolatedRealm = c.getChild( "isolatedRealm" ).getValue();
if( isolatedRealm != null )
{
pluginDescriptor.setIsolatedRealm( Boolean.valueOf( isolatedRealm ).booleanValue() );
}
String inheritedByDefault = c.getChild( "inheritedByDefault" ).getValue();

View File

@ -69,6 +69,8 @@ public class PluginDescriptorGenerator
element( w, "version", pluginDescriptor.getVersion() );
element( w, "goalPrefix", pluginDescriptor.getGoalPrefix() );
element( w, "isolatedRealm", "" + pluginDescriptor.isIsolatedRealm() );
element( w, "inheritedByDefault", "" + pluginDescriptor.isInheritedByDefault() );