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

          Jean-Baptiste Onofré created issue -
          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
          Jean-Baptiste Onofré made changes -
          Field Original Value New Value
          Fix Version/s 2.2.3 [ 12316685 ]
          Fix Version/s 2.2.2 [ 12316339 ]
          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.
          Jean-Baptiste Onofré made changes -
          Fix Version/s 3.0.1 [ 12316945 ]
          Fix Version/s 3.1.0 [ 12316946 ]
          Fix Version/s 3.0.0 [ 12316040 ]
          Jean-Baptiste Onofré made changes -
          Component/s karaf-features [ 12315008 ]
          Jean-Baptiste Onofré made changes -
          Summary Karaf standard feature reference javax.mail which is not on central repo Dependency artifacts should be available on the Maven central repo
          Fix Version/s 3.0.0 [ 12316040 ]
          Fix Version/s cellar-3.0.0 [ 12316442 ]
          Fix Version/s cellar-2.2.3 [ 12317140 ]
          Fix Version/s 3.0.1 [ 12316945 ]
          Fix Version/s 3.1.0 [ 12316946 ]
          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.
          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.
          Component/s cellar-features [ 12315003 ]
          Jean-Baptiste Onofré made changes -
          Link This issue relates to KARAF-776 [ KARAF-776 ]
          Jean-Baptiste Onofré made changes -
          Fix Version/s 2.2.4 [ 12317342 ]
          Fix Version/s 2.2.3 [ 12316685 ]
          Jean-Baptiste Onofré made changes -
          Fix Version/s 2.2.5 [ 12317857 ]
          Fix Version/s 2.2.4 [ 12317342 ]
          Jean-Baptiste Onofré made changes -
          Fix Version/s 2.2.6 [ 12319142 ]
          Fix Version/s 2.2.5 [ 12317857 ]
          Jean-Baptiste Onofré made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jamie goodyear made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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