Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21948

(7.4.z) libartemis-native artifacts versions don't follow OSGi standard

    XMLWordPrintable

Details

    Description

      It looks like current version values for following artifacts:

      • jboss-eap-7.4.0.GA-maven-repository/maven-repository/org/apache/activemq/libartemis-native-linux-i686/1.0.2-redhat-1
      • jboss-eap-7.4.0.GA-maven-repository/maven-repository/org/apache/activemq/libartemis-native-linux-x86_64/1.0.2-redhat-1

      don't follow the OSGi standard in Version format

      Version specifications are used in several places. A version has the following grammar:

      version ::=
      major( '.' minor ( '.' micro ( '.' qualifier )? )? )?

      major ::= number // See 1.3.2
      minor ::= number
      micro ::= number
      qualifier ::= ( alphanum | '_' | '-' )+
      A version must not contain any white space. The default value for a version is 0.0.0.

      So the current version value `1.0.2-redhat-1` has wrong separator between `2` and `redhat` parts. It should be `.` instead of `-` to be compliant with the specification standard.

      So correct value would be `1.0.2.redhat-1`.

      Apart from this OSGi incompatibility, the `redhat-x` suffix should containt 5 digits, so perfectly correct variant would be like `1.0.2.redhat-00001`, I guess. See this doc and here.

      Attachments

        Issue Links

          Activity

            People

              mpetrov@redhat.com Michal Petrov
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: