karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilij Pupkin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-5076) Maven-DEPLOY into KARAF over CAVE not works as promised?
Date Thu, 30 Mar 2017 14:27:41 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasilij Pupkin updated KARAF-5076:
----------------------------------
    Attachment: my-repository-repository.xml-JODA++
                repository_upload_servicemix.xml

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)

Mime
View raw message