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

Bug 899576 (JBPAPP6-194)

Summary: Review Maven repository for duplicate versions
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Paul Gier <pgier>
Component: Maven RepositoryAssignee: Vladimir Dosoudil <dosoudil>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rsvoboda
Target Milestone: ---   
Target Release: EAP 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-194
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-20 06:52:06 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
check-mvn-repo none

Description Paul Gier 2011-11-06 15:43:38 UTC
project_key: JBPAPP6

In some cases there are multiple versions of certain jars in our repository.  We need a script that can find cases where more than one version exists for a particular jar.  And then the output can be used by the prod team to remove the extra version of the package from the repo.

Comment 1 Paul Gier 2011-11-06 15:44:32 UTC
Link: Added: This issue is related to JBPAPP-7483


Comment 2 Paul Gier 2011-11-09 14:31:13 UTC
Vladmir, can you run the script against the -latest tag repository, and then upload the script?

Comment 3 Vladimir Dosoudil 2011-11-10 07:53:02 UTC
Usage: check-mvn-repo PATH-TO-REPOSITORY
Check the Maven repository for latest artifacts.
Generate the list of latest artifacts to standard output (stdout).
Generate the list of older artifacts to standard error (stderr).

Applied: {code}check-mvn-repo /mnt/redhat/brewroot/repos/jb-eap-6-rhel-6-latest/latest/maven > list-of-latests.txt 2> list-of-extras.txt{code}

I recommend using `sort` against both outputs.


Comment 4 Vladimir Dosoudil 2011-11-10 07:53:02 UTC
Attachment: Added: check-mvn-repo


Comment 5 Vladimir Dosoudil 2011-11-10 08:38:45 UTC
The script has been attached.

Comment 6 Anne-Louise Tangring 2012-11-04 14:33:06 UTC
Docs QE Status: Removed: NEW 


Comment 7 Rostislav Svoboda 2012-11-20 06:52:06 UTC
Closing, internal script used by Paul and Vladimir.

Verified on EAP 6.0.1 ER3
No duplicated versions in maven repo zip, JSF is expected in two versions.