maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r327862 - /maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java
Date Sun, 23 Oct 2005 21:38:39 GMT
Author: brett
Date: Sun Oct 23 14:38:36 2005
New Revision: 327862

URL: http://svn.apache.org/viewcvs?rev=327862&view=rev
Log:
PR: MNG-993
Submitted by: Edwin Punzalan
only write workspace and project at root of execution

Modified:
    maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java

Modified: maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java?rev=327862&r1=327861&r2=327862&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java
(original)
+++ maven/components/trunk/maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java
Sun Oct 23 14:38:36 2005
@@ -88,9 +88,12 @@
 
         rewriteModule();
 
-        rewriteProject();
+        if ( project.isExecutionRoot() ) 
+        {
+            rewriteProject();
 
-        rewriteWorkspace();
+            rewriteWorkspace();
+        }
     }
 
     /**



Mime
View raw message