From 8d6f2f113988084394eafa9e9e79a80f4cf4e1ff Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Wed, 17 Jun 2009 14:56:19 +0000 Subject: [PATCH] o Added boolean accessors git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785641 13f79535-47bb-0310-9956-ffa450edef68 --- maven-model/src/main/mdo/maven.mdo | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/maven-model/src/main/mdo/maven.mdo b/maven-model/src/main/mdo/maven.mdo index d2e2172f5c..d3be0924f9 100644 --- a/maven-model/src/main/mdo/maven.mdo +++ b/maven-model/src/main/mdo/maven.mdo @@ -3309,8 +3309,14 @@ inherited 4.0.0 String - Whether the configuration in this plugin should be made available to projects - that inherit from this one. + + String + for technical reasons, the semantic type is actually Boolean. + Default value is true. + ]]> + configuration @@ -3388,6 +3394,16 @@ return groupId + ":" + artifactId; } + public boolean isInherited() + { + return ( inherited != null ) ? Boolean.parseBoolean( inherited ) : true; + } + + public void setInherited( boolean inherited ) + { + this.inherited = String.valueOf( inherited ); + } + private boolean inheritanceApplied = true; public void unsetInheritanceApplied()