Bug 814064

Summary: Duplicatate files in distribution
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: HibernateSearch, SeamAssignee: Marek Novotny <mnovotny>
Status: CLOSED NOTABUG QA Contact: Karel Piwko <kpiwko>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.0.ER4CC: stliu
Target Milestone: ---   
Target Release: 2.0.0.ER5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-19 10:11:10 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 Karel Piwko 2012-04-19 07:19:28 UTC
Following files are the same and are distributed twice:

bsh.jar
jboss-jms-api_1.1_spec.jar
jboss-annotations-api_1.1_spec-1.0.0.Final-redhat-1.jar
hibernate-jpa-2.0-api.jar
jboss-transaction-api_1.1_spec-1.0.0.Final-redhat-1.jar
hibernate-core-4.1.1.Final-redhat-1.jar
hibernate-commons-annotations-4.0.1.Final-redhat-1.jar
jboss-logging-3.1.0.GA-redhat-1.jar
javassist-3.15.0.GA-redhat-1.jar
hibernate-search-analyzers-4.1.0.Final-redhat-1.jar
hibernate-entitymanager-4.1.1.Final-redhat-1.jar
hibernate-search-engine-4.1.0.Final-redhat-1.jar
hibernate-search-orm-4.1.0.Final-redhat-1.jar

Basically this a result of distributing Hibernate Search as a part of Seam.

Log:

ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/gen/bsh.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/bsh.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/jboss-jms-api_1.1_spec.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/provided/jboss-jms-api_1.1_spec-1.0.0.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/jboss-annotations-api_1.1_spec.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/provided/jboss-annotations-api_1.1_spec-1.0.0.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-jpa-2.0-api.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/provided/hibernate-jpa-2.0-api-1.0.1.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/jboss-transaction-api_1.1_spec.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/provided/jboss-transaction-api_1.1_spec-1.0.0.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-core.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/required/hibernate-core-4.1.1.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-commons-annotations.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/required/hibernate-commons-annotations-4.0.1.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/jboss-logging.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/required/jboss-logging-3.1.0.GA-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/javassist.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/optional/javassist-3.15.0.GA-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-search-analyzers.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/optional/hibernate-search-analyzers-4.1.0.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-entitymanager.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/lib/optional/hibernate-entitymanager-4.1.1.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-search-engine.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/hibernate-search-engine-4.1.0.Final-redhat-1.jar
ERROR: Duplicate .jar /home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/jboss-seam-2.3.0.Beta1-redhat-1/lib/hibernate-search-orm.jar:/home/jenkins/workspace/wfk-2.0-maven-repository-verify/jboss-wfk-2.0.0.ER4/hibernate-search-4.1.0.Final-redhat-1/hibernate-search-orm-4.1.0.Final-redhat-1.jar

Comment 2 Karel Piwko 2012-04-19 08:58:30 UTC
The independence is unclear to me, often the customers are required to download multiple zips, e.g.

Seam + RichFaces 
Seam + Snowdrop

I read inclusion of Hibernate Search as Hibernate Search being a required in order to use Seam.

Comment 3 Marek Novotny 2012-04-19 09:11:40 UTC
Seam distribution works like complete distribution and not that you take zip here and there and now you have what you need.

Comment 4 Karel Piwko 2012-04-19 10:10:51 UTC
After the discussion with the rest of the team, it is now clear to me that duplicate distribution is an inherent property of Ant based distribution.

There is no way how to actually avoid it, so QE will focus on verifying that duplicate content from various -bin.zip is really the same.