mirror of https://github.com/apache/maven.git
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:
parent
9c1bd7126e
commit
9330158aab
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue