mirror of https://github.com/apache/maven.git
Fix version check.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2af9312363
commit
1b69341a19
|
@ -90,7 +90,7 @@ public class GenerateApplicationXmlMojo
|
|||
getLog().debug( "encoding[" + encoding + "]" );
|
||||
getLog().debug( "generatedDescriptorLocation[" + generatedDescriptorLocation + "]" );
|
||||
|
||||
if ( !version.equals( VERSION_1_3 ) && version.equals( VERSION_1_4 ) )
|
||||
if ( !version.equals( VERSION_1_3 ) && !version.equals( VERSION_1_4 ) )
|
||||
{
|
||||
throw new MojoExecutionException( "Invalid version[" + version + "]" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue