Bug 927238 - Missing or invalid Implementation-Version item in META-INF/MANIFEST.MF
Summary: Missing or invalid Implementation-Version item in META-INF/MANIFEST.MF
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Build
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER2
: EAP 6.3.0
Assignee: Fernando Nasser
QA Contact: Katerina Odabasi
URL:
Whiteboard:
Depends On: 927997 928001 928004 928062 928068 928070 928072 928074 928075 928077 928078 928080 928086 928089 959965 988269 988274 988280 988284 988291 988293 988311 988315
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-25 13:23 UTC by Pavel Janousek
Modified: 2019-08-19 12:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:45:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 900033 0 medium CLOSED Specification / Implementation version in manifest doesn't reflect jar version, sometimes present multiple times or not ... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1011589 0 unspecified CLOSED RHEL 6 RPMs: Upgrade openws to 1.4.4.redhat-2 2021-02-22 00:41:40 UTC

Internal Links: 900033 1011589

Description Pavel Janousek 2013-03-25 13:23:07 UTC
Almost every of JBoss EAP-6.1.0 JAR artifact contains defined Implementation-Version item in META-INF/MANIFEST.MF like:
Implementation-Version: 4.2.0.CR2-redhat-1

There are some of them which misses this item or its item isn't in valid form. We need this corrected info for execution of 'un-versioning' procedure against ZIP based distribution. We have to use some work-around/exception list right now - overhead with every build.

Of course, we can use another item from MANIFEST.MF ("Jar-Version" looks as good candidate as well), but it has the same issue and usage of a such isn't conform across all JAR artifact right now, moreover a such is missing in higher number of artifacts.

List of artifact with missing Implementation-Version at all:
modules/system/layers/base/com/github/relaxng/main/relaxngDatatype-2011.1-redhat-4.jar
modules/system/layers/base/gnu/getopt/main/getopt-1.0.13-redhat-2.jar
modules/system/layers/base/javax/inject/api/main/javax.inject-1-redhat-3.jar
modules/system/layers/base/net/jcip/main/jcip-annotations-1.0-redhat-3.jar
modules/system/layers/base/org/antlr/main/antlr-2.7.7-redhat-2.jar
modules/system/layers/base/org/apache/xml-resolver/main/xml-resolver-1.2-redhat-2.jar
modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-redhat-3.jar
modules/system/layers/base/org/osgi/core/main/org.osgi.core-4.2.0-redhat-3.jar
modules/system/layers/base/org/osgi/enterprise/main/org.osgi.enterprise-4.2.0-redhat-3.jar

List of artifact with invalid content of Implementation-Version:
bin/client/jboss-cli-client.jar
- filename doesn't contain a suffix at all

bin/client/jboss-client.jar
- filename doesn't contain a suffix at all

jboss-modules.jar
- filename doesn't contain a suffix at all

modules/system/layers/base/com/h2database/h2/main/h2-1.3.168-redhat-1.jar
- filename doesn't contain a such suffix ('_' -> '-')

modules/system/layers/base/com/sun/jsf-impl/1.2/jsf-impl-1.2_15-b01-redhat-2.jar
- missing "-redhat-2" part

modules/system/layers/base/javax/faces/api/1.2/jsf-api-1.2_15-b01-redhat-2.jar
- missing "-redhat-2" part

modules/system/layers/base/javax/jws/api/main/jsr181-api-1.0-MR1-redhat-2.jar
- missing "-redhat-2" part

modules/system/layers/base/org/jboss/integration/ext-content/main/bundled/jboss-seam-int.jar
- filename doesn't contain a suffix at all

modules/system/layers/base/org/jboss/jts/integration/main/jbossjts-integration-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

modules/system/layers/base/org/jboss/jts/main/jbossjts-jacorb-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

modules/system/layers/base/org/jboss/xts/main/jbossxts-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

Comment 1 Pavel Janousek 2013-03-25 14:57:58 UTC
The list of invalid entries continues:
modules/system/layers/base/com/sun/xml/bind/main/jaxb-impl-2.2.5-redhat-4.jar
- missing "-redhat-4" part

modules/system/layers/base/com/sun/xml/bind/main/jaxb-xjc-2.2.5-redhat-4.jar
- missing "-redhat-4" part

modules/system/layers/base/org/apache/velocity/main/velocity-1.7-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-redhat-3.jar
- missing "-redhat-3" part

modules/system/layers/base/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/dom4j/main/dom4j-1.6.1-redhat-4.jar
- missing "-redhat-4" part

modules/system/layers/base/org/joda/time/main/joda-time-1.6.2-redhat-3.jar
- missing "-redhat-3" part

modules/system/layers/base/org/fusesource/jansi/main/jansi-1.9-redhat-0-todo.jar
- missing "-redhat-0-todo" part

modules/system/layers/base/asm/asm/main/asm-3.3.1-redhat-2.jar
- missing "-redhat-2" part

modules/system/layers/base/javax/wsdl4j/api/main/wsdl4j-1.6.2-redhat-2.jar
- missing "-redhat-2" part

Comment 2 Fernando Nasser 2013-03-26 16:14:10 UTC
For these ones you need to file a BZ against the AS itself, that is how they install these files.  I have no idea why these are unversioned (well, the client ones I guess it is for usability and JBoss Tools).

bin/client/jboss-cli-client.jar
- filename doesn't contain a suffix at all

bin/client/jboss-client.jar
- filename doesn't contain a suffix at all

jboss-modules.jar
- filename doesn't contain a suffix at all

The original artifacts themselves have versions though and maven adds that to the Implementation-Version in MANIFEST.MF.  The latest two come from the AS build itself, so it is not even separate builds that could be meddled with.

Comment 3 Pavel Janousek 2013-03-26 16:15:18 UTC
This issue looks related to https://bugzilla.redhat.com/show_bug.cgi?id=900033, above is result for ER3 build and its particular JAR issues.

Comment 4 Fernando Nasser 2013-03-26 16:23:48 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=927997

filed for 

modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-redhat-3.jar

Comment 5 Fernando Nasser 2013-03-26 16:27:24 UTC
modules/system/layers/base/org/jboss/integration/ext-content/main/bundled/jboss-seam-int.jar
- filename doesn't contain a suffix at all

AFAIK Bundles cannot have versions in the filenames.  In any case, a BZ has to be filed against the AS not the build, the build is just installing the AS as designed by the developers.

Comment 6 Fernando Nasser 2013-03-26 16:31:42 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928001

created for

modules/system/layers/base/org/jboss/jts/integration/main/jbossjts-integration-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

modules/system/layers/base/org/jboss/jts/main/jbossjts-jacorb-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

modules/system/layers/base/org/jboss/xts/main/jbossxts-4.17.3.Final-redhat-1.jar
- additional " (revision: d264e3051ba07"

Comment 7 Fernando Nasser 2013-03-26 16:33:14 UTC
modules/system/layers/base/org/fusesource/jansi/main/jansi-1.9-redhat-0-todo.jar
- missing "-redhat-0-todo" part

is covered by https://bugzilla.redhat.com/show_bug.cgi?id=927936

Comment 8 Fernando Nasser 2013-03-26 16:38:23 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928004

created for

modules/system/layers/base/com/h2database/h2/main/h2-1.3.168-redhat-1.jar
- filename doesn't contain a such suffix ('_' -> '-')

Comment 12 Fernando Nasser 2013-03-26 19:49:38 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928062

created for

modules/system/layers/base/javax/wsdl4j/api/main/wsdl4j-1.6.2-redhat-2.jar
- missing "-redhat-2" part

Comment 13 Fernando Nasser 2013-03-26 20:12:33 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928070

created for

modules/system/layers/base/com/sun/xml/bind/main/jaxb-impl-2.2.5-redhat-4.jar
- missing "-redhat-4" part

modules/system/layers/base/com/sun/xml/bind/main/jaxb-xjc-2.2.5-redhat-4.jar
- missing "-redhat-4" part

Comment 14 Fernando Nasser 2013-03-26 20:16:06 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928072

has been created for 

modules/system/layers/base/org/joda/time/main/joda-time-1.6.2-redhat-3.jar
- missing "-redhat-3" part

Comment 15 Fernando Nasser 2013-03-26 20:18:48 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928074

created for

modules/system/layers/base/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.9-redhat-1.jar
- missing "-redhat-1" part

modules/system/layers/base/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.9-redhat-1.jar
- missing "-redhat-1" part

Comment 16 Fernando Nasser 2013-03-26 20:24:46 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928075

created for 

modules/system/layers/base/org/apache/velocity/main/velocity-1.7-redhat-1.jar
- missing "-redhat-1" part

Comment 17 Fernando Nasser 2013-03-26 20:26:17 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928068

created for

modules/system/layers/base/org/dom4j/main/dom4j-1.6.1-redhat-4.jar
- missing "-redhat-4" part

Comment 18 Fernando Nasser 2013-03-26 20:28:49 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928077

created for

modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-redhat-3.jar
- missing "-redhat-3" part

Comment 19 Fernando Nasser 2013-03-26 20:34:23 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928078

created for

modules/system/layers/base/asm/asm/main/asm-3.3.1-redhat-2.jar
- missing "-redhat-2" part

Comment 20 Fernando Nasser 2013-03-26 20:43:40 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928080

created for

modules/system/layers/base/javax/faces/api/1.2/jsf-api-1.2_15-b01-redhat-2.jar
- missing "-redhat-2" part

Comment 21 Fernando Nasser 2013-03-26 20:51:31 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928086

created for

modules/system/layers/base/javax/jws/api/main/jsr181-api-1.0-MR1-redhat-2.jar
- missing "-redhat-2" part

Comment 22 Fernando Nasser 2013-03-26 20:58:28 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=928089

created for

modules/system/layers/base/com/sun/jsf-impl/1.2/jsf-impl-1.2_15-b01-redhat-2.jar
- missing "-redhat-2" part

Comment 23 Pavel Janousek 2013-05-06 10:22:30 UTC
New item from 6.1.0-ER6:

List of artifact with missing Implementation-Version at all:
modules/system/layers/base/org/apache/xml-resolver/main/xml-resolver-1.2-redhat-3.jar

BZ already created- BZ#959965. It is a regression.

Comment 28 Kabir Khan 2014-04-08 14:32:16 UTC
https://github.com/jbossas/jboss-eap/pull/1189

Comment 29 Pavel Jelinek 2014-05-05 08:12:19 UTC
Unfortunatelly there are still jars with
missing both Implementation-Version and Specification-Version:
org/jboss/resteasy/**
  resteasy-atom-provider-2.3.8.Final-redhat-3.jar
  resteasy-jaxb-provider-2.3.8.Final-redhat-3.jar
  resteasy-jackson-provider-2.3.8.Final-redhat-3.jar
  async-http-servlet-3.0-2.3.8.Final-redhat-3.jar
  resteasy-jaxrs-2.3.8.Final-redhat-3.jar
  resteasy-hibernatevalidator-provider-2.3.8.Final-redhat-3.jar
  resteasy-multipart-provider-2.3.8.Final-redhat-3.jar
  resteasy-cdi-2.3.8.Final-redhat-3.jar
  resteasy-jettison-provider-2.3.8.Final-redhat-3.jar
  resteasy-jsapi-2.3.8.Final-redhat-3.jar
  resteasy-spring.jar
  resteasy-yaml-provider-2.3.8.Final-redhat-3.jar
See: https://bugzilla.redhat.com/show_bug.cgi?id=900033

Also not all BZs which this BZ depends on are already resolved.


Note You need to log in before you can comment on or make changes to this bug.