mirror of https://github.com/apache/maven.git
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:
parent
420d9a5fca
commit
b33c9d140f
|
@ -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." );
|
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
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue