Hi,
To specify the repository url you can do like this:
mvn clean install \
org.apache.felix:maven-bundle-plugin:deploy \
-DprefixUrl=Maven_REPO_URL -> Maven repository root (if not
indicated, an relative url is computed)
-DremoteOBR=releases.xml \ -> OBR file name
-DaltDeploymentRepository=apache.releases::default::scp://
people.apache.org/www/felix.apache.org/obr -> OBR repository (folder
where repository file will be placed)
Of course, all these settings can be in the pom file.
Regards,
Clement
On 15.01.2009, at 17:12, Richard Feldman wrote:
I am trying to get the bundle:deploy goal to work, as per the
instructions here: http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin(BND)-bundle%3Adeploy
and I have not been able to determine where to specify the URL to
the OBR. The instructions say:
"The remote OBR is found by querying the <distributionManagement>
section of the project..." Then under "configuration", it lists:
"remoteOBR - name of remote OBR, defaults to NONE (which means no
remote OBR deployment)"
I assume what I need to do is to set the remoteOBR property to the
URL of my OBR (in this case, localhost, as I am testing using a
local Tomcat instance). However, I am not sure where to actually put
the remoteOBR in my POM. The first thing I tried was:
<project>
[...]
<distributionManagement>
<remoteOBR>http://localhost:8080/OBR/</remoteOBR>
</distributionManagement>
</project>
This did not even pass validation, let alone work. If anyone knows
the correct method for specifying the location of the remote OBR,
please let me know.
Thanks,
-Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]