mirror of https://github.com/apache/maven.git
fix ordering of display-name and description in accordance with the xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9c9133460
commit
9ea0f181cc
|
@ -76,13 +76,6 @@ public final class ApplicationXmlWriter
|
||||||
writer = initializeRootElementOneDotFour( w );
|
writer = initializeRootElementOneDotFour( w );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( displayName != null )
|
|
||||||
{
|
|
||||||
writer.startElement( "display-name" );
|
|
||||||
writer.writeText( displayName );
|
|
||||||
writer.endElement();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( description != null )
|
if ( description != null )
|
||||||
{
|
{
|
||||||
writer.startElement( "description" );
|
writer.startElement( "description" );
|
||||||
|
@ -90,6 +83,13 @@ public final class ApplicationXmlWriter
|
||||||
writer.endElement();
|
writer.endElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( displayName != null )
|
||||||
|
{
|
||||||
|
writer.startElement( "display-name" );
|
||||||
|
writer.writeText( displayName );
|
||||||
|
writer.endElement();
|
||||||
|
}
|
||||||
|
|
||||||
Iterator i = earModules.iterator();
|
Iterator i = earModules.iterator();
|
||||||
while ( i.hasNext() )
|
while ( i.hasNext() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue