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:
Emmanuel Venisse 2005-07-04 13:49:35 +00:00
parent 2af9312363
commit 1b69341a19
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public void execute()
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 + "]" );
}