Bug 814064 - Duplicatate files in distribution
Duplicatate files in distribution
Status: CLOSED NOTABUG
Product: JBoss Enterprise WFK Platform 2
Classification: JBoss
Component: HibernateSearch, Seam (Show other bugs)
2.0.0.ER4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 2.0.0.ER5
Assigned To: Marek Novotny
Karel Piwko
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-19 03:19 EDT by Karel Piwko
Modified: 2012-04-19 06:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-19 06:11:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karel Piwko 2012-04-19 03:19:28 EDT
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 04:58:30 EDT
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 05:11:40 EDT
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 06:10:51 EDT
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.