Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2314

Remove SNAPSHOT repositories by default in the distribution

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2, 2.4.0, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      Now, etc/org.ops4j.pax.url.mvn.cfg file contains a set of SNAPSHOT repositories. The problem is that the SNAPSHOT resolution is "long" as Karaf checks an updated SNAPSHOT in the different SNAPSHOT repositories.

      It's better to keep only the release repositories by default and move the SNAPSHOT repositories in the comment section.

      If the user really wants to use SNAPSHOTs, he can update etc/org.ops4j.pax.url.mvn.cfg, he can update as explain in the comment section.

        Activity

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1482305
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        In order to be able to install Karaf SNAPSHOT artifacts (if an user uses a Karaf SNAPSHOT distribution), I will create two org.ops4j.pax.url.mvn.cfg files:
        1/ the default one will be use for any build and will include SNAPSHOTS repositories
        2/ a second one will be dedicated for release (used with the release Maven profile) and won't include SNAPSHOTS repositories

        Show
        jbonofre Jean-Baptiste Onofré added a comment - In order to be able to install Karaf SNAPSHOT artifacts (if an user uses a Karaf SNAPSHOT distribution), I will create two org.ops4j.pax.url.mvn.cfg files: 1/ the default one will be use for any build and will include SNAPSHOTS repositories 2/ a second one will be dedicated for release (used with the release Maven profile) and won't include SNAPSHOTS repositories
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.x: http://svn.apache.org/viewvc?view=revision&revision=1482362
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1482688
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Distinguish SNAPSHOT and release on trunk: http://svn.apache.org/viewvc?view=revision&revision=1482771

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Distinguish SNAPSHOT and release on trunk: http://svn.apache.org/viewvc?view=revision&revision=1482771
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Distinguish SNAPSHOT and release on karaf-2.x: http://svn.apache.org/viewvc?view=revision&revision=1483205

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Distinguish SNAPSHOT and release on karaf-2.x: http://svn.apache.org/viewvc?view=revision&revision=1483205
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Distinguish SNAPSHOT and release on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1483214

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Distinguish SNAPSHOT and release on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1483214

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development