Generate eclipse project only for projects with packaging != pom

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188731 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-06-07 08:35:04 +00:00
parent 420d9a5fca
commit b33c9d140f
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,12 @@ public class EclipsePlugin
{
throw new MojoExecutionException( "There must be a POM in the current working directory for the Eclipse plugin to work." );
}
if ( "pom".equals( project.getPackaging() ) )
{
getLog().info( "Don't generate Eclipse project for pom project" );
return;
}
try
{