directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r698476 - /directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
Date Wed, 24 Sep 2008 09:26:09 GMT
Author: felixk
Date: Wed Sep 24 02:26:09 2008
New Revision: 698476

URL: http://svn.apache.org/viewvc?rev=698476&view=rev
Log:
I'm quite sure, you want to for the goal whenever (!skip) and not if (!skip && project.isExecutionRoot()),
what means that your in the root of the project (and not in a subproject).

Modified:
    directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java

Modified: directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
URL: http://svn.apache.org/viewvc/directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java?rev=698476&r1=698475&r2=698476&view=diff
==============================================================================
--- directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
(original)
+++ directory/studio-plugin/trunk/src/main/java/org/apache/directory/studio/maven/plugins/StudioEclipseMojo.java
Wed Sep 24 02:26:09 2008
@@ -103,16 +103,13 @@
                 // copy Artifacts
                 copyArtifacts( artifactList );
 
-                if ( project.isExecutionRoot() )
+                try
                 {
-                    try
-                    {
-                        forkMvnGoal( "bundle:manifest" );
-                    }
-                    catch ( Exception e )
-                    {
-                        throw new MojoExecutionException( e.getMessage() );
-                    }
+                    forkMvnGoal( "bundle:manifest" );
+                }
+                catch ( Exception e )
+                {
+                    throw new MojoExecutionException( e.getMessage() );
                 }
 
                 // Update .classpath



Mime
View raw message