[
https://issues.apache.org/jira/browse/KARAF-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vasilij Pupkin updated KARAF-5076:
----------------------------------
Description:
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}
was:
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}
> 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
>
> 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)