Hi,

you can give me an example?
When I use Gradle to upload an artifact via maven wrapper service I get the following error message: Could not PUT 'http://localhost:8181/cave/maven/de/fraunhofer/ise/project1-sample/1.1/project1-sample-1.1.jar

The rest wrapper does not work for me as you can see in my inital mail.

Kind regards,
Simon

Am 2018-09-07 09:53, schrieb Jean-Baptiste Onofré:
Hi,

This part is for OSGi Repository.

You can use the Cave Maven repository, and then you can use the "classy"
mvn deploy:deploy-file or gradle or any http client.

Regards
JB

On 07/09/2018 09:49, Simon Huebner wrote:
Hi,
I'm looking for a way to upload a bundle to a cave installation using
gradle/jenkins.
I have already tried the possibilities described on
http://karaf.apache.org/manual/cave/latest-4/#_http_wrapper_service.

The maven wrapper seems to grant read-only access, at least publishing
via the gradle maven-publish plugin doesn't work.

Access via the REST wrapper returns an error message:
JAXBException occurred : com.sun.xml.bind.v2.ContextFactory not found by
org.apache.karaf.cave.server.rest [65].
com.sun.xml.bind.v2.ContextFactory not found by
org.apache.karaf.cave.server.rest [65].

Is there an example of how to upload a bundle to a remote cave via
Jenkins, or gradle?

Kind regards,
Simon


--
Simon Huebner, M.Sc.
Information Technology
Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany
Phone: +49(0)761/4588-5695  Fax: +49(0)761/4588-9123
[email protected]
http://www.ise.fraunhofer.de

Reply via email to