Bug 1012017 - Unavailable artifacts referenced in the eap6-supported-artifacts BOM
Summary: Unavailable artifacts referenced in the eap6-supported-artifacts BOM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER7
: EAP 6.2.0
Assignee: Vladimir Dosoudil
QA Contact: Nikoleta Hlavickova
Russell Dickenson
URL:
Whiteboard:
Depends On: 1016048
Blocks: eap62-beta-blockers
TreeView+ depends on / blocked
 
Reported: 2013-09-25 14:45 UTC by Nikoleta Hlavickova
Modified: 2013-12-15 16:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:13:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 997877 0 unspecified CLOSED Unavailable artifacts referenced in the main EAP BOM 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1026766 0 unspecified CLOSED Artifacts referenced in eap6-supported-artifacts BOM not available in Maven repository zip 2021-02-22 00:41:40 UTC

Internal Links: 997877 1026766

Description Nikoleta Hlavickova 2013-09-25 14:45:47 UTC
A. jboss-as artifacts with incorrect version "-redhat-5" instead of "-redhat-6" -- this should be fixed in new Maven repo zip ER3.1

B. List of unavailable dependencies defined in the BOM:
   com.sun:tools:jar:1.6
      (not available)

   org.jboss.hal:release-stream:jar:2.0.0.Final-redhat-1
      (type pom not defined)

   org.jboss.ws.cxf:jbossws-cxf-resources:jar:4.2.1.Final-redhat-1
      (type pom not defined)

   org.wildfly:wildfly-core-security:jar:7.3.0.Final-redhat-5
     (version 7.3.0.Final-redhat-6 available)

   org.wildfly:wildfly-patching:jar:7.3.0.Final-redhat-5
     (version 7.3.0.Final-redhat-6 available)

   sun.jdk:jconsole:jar:jdk
     (not available)

C. List of unavailable transitive dependencies of artifacts defined in the BOM:
   org.apache.cxf:cxf-tools-java2ws:jar:2.7.6.redhat-2 is missing:
     org.apache.cxf:cxf-rt-javascript:jar:2.7.6.redhat-2
    (version 2.6.8.redhat-7 is available)

   org.apache.cxf.services.ws-discovery:cxf-services-ws-discovery-api:jar:2.7.6.redhat-2 is missing:
     org.apache.cxf:cxf-rt-transports-udp:jar:2.7.6.redhat-2

   org.jboss.com.sun.httpserver:httpserver:jar:1.0.1.Final-redhat-2 is missing
     junit:junit:jar:4.10-redhat-2

Comment 1 Nikoleta Hlavickova 2013-09-25 14:47:49 UTC
Same issue was fixed for EAP 6.1.1

Comment 2 Rostislav Svoboda 2013-09-27 09:20:42 UTC
There are still problem with EAP 6.2.0 ER3.1 maven repo zip.

For example: 
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact com.sun:tools:jar:1.6

Comment 3 Paul Gier 2013-09-30 03:40:44 UTC
A. This will be fixed in the next release.

B. The dependencies com.sun:tools and sun.jdk:jconsole have been excluded for the next build
http://git.app.eng.bos.redhat.com/?p=jboss-eap/maven-repository-testsuite.git;a=commitdiff;h=d27b9c75ee5ad56a0b7ddde59412fc0abd353891

I don't agree that we should define types in the POM (org.jboss.hal:release-stream and org.jboss.ws.cxf:jbossws-cxf-resources).  It's up to the user to define which type of artifact they want to download, the BOM only defines the versions.

C. This will be fixed in the next release.

Comment 5 Vladimir Dosoudil 2013-10-04 06:47:51 UTC
Built with ER4.

Comment 6 Nikoleta Hlavickova 2013-10-04 09:02:13 UTC
3 artefacts still unavailable in EAP 6.2.0 ER4 Maven repo zip:

(B) missing dependencies:
    org.jboss.ws.cxf:jbossws-cxf-resources:jar:4.2.1.Final-redhat-3
    (zip contains jbossws-cxf-resources-4.2.1.Final-redhat-3-jboss720.jar)

    org.jboss.hal:release-stream:jar:2.0.2.Final-redhat-1
    (zip contains release-stream-2.0.2.Final-redhat-1-resources.jar)

(C) missing transitive dependencies:
    junit:junit:jar:4.10-redhat-2 
    (dependency of org.jboss.com.sun.httpserver:httpserver:jar:1.0.1.Final-redhat-2)

Comment 7 Vladimir Dosoudil 2013-10-04 11:11:39 UTC
Note for (B):
These artifacts have classifier. For resolving them using <classifier/> is mandatory i.e.

<dependency>
  <artifactId>org.jboss.ws.cxf</artifactId>
  <groupId>jbossws-cxf-resources</groupId>
  <classifier>jboss720</classifier>
  ...
</dependency>

<dependency>
  <artifactId>org.jboss.hal</artifactId>
  <groupId>release-stream</groupId>
  <classifier>resources</classifier>
  ...
</dependency>

Comment 8 Vladimir Dosoudil 2013-10-04 11:22:24 UTC
Note for (C):
Junit is a transitive dependency but just for testing purposes. Could be excluded in dependency to httpserver (but it's workaround). Better solution is to rebuild httpserver with dependency on upstream junit, then this transitivity will be solved trivially with using central to resolve junit. The second option is to include additional artifact junit:junit:jar:4.10-redhat-2 into the Maven repository zip (temporary until httpserver is rebuilt with upstream junit).

Comment 10 Paul Gier 2013-10-07 01:08:33 UTC
Comment regarding (C): As Vladimir suggested, this should be changed to the upstream version to make it clear that JUnit is not a supported jar.  In addition, it might be good to change the dependency scope to "test" or make the dependency optional, because JUnit should not be required to use use the httpserver jar from the Maven repo.

Comment 11 Vladimir Dosoudil 2013-10-07 13:12:08 UTC
For (C), httpserver rebuilt, PR for EAP sent, see blocking BZ 1016048.

Comment 13 Paul Gier 2013-10-07 22:55:38 UTC
New build of httpserver will not bring in transitive junit dependency.

Comment 15 Nikoleta Hlavickova 2013-10-08 11:18:29 UTC
(B) artifacts with classifier

I added classifiers into the test pom. However these artifacts can not be resolved becase their version is not defined.

For example for dependency org.jboss.ws.cxf:jbossws-cxf-resources:jar:jboss720 I get the following error:

[ERROR] 'dependencies.dependency.version' for org.jboss.ws.cxf:jbossws-cxf-resources:jar:jboss720 is missing. @ line 337, column 14

The same problem is for missing type definition when artifact is not of type 'jar'.

Comment 16 Nikoleta Hlavickova 2013-10-08 11:27:14 UTC
(C) transitive dependencies

After defining classifier and version for org.jboss.hal:release-stream:jar:2.0.2.Final-redhat-1 I found another issue, this artifact is missing a dependency:

org.jboss.as:jboss-as-console-resources:war:2.0.3.Final-redhat-2

Comment 17 Nikoleta Hlavickova 2013-10-08 11:51:17 UTC
Current issues with the BOM in EAP 6.2.0 ER5:

(B) missing dependencies:

    org.jboss.as:jboss-as-build:jar:7.3.0.Final-redhat-8
    (type pom not defined)

    org.jboss.hal:release-stream:jar:2.0.3.Final-redhat-1
    (classifier not defined)

    org.jboss.ws.cxf:jbossws-cxf-resources:jar:4.2.1.Final-redhat-3
    (classifier not defined)

(C) missing transitive dependencies:

    org.apache.cxf:cxf-rt-transports-udp:jar:2.7.6.redhat-2
    (dependency of org.apache.cxf.services.ws-discovery:cxf-services-ws-discovery-api:jar:2.7.6.redhat-2)

    org.jboss.as:jboss-as-console-resources:war:2.0.3.Final-redhat-2
    (dependency of org.jboss.hal:release-stream:jar:resources:2.0.3.Final-redhat-1)

Comment 19 Paul Gier 2013-10-09 17:58:10 UTC
Fixed in the ER5.1 maven repo.

Comment 20 Nikoleta Hlavickova 2013-10-10 10:13:23 UTC
Verified for EAP 6.2.0 ER5.1

Comment 21 Nikoleta Hlavickova 2013-10-17 10:01:07 UTC
This issue was fixed in EAP 6.2.0 ER5.1. However there is another issue in EAP 6.2.0 ER6 so I am repoening this.

One new missing transitive dependency:

org.jboss.jbossts:jbossjts:jar:4.16.6.Final-redhat-1
(is a dependency of org.hornetq:hornetq-jms-server:jar:2.3.9.Final-redhat-1)

Comment 22 Vladimir Dosoudil 2013-10-17 13:05:59 UTC
HornetQ should be rebuilt with latest jbossts in the next release to use the same version of jbossts as AS/EAP parent/build pom.

Comment 23 Vladimir Dosoudil 2013-10-17 13:52:20 UTC
It seems jbossts is the test scoped dependency of hornetq but hornetq doesn't specify it in its pom as test scoped. HornetQ poms should be checked and test/optional dependencies should be set with the proper scope.

Comment 26 Paul Gier 2013-10-24 01:31:51 UTC
HornetQ was using the 4.16.x version of jbossts which used the older groupId/artifactId.  This should be resolved in the next version of hornetq included in ER7 (https://issues.jboss.org/browse/HORNETQ-1269).

Comment 27 Nikoleta Hlavickova 2013-10-31 08:52:52 UTC
3 missing transitive dependencies in EAP 6.2.0 ER7:

org.apache.cxf:cxf-rt-javascript:jar:2.7.7.redhat-1
    dependency of: org.apache.cxf:cxf-tools-java2ws:jar:2.7.7.redhat-1
    version available in Maven repo zip: 2.7.6.redhat-2

org.apache.cxf:cxf-rt-transports-udp:jar:2.7.7.redhat-1
    dependency of: org.apache.cxf.services.ws-discovery:cxf-services-ws-discovery-api:jar:2.7.7.redhat-1
    version available in Maven repo zip: 2.7.6.redhat-2

org.jboss.as:jboss-as-console-resources:war:2.0.5.Final-redhat-1
    dependency of: org.jboss.hal:release-stream:jar:resources:2.0.5.Final-redhat-1
    version available in Maven repo zip: 2.0.3.Final-redhat-2

Comment 28 Nikoleta Hlavickova 2013-10-31 12:45:15 UTC
Note for the 3rd missing dependency in my comment #27:

Maven repo zip contains BOM org.jboss.as:jboss-as-console-bom:2.0.3.Final-redhat-2, but it should be the version 2.0.5.Final-redhat-1

Comment 30 Nikoleta Hlavickova 2013-11-01 08:38:41 UTC
org.jboss.as:jboss-as-console-resources:war:2.0.5.Final-redhat-1 is still missing. Neither 2.0.5.Final-redhat-1, nor 2.0.3.Final-redhat-2 is available in EAP 6.2.0 ER7.1 Maven repo zip.

One new missing dependency:
org.jboss.jdeparser:jdeparser:jar:1.0.0.Final-redhat-1
    is dependency of: org.jboss.osgi.metadata:jbosgi-metadata:jar:2.2.0.Final-redhat-1
    no version of this artifat available in ER7.1 but it was available in ER7

Comment 31 Paul Gier 2013-11-01 19:54:22 UTC
Added a manual include for jdeparser:
http://git.app.eng.bos.redhat.com/jboss-eap/maven-repository-testsuite.git/commit/?id=94e57bded6b04a432399284a32d7fd2e85cd8567

The console resources war file was missing because of a change in our repo gen tool, which is now fixed.

Comment 32 Nikoleta Hlavickova 2013-11-04 08:29:46 UTC
Verified for EAP 6.2.0 ER7.2

All artifacts referenced in eap6-supported-artifacts BOM are available either in Maven repository zip or in central repository.

NOTE: central repository must be enabled to get all the artifacts.


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