fix sclusion parsing

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-16 07:17:36 +00:00
parent 9c1bd7126e
commit 9330158aab
1 changed files with 6 additions and 6 deletions

View File

@ -179,6 +179,12 @@ public class ModelReader
{ {
insideReleases = true; insideReleases = true;
} }
else if ( rawName.equals( "exclusion" ) && insideDependency )
{
insideExclusion = true;
currentExclusion = new Exclusion();
}
depth++; depth++;
} }
@ -330,12 +336,6 @@ public class ModelReader
{ {
currentDependency.setScope( getBodyText() ); currentDependency.setScope( getBodyText() );
} }
else if ( rawName.equals( "exclusion" ) )
{
insideExclusion = true;
currentExclusion = new Exclusion();
}
} }
else if ( insideResource ) else if ( insideResource )
{ {