You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/10/23 02:31:57 UTC

svn commit: r707234 - in /tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin: ThirdPartyBundleBuildMojo.java ThirdPartyBundleClasspathGeneratorMojo.java

Author: jsdelfino
Date: Wed Oct 22 17:31:57 2008
New Revision: 707234

URL: http://svn.apache.org/viewvc?rev=707234&view=rev
Log:
Added comments to maven bundle plugin. Removed obsolete plugin.

Removed:
    tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleClasspathGeneratorMojo.java
Modified:
    tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleBuildMojo.java

Modified: tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleBuildMojo.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleBuildMojo.java?rev=707234&r1=707233&r2=707234&view=diff
==============================================================================
--- tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleBuildMojo.java (original)
+++ tuscany/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ThirdPartyBundleBuildMojo.java Wed Oct 22 17:31:57 2008
@@ -35,15 +35,18 @@
 import org.apache.maven.project.MavenProject;
 
 /**
+ * A Maven plugin that builds an OSGi bundle for the project's third-party dependencies.
+ * 
  * @version $Rev$ $Date$
  * @goal assemble-thirdparty-bundle
  * @phase generate-resources
  * @requiresDependencyResolution test
- * @description Build an OSGi bundle for third party dependencies
+ * @description Build an OSGi bundle for the project's third party dependencies
  */
 public class ThirdPartyBundleBuildMojo extends AbstractMojo {
+    
     /**
-     * The project to create a build for.
+     * The project to build the bundle for.
      *
      * @parameter expression="${project}"
      * @required
@@ -61,10 +64,6 @@
     public void execute() throws MojoExecutionException {
         Log log = getLog();
 
-        if (project.getPackaging().equals("pom")) {
-            return;
-        }
-
         String projectGroupId = project.getGroupId();
         Set<File> jarFiles = new HashSet<File>();
         for (Object o : project.getArtifacts()) {