Karaf
  1. Karaf
  2. KARAF-669

Dependency artifacts should be available on the Maven central repo

    Details

      Description

      The Karaf jetty feature references:

      <bundle dependency='true'>mvn:javax.mail/mail/1.4.3</bundle>

      This bundle is not on the central maven repo (it's on the java.net maven2).

      So, it can't be downloaded during features validation for instance.

      Around the same area, the Karaf Cellar feature uses jclouds features now. The jclouds features uses google Guava OSGi bundle, but this bundle is only available on OSS Sonatype repo, not the central one.

      We should also deploy Google Guava OSGi on the Maven central repo.

        Issue Links

          Activity

          Hide
          Jean-Baptiste Onofré added a comment -

          More over, javax.mail appears twice in the features descriptor.

          Show
          Jean-Baptiste Onofré added a comment - More over, javax.mail appears twice in the features descriptor.
          Hide
          Jean-Baptiste Onofré added a comment -

          The "workaround" is to define download.java.net repo in the POM.
          I'm gonna check with Dan Kulp and Olivier Lamy if it's possible to provide javax.mail on the central maven repo.

          Show
          Jean-Baptiste Onofré added a comment - The "workaround" is to define download.java.net repo in the POM. I'm gonna check with Dan Kulp and Olivier Lamy if it's possible to provide javax.mail on the central maven repo.
          Show
          Jean-Baptiste Onofré added a comment - https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central
          Hide
          Jean-Baptiste Onofré added a comment -

          FYI, currently ServiceMix m2-repo is used to resolve javax.mail 1.4.3.

          ServiceMix m2-repo should be removed from the default repositories set: central should be our first target.

          Show
          Jean-Baptiste Onofré added a comment - FYI, currently ServiceMix m2-repo is used to resolve javax.mail 1.4.3. ServiceMix m2-repo should be removed from the default repositories set: central should be our first target.

            People

            • Assignee:
              Jean-Baptiste Onofré
              Reporter:
              Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development