You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by mc...@apache.org on 2008/02/05 12:25:13 UTC

svn commit: r618610 - /felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java

Author: mcculls
Date: Tue Feb  5 03:25:08 2008
New Revision: 618610

URL: http://svn.apache.org/viewvc?rev=618610&view=rev
Log:
FELIX-475: simplify deploy goal (don't need custom bundle url)

Modified:
    felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java

Modified: felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
URL: http://svn.apache.org/viewvc/felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java?rev=618610&r1=618609&r2=618610&view=diff
==============================================================================
--- felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java (original)
+++ felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java Tue Feb  5 03:25:08 2008
@@ -71,13 +71,6 @@
     private String altDeploymentRepository;
 
     /**
-     * Optional public URL where the bundle has been deployed.
-     *
-     * @parameter expression="${bundleUrl}"
-     */
-    private String bundleUrl;
-
-    /**
      * Local Repository.
      * 
      * @parameter expression="${localRepository}"
@@ -120,12 +113,6 @@
             return;
         }
 
-        URI remoteBundleURI = null;
-        if ( null != bundleUrl )
-        {
-            remoteBundleURI = URI.create( bundleUrl );
-        }
-
         URI tempURI = ObrUtils.findRepositoryXml( "", obrRepository );
         String repositoryName = new File( tempURI.getPath() ).getName();
 
@@ -153,7 +140,6 @@
             URI bundleJar = ObrUtils.findBundleJar( localRepository, project.getArtifact() );
 
             Config userConfig = new Config();
-            userConfig.setRemoteBundle( remoteBundleURI );
             userConfig.setPathRelative( true );
             userConfig.setRemoteFile( true );