maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r382866 - /maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java
Date Fri, 03 Mar 2006 15:32:00 GMT
Author: epunzalan
Date: Fri Mar  3 07:31:59 2006
New Revision: 382866

URL: http://svn.apache.org/viewcvs?rev=382866&view=rev
Log:
Fixed a bug occurring when deps have the same artifactId but different groupId

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

Modified: maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java?rev=382866&r1=382865&r2=382866&view=diff
==============================================================================
--- maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java
(original)
+++ maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java
Fri Mar  3 07:31:59 2006
@@ -320,6 +320,7 @@
                 if ( a.getFile() != null && !isIdeaModule )
                 {
                     dep.setAttribute( "type", "module-library" );
+                    removeOldElements( dep, "library" );
                     dep = createElement( dep, "library" );
                     dep.setAttribute( "name", moduleName );
 



Mime
View raw message