[ https://issues.apache.org/jira/browse/KARAF-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575360#comment-13575360
]
Dan Tran commented on KARAF-2175:
---------------------------------
please add https://oss.sonatype.org/content/repositories/ops4j-snapshots
sonatype's snapshot does not have ops4j snapshot artifact
> Add the sonatype standard snapshot repository to the karaf repositories
> -----------------------------------------------------------------------
>
> Key: KARAF-2175
> URL: https://issues.apache.org/jira/browse/KARAF-2175
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-config
> Affects Versions: 2.3.0, 3.0.0
> Environment: All
> Reporter: Don Corley
> Assignee: Andreas Pieber
> Priority: Minor
> Attachments: add_snapshot_repo.diff
>
>
> Most open source developers utilize the standard sonatype snapshot repository for deploying
snapshot(s). It's fast, east, and it linked to maven central. Description:
> https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-4.MavenRepositories
> It would make sense to add it to the default karaf repository list, so snapshots can
be retrieved with the mvn protocol:
> install mvn:org.mygroup/org.mygroup.myartifact/1.2.3-SNAPSHOT
> The repo is located at:
> https://oss.sonatype.org/content/repositories/snapshots/
> Here's the patch (I'll attach it too):
> Index: assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
> ===================================================================
> --- assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
(revision 1444404)
> +++ assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
(working copy)
> @@ -81,6 +81,7 @@
> # Comma separated list of repositories scanned when resolving an artifact.
> # The default list includes the following repositories:
> # http://repo1.maven.org/maven2
> +# https://oss.sonatype.org/content/repositories/snapshots
> # http://repository.apache.org/content/groups/snapshots-group
> # http://svn.apache.org/repos/asf/servicemix/m2-repo
> # http://repository.springsource.com/maven/bundles/release
> @@ -94,6 +95,7 @@
> #
> org.ops4j.pax.url.mvn.repositories= \
> http://repo1.maven.org/maven2@id=central, \
> + https://oss.sonatype.org/content/repositories/snapshots@snapshots@noreleases, \
> http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases,
\
> https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,
\
> file:${karaf.home}/${karaf.default.repository}@id=systemrepo, \
> Thanks,
> Don
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|