Bug 814064 - Duplicatate files in distribution
Summary: Duplicatate files in distribution
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: HibernateSearch, Seam
Version: 2.0.0.ER4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.0.0.ER5
Assignee: Marek Novotny
QA Contact: Karel Piwko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 07:19 UTC by Karel Piwko
Modified: 2012-04-19 10:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-19 10:11:10 UTC
Type: Bug


Attachments (Terms of Use)

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.


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