Author: evenisse
Date: Tue Jun 7 01:35:04 2005
New Revision: 188731
URL: http://svn.apache.org/viewcvs?rev=188731&view=rev
Log:
Generate eclipse project only for projects with packaging != pom
Modified:
maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
Modified:
maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java?rev=188731&r1=188730&r2=188731&view=diff
==============================================================================
---
maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
(original)
+++
maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
Tue Jun 7 01:35:04 2005
@@ -75,6 +75,12 @@
{
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
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]