You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jm...@apache.org on 2006/05/15 06:12:08 UTC

svn commit: r406527 - /maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaModuleMojo.java

Author: jmcconnell
Date: Sun May 14 21:12:07 2006
New Revision: 406527

URL: http://svn.apache.org/viewcvs?rev=406527&view=rev
Log:
small tweak to the plugin.xml path, need to add things into the idea mojo at some point and tweak the init params, but still not sure how I want to so that since the current way to tweak the generated module type is through the pom's type which isn't possible atm, hence the ideaPlugin boolean config option

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=406527&r1=406526&r2=406527&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 Sun May 14 21:12:07 2006
@@ -780,7 +780,7 @@
         // this is where the META-INF/plugin.xml file is located
         Element pluginDevElement = createElement( module, "component" );
         pluginDevElement.addAttribute( "name", "DevKit.ModuleBuildProperties" );
-        pluginDevElement.addAttribute( "url", getModuleFileUrl( executedProject.getBasedir(), "src/main/resources" ) );
+        pluginDevElement.addAttribute( "url", getModuleFileUrl( "src/main/resources/META-INF/plugin.xml" ) );
     }
 
     /**