Bug 1061163 - Maven repo: non-productized artifacts
Summary: Maven repo: non-productized artifacts
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Maven Repository
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER2
: 6.3.0
Assignee: Ryan Zhang
QA Contact: Jiri Petrlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-04 13:22 UTC by Petr Široký
Modified: 2020-03-27 19:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:13:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Široký 2014-02-04 13:22:30 UTC
Description of problem:
Each distributed artifact should be productized. Wolf Validator found a list of artifacts that don't have -redhat-X suffix, which means they are not productized.

See https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/brms-maven-repo-wolf-validator/lastCompletedBuild/testReport/(root)/VersionPatternException/
for up-to-date list of non-productized artifacts.


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

Comment 3 Petr Široký 2014-12-09 00:22:58 UTC
List of current (6.1.0.ER2) artifacts without the -redhat-X suffix:

(Note that some of them should not even be in the repo, like old spring jars, but that is different issue)

apache-xerces:xml-apis:jar:2.9.1 
bcel:bcel:jar:5.2 
biz.aQute:bndlib:jar:0.0.313 
com.google.code.cookcc:cookcc:jar:0.3.3 
com.rht-emitrom:lienzo-core:jar:1.2.1-RELEASE 
gnu-getopt:getopt:jar:1.0.13 
jacorb:jacorb:jar:2.3.0jboss.patch6-brew 
javax.annotation:com.springsource.javax.annotation:jar:1.0.0 
javax.servlet:com.springsource.javax.servlet:jar:2.4.0 
jboss.jbossws:jboss-jaxrpc:jar:2.0.3.GA 
jboss.jbossws:jboss-jaxws:jar:3.0.1-native-2.0.4.GA 
jsr94:jsr94:jar:1.1 
net.sf.docbook:docbook-xsl-ns:jar:1.74.0 
net.sf.docbook:docbook:jar:1.72.0 
net.sf.josql:gentlyweb-utils:jar:1.5 
net.sf.josql:josql:jar:1.5 
net.socialchange.doctype:doctype-changer:jar:1.1 
net.sourceforge.cglib:com.springsource.net.sf.cglib:jar:2.1.3 
org.aopalliance:com.springsource.org.aopalliance:jar:1.0.0 
org.apache.commons:com.springsource.org.apache.commons.collections:jar:3.2.0 
org.apache.commons:com.springsource.org.apache.commons.logging:jar:1.1.1 
org.apache.log4j:com.springsource.org.apache.log4j:jar:1.2.15 
org.atinject:inject-tck:jar:1.0.0-PFD-3 
org.eclipse:org.eclipse.bpmn2:jar:0.7.4-jboss-1 
org.jacorb:jacorb-parent:pom:2.3.2-jbossorg-5 
org.jacorb:jacorb:jar:2.3.2-jbossorg-5 
org.jboss.com.sun.httpserver:httpserver:jar:1.0.1.Final 
org.jboss.common:jboss-common-beans:jar:1.1.0.Final 
org.jboss.docs:highlight:jar:1.0.0 
org.jboss.ejb3:jboss-ejb3-api:jar:3.1.0 
org.jboss.ejb3:jboss-ejb3-build:pom:1.0.0 
org.jboss.ejb3:jboss-ejb3-build:pom:1.0.0-Beta9 
org.jboss.invocation:jboss-invocation:jar:1.1.1.Final 
org.jboss.invocation:jboss-invocation:jar:1.2.1.Final 
org.jboss.metadata:jboss-as-parent-metadata:pom:7.0.8.Final 
org.jboss.metadata:jboss-as-parent-metadata:pom:8.0.0.Final 
org.jboss.metadata:jboss-metadata-common:jar:7.0.8.Final 
org.jboss.metadata:jboss-metadata-common:jar:8.0.0.Final 
org.jboss.metadata:jboss-metadata-ear:jar:7.0.8.Final 
org.jboss.metadata:jboss-metadata-ear:jar:8.0.0.Final 
org.jboss.metadata:jboss-metadata-ejb:jar:8.0.0.Final 
org.jboss.metadata:jboss-metadata-web:jar:8.0.0.Final 
org.jboss.metadata:jboss-metadata:jar:1.0.0.CR16 
org.jboss.osgi.deployment:jbosgi-deployment:jar:1.3.0.CR1 
org.jboss.osgi.framework:jbosgi-framework-core:jar:2.1.0.CR12 
org.jboss.osgi.framework:jbosgi-framework-parent:pom:2.1.0.CR12 
org.jboss.osgi.metadata:jbosgi-metadata:jar:2.2.0.Final 
org.jboss.osgi.repository:jbosgi-repository-api:jar:2.1.0.Final 
org.jboss.osgi.repository:jbosgi-repository-core:jar:2.1.0.Final 
org.jboss.osgi.repository:jbosgi-repository-parent:pom:2.1.0.Final 
org.jboss.osgi.resolver:jbosgi-resolver-api:jar:3.0.1.Final 
org.jboss.osgi.resolver:jbosgi-resolver-felix:jar:3.0.1.Final 
org.jboss.osgi.resolver:jbosgi-resolver-parent:pom:3.0.1.Final 
org.jboss.osgi.spi:jbosgi-spi:jar:3.2.0.Final 
org.jboss.osgi.vfs:jbosgi-vfs-parent:pom:1.2.1.Final 
org.jboss.osgi.vfs:jbosgi-vfs30:jar:1.2.1.Final 
org.jboss.osgi.vfs:jbosgi-vfs:jar:1.2.1.Final 
org.jboss.osgi:jbosgi-parent:pom:1.0.22 
org.jboss.osgi:jbosgi-parent:pom:1.0.23 
org.jboss.osgi:jboss-osgi-parent:pom:1.0.21 
org.jboss.pressgang:pressgang-highlight:jar:2.0.2 
org.jboss.pressgang:pressgang-tools:pom:2.0.2 
org.jboss.pressgang:pressgang-tools:pom:3.0.0 
org.jboss.pressgang:pressgang-xslt-ns:jar:2.0.2 
org.jboss.seam:seam-bom:pom:3.1.0.Final 
org.jboss.security:jboss-xacml-project:pom:2.0.8.Final 
org.jboss.security:jbossxacml:pom:2.0.8.Final 
org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.0.3.GA 
org.jboss.stdio:jboss-stdio:jar:1.0.1.GA 
org.jboss.stdio:jboss-stdio:jar:1.0.2.GA 
org.jboss.test-audit:jboss-test-audit-api:jar:1.1.0.CR1 
org.jboss.test-audit:jboss-test-audit-impl:jar:1.1.0.CR1 
org.jboss.test-audit:jboss-test-audit-parent:pom:1.1.0.CR1 
org.jboss.test-harness:jboss-test-harness-api:jar:1.1.0-CR9 
org.jboss.test-harness:jboss-test-harness-parent:pom:1.1.0-CR9 
org.jboss.test-harness:jboss-test-harness:jar:1.1.0-CR9 
org.jboss.web:jasper-jdt:jar:7.0.3.Final 
org.jboss:jbossorg-docbook-xslt:jar:1.1.0 
org.junit:com.springsource.junit:jar:3.8.2 
org.restlet.jse:org.restlet.parent:pom:2.1.4 
org.restlet.jse:org.restlet:jar:2.1.4 
org.springframework:org.springframework.aop:jar:2.5.6.SEC01 
org.springframework:org.springframework.beans:jar:2.5.6.SEC01 
org.springframework:org.springframework.context:jar:2.5.6.SEC01 
org.springframework:org.springframework.core:jar:2.5.6.SEC01 
org.springframework:org.springframework.test:jar:2.5.6.SEC01 
regexp:regexp:jar:1.5 
sun-jaxb:jaxb-api:jar:2.1.9

Comment 4 Petr Kočandrle 2015-01-13 08:44:36 UTC
Moving to 6.2.0 because we are not able rebuild every needed artifact in 6.1.0.

Comment 5 Ryan Zhang 2015-01-13 08:52:19 UTC
Thanks for the statistic for all non redhat artifacts.
I am wondering that if we have decision and bandwith  do this  for 6.1.

I vote to put it to future release.

Comment 6 Petr Kočandrle 2015-09-29 10:33:22 UTC
Moving away from 6.2.0 because this is still not feasable.

Comment 7 Ryan Zhang 2015-10-27 07:43:30 UTC
Yes, this is not possible for 6.2.

Comment 8 Petr Kočandrle 2016-02-25 11:38:07 UTC
Ryan, update the arquillian (jboss-as-arquillian-container-managed) version used in BRMS quickstarts (brms-helloworld-cep-web, brms-stateful-ksession-web, maybe more) to a productized version (7.5.6.Final-redhat-1) instead of using the community version (in 6.2.1 it was 7.2.0.Final). It should prevent inclusion of jboss community artifacts not available in Maven Central.

Comment 9 Ryan Zhang 2016-02-26 09:16:02 UTC
Yes, this issue is caused by unmanaged arquillian artifacts. Actually the dependency is defined in a profile. So it can't be found unless you specify the arquillian profile. However the depedency grapher would detect this.
I have commit the fix in 
https://github.com/jboss-developer/jboss-brms-quickstarts/commit/b3933a9a6d79b907513a06afcc3a6452a418cf17

It should be ready to test after DR2 is built in Brew.

Comment 10 Ryan Zhang 2016-03-30 08:11:37 UTC
A few updates on this issue. 
According to the http://download.englab.bne.redhat.com/devel/candidates/BRMS/BRMS-6.3.0.ER2/maven-repository-report/ (click Malformed tab), There are still some non-productized artiact in maven-repo:
    batik:batik-awt-util:1.6.1-1
    batik:batik-css:1.6.1-1
    batik:batik-dom:1.6.1-1
    batik:batik-ext:1.6.1-1
    batik:batik-gui-util:1.6.1-1
    batik:batik-parser:1.6.1-1
    batik:batik-svg-dom:1.6.1-1
    batik:batik-util:1.6.1-1
    batik:batik-xml:1.6.1-1
    com.google.code.findbugs:jsr305:2.0.1
    jsr94:jsr94:1.1
    sun-jaxb:jaxb-api:2.1.4

Actually there are more non-productized in product zip binaries. 

We don't have chance to productiz all these 3rd parties artiacts for 6.3.0 release.  I think it's not high priority issues too.

I would propose to move it out from 6.3.0 target release.

Moving this back to assigned.
Sorry for confusion. 
We would fix this together with all 3rd parites built from source.

Comment 11 Petr Kočandrle 2016-04-14 12:26:01 UTC
In ER3 we managed to get rid of the batik-* artifacts but the list is still not empty. According to http://download.englab.bne.redhat.com/devel/candidates/BRMS/BRMS-6.3.0.ER3/maven-repository-report/#tab-malformed-versions there are still 3 non-productized artifacts and we can't simply exclude them:
  * com.google.code.findbugs:annotations:2.0.1
  * jsr94:jsr94:1.1
  * sun-jaxb:jaxb-api:2.1.4

I wonder why is com.google.code.findbugs:jsr305:2.0.1 not included anymore, because it is a transitive dependency of project-sources-maven-plugin used in jboss-brms-bpmsuite-repository-parent (quickstart) and it is not managed by our BOM. I think this is related to a bug in the dependency grapher causing that it is not crawling through all paths in the graph which I'm going to investigate soon.


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