Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1066435

Summary: jboss-eap-6.2.0.GA-maven-repository.zip has missing artifact slf4j-simple
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jay SenSharma <jsenshar>
Component: Maven RepositoryAssignee: Paul Gier <pgier>
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: medium    
Version: 6.2.0CC: bsutter, dosoudil, sjadhav
Target Milestone: CR3   
Target Release: EAP 6.2.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 12:49:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay SenSharma 2014-02-18 12:04:34 UTC
Description of problem:
======================

The "Red Hat JBoss Enterprise Application Platform 6.2.0 Maven Repository" which is downloaded from the Red Hat Customer Portal [1] has the missing artifact "slf4j-simple"

Check the following directory from the maven local repository.

{code}
ls jboss-eap-6.2.0.GA-maven-repository/org/slf4j

drwxrwxr-x. 3 testuser testuser 4096 Feb 18 16:37 jcl-over-slf4j
drwxrwxr-x. 3 testuser testuser 4096 Feb 18 16:37 slf4j-api
drwxrwxr-x. 3 testuser testuser 4096 Feb 18 16:37 slf4j-ext
drwxrwxr-x. 4 testuser testuser 4096 Feb 18 16:37 slf4j-jdk14
drwxrwxr-x. 3 testuser testuser 4096 Feb 18 16:37 slf4j-parent
{code}


[1] https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=26493&product=appplatform&version=&downloadType=distributions




Version-Release number of selected component (if applicable):


How reproducible:
================ 

Steps to Reproduce:
1. try building EAP6.2 from source using the EAP6.2 local maven repository from *OUTSIDE* redhat network.


Actual results:
=================
Build failed with error:

${code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-configs) on project jboss-as-build: Execution generate-configs of goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run failed: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.7 or one of its dependencies could not be resolved: Could not find artifact org.slf4j:slf4j-simple:jar:1.7.2.redhat-2
{code}


Expected results:
================ Build should have succeeded.


Additional info:
=================  Related to bugzilla:   
   https://bugzilla.redhat.com/show_bug.cgi?id=1040547

As the build succeeds ONLY from RedHat Network because it has some internal repo urls.

Comment 11 Vladimir Dosoudil 2014-02-19 14:13:52 UTC
This is the list of all artifacts which are downloaded from internal maven repository jb-eap-6-rhel-6-build although the maven settings file contains only Maven repository zip and the public repositories:

org.apache.myfaces.core:myfaces-core-project:2.1.8-redhat-1
org.apache.myfaces.core:myfaces-impl:2.1.8-redhat-1
org.apache.myfaces:myfaces:14-redhat-1
org.jboss.byteman:byteman:2.0.1-redhat-2
org.jboss.byteman:byteman-bmunit:2.0.1-redhat-2
org.jboss.byteman:byteman-install:2.0.1-redhat-2
org.jboss.byteman:byteman-root:2.0.1-redhat-2
org.jboss.byteman:byteman-submit:2.0.1-redhat-2
org.projectodd.stilts:stilts-conduit-server-core:0.1.26.redhat-3
org.projectodd.stilts:stilts-conduit-server-spi:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomp-api:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomp-client:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomp-common:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomplet-api:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomplet-server-core:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomp-server-core:0.1.26.redhat-3
org.projectodd.stilts:stilts-stomp-server-spi:0.1.26.redhat-3
org.slf4j:slf4j-simple:1.7.2.redhat-2

Comment 12 Paul Gier 2014-02-21 21:04:18 UTC
Vladimir, thanks for creating this list, I think the temporary fix would be to create a supplemental zip containing these files.  I think we'll have to look at each of these artifacts separately to decide whether to (1) change to the community version for building, (2) include the additional artifacts in the next repo zip, or (3) exclude the artifact completely from the build.

For example, I believe byteman is a build time dependency so we should just switch to the community version.  Regarding the projectodd jars, it looks like some of the jars are run time deps (supported in our maven repo zip) and some are just build time deps, so we might need to include all of them in our future repo zip.

Comment 13 Vladimir Dosoudil 2014-02-25 14:09:00 UTC
The missing artifacts added onto the manual includes list for EAP 6.2.x Maven repository
http://git.app.eng.bos.redhat.com/jboss-eap/maven-repository-testsuite.git/commit/?id=e7f5abe

Comment 15 Vladimir Dosoudil 2014-03-19 08:07:13 UTC
All artifacts which are downloaded from internal MEAD Maven repository during building EAP 6.2.0 (out of dependency list/tree) will be bundled with EAP 6.2.2.CP (CR3) in the incremental maven repository zip.

Comment 16 Nikoleta Hlavickova 2014-03-26 15:02:12 UTC
Verified for EAP 6.2.2.CP.CR3