users  

Re: bundle:deploy does not copy the artefact to the remote repository?

Sandro Boehme
Sat, 11 Feb 2012 14:20:46 -0800

Am Sat Feb 11 23:10:27 2012 schrieb Stuart McCulloch:

On 11 Feb 2012, at 22:07, Sandro Boehme wrote:

Am 11.02.12 22:04, schrieb Stuart McCulloch:
On 11 Feb 2012, at 20:53, Sandro Boehme wrote:
Hi,

I'd like to deploy the bundle of my project to a remote obr.
To dry run that locally I created a http://localhost:8080/obr folder via WebDAV 
in Sling and copied a small repository.xml (and obr2html.xsl) to that location. 
I also updated the pom with the distributionManagement information and added 
the credentials to the settings.xml.
"mvn install bundle:deploy" successfully updates the repository.xml with the 
bundles manifest information but it doesn't copy all the artifacts (jar, pom, ...) to 
http://localhost:8080/obr/<path-from-group/version.
Shouldn't bundle:deploy do that similar to deploy:deploy?

we don't want to duplicate the deploy plugin inside Felix, so bundle:deploy 
only uploads OBR metadata - it assumes the bundle has been uploaded by 
deploy:deploy

if your project has 'bundle' packaging then you should be able to just use "mvn 
clean deploy -PremoteOBR" to upload both the bundle and the OBR metadata
Should there really be a profile with the name "remoteOBR"?

sorry, should be -DremoteOBR
No problem. Thanks for the hint! I would have a really hard time finding that out.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org