Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2016

Set more meaningful package version information in Manifest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.3.0.Final, 3.0.0.Alpha14
    • None
    • None
    • None

    Description

      Version Current value Suggested value
      Specification-Version Weld OSGi-compatible version, e.g. 2.3.0.CR1 CDI version, e.g. 1.2
      Implementation-Version build timestamp, e.g. 2015-08-21 10:37 Weld OSGi-compatible version

      Note that the current Specification-Version does not meet javadoc requirements: https://docs.oracle.com/javase/8/docs/api/java/lang/Package.html#getSpecificationVersion--

      To be honest I'm not sure what these versions mean and what are they used for. Previously, they were used to build a Weld version info string used in a log message during init. This is not the case any more (most of the time we use a separate properties file).

      See also:
      https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html
      https://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html#wp89936

      Attachments

        Issue Links

          Activity

            People

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: