Hi, I found the solution, it was an authentication problem on the server. So nothing OSGi or Maven related.
Kind regards, Ben Le 27 oct. 2013 à 22:27, Benoît Thiébault a écrit : > Hi everyone, > > I'm trying to deploy my bundles to an OBR I set up. > > So I added to the super POM of my project the following configuration in the > <plugins> section: > > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>deploy</goal> > </goals> > </execution> > </executions> > <configuration> > <remoteOBR>repository.xml</remoteOBR> > > <altDeploymentRepository>my.obr.id::default::http://obr.mydomain.com</altDeploymentRepository> > <ignoreLock/> > </configuration> > </plugin> > > First, is this the correct way to do it? > Or should I rather add something in the <pluginManagement> settings, which > already contain: > > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>2.3.7</version> > <extensions>true</extensions> > </plugin> > > When performing the mvn deploy command, I have the following error message: > [INFO] --- maven-bundle-plugin:2.3.7:deploy (default-deploy) @ > org-test-bundle --- > [INFO] Using alternate deployment repository > my.obr.id::default::http://obr.mydomain.com > [INFO] LOCK http://obr.mydomain.com/repository.xml > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > > I have updated the settings.xml file with login/password information for the > OBR. > > Is it an authentication issue or a problem in my BND configuration? > > Thanks for your help > > Ben > >

