maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r383158 - in /maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea: AbstractIdeaMojo.java IdeaModuleMojo.java
Date Sat, 04 Mar 2006 17:02:55 GMT
Author: epunzalan
Date: Sat Mar  4 09:02:54 2006
New Revision: 383158

URL: http://svn.apache.org/viewcvs?rev=383158&view=rev
Log:
Removed <sources/> and <javadoc/> tags in ipr when no sources or javadoc are found
for a library.
Also, moved stacktrace print to debug during dependency resolution

Modified:
    maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java
    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/AbstractIdeaMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java?rev=383158&r1=383157&r2=383158&view=diff
==============================================================================
--- maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java
(original)
+++ maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java
Sat Mar  4 09:02:54 2006
@@ -237,11 +237,11 @@
             }
             catch ( ArtifactNotFoundException e )
             {
-                e.printStackTrace();
+                getLog().debug( e.toString() );
             }
             catch ( ArtifactResolutionException e )
             {
-                e.printStackTrace();
+                getLog().debug( e.toString() );
             }
         }
     }

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=383158&r1=383157&r2=383158&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
Sat Mar  4 09:02:54 2006
@@ -797,9 +797,6 @@
         Xpp3Dom el = createElement( dep, "CLASSES" );
         el = createElement( el, "root" );
         el.setAttribute( "url", getModuleFileUrl( directory ) );
-
-        createElement( dep, "JAVADOC" );
-        createElement( dep, "SOURCES" );
     }
 
     /**



Mime
View raw message