FELIX-475: simplify deploy goal (don't need custom bundle url)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@618610 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java b/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
index ab24490..fc0edce 100644
--- a/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
+++ b/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
@@ -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 );