You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Vasilij Pupkin (JIRA)" <ji...@apache.org> on 2017/03/30 14:27:42 UTC

[jira] [Comment Edited] (KARAF-5076) Maven-DEPLOY into KARAF over CAVE not works as promised?

    [ https://issues.apache.org/jira/browse/KARAF-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949158#comment-15949158 ] 

Vasilij Pupkin edited comment on KARAF-5076 at 3/30/17 2:27 PM:
----------------------------------------------------------------

@see attachmens: 
A: repository_upload_servicemix.xml
B: my-repository-repository.xml-JODA++


was (Author: vpupkin):
A: repository_upload_servicemix.xml
B: my-repository-repository.xml-JODA++

> Maven-DEPLOY  into  KARAF over CAVE not works as promised?
> ----------------------------------------------------------
>
>                 Key: KARAF-5076
>                 URL: https://issues.apache.org/jira/browse/KARAF-5076
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Vasilij Pupkin
>         Attachments: my-repository-repository.xml-JODA++, repository_upload_servicemix.xml
>
>
> On the [manual_4|https://karaf.apache.org/manual/cave/latest-4/] we have :
> * A) Artifact Upload: Users can upload OSGi bundle in a Cave repository. It supports URLs like mvn:groupId/artifactId/version, file:, http:, etc.
> * B) Repository population: Cave is able to get artifacts present on an "external" repository (local file: or remote http:), looking for OSGi bundles, and copy the artifacts in the Cave repository storage.
> I don't found any was to __deploy__ artifact with "mvn deploy". So seems both  defined "functions" do the same.
> H2. Currenty:
>  A) and B) works on the same way:
> h2. A )
> {quote}
> karaf@root()> cave:repository-upload my-repository mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_5
> {quote}
> h2. B) 
> {quote}
> karaf@root()>cave:repository-populate --filter .*joda-time-2.* my-repository http://repo2.maven.org/maven2/joda-time/joda-time
> {quote}
> Both will import 1 *(A)* or more *(B)* "external" artifacts into CAVE@Karaf by internal CAVE-Karaf shell.
> Expected:
> next maven "goal" should be able to deploy Artifact into Karaf
> {quote}
> $$ mvn deploy -DaltDeploymentRepository=my_karafCaveRepo::default::http://localhost:8181/cave/ -e
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)