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

Bug 1060773

Summary: KieJar expander is duplicating artifacts
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: DT GovernanceAssignee: Thomas Heute <theute>
Status: CLOSED UPSTREAM QA Contact: Matej Melko <mmelko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: soa-p-jira
Target Milestone: DR2   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:02 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 Stefan Bunciak 2014-02-03 14:56:26 UTC
Description of problem:

when I execute mvn clean deploy from dtgov-data dir 2 times in a row, the s-ramp repository ends up with a 
content like this:

Name ⋀ 	Type 	Derived 	Last Modified
dtgov-workflows-1.0.1.Final-redhat-8.jar	KieJarArchive		02/03/2014
dtgov-workflows-1.0.1.Final-redhat-8.pom	MavenPom		02/03/2014
kmodule.xml	KieXmlDocument		02/03/2014
kmodule.xml	KieXmlDocument		02/03/2014
overlord.demo.CheckDeployment-taskform.xml	XmlDocument		02/03/2014
overlord.demo.CheckDeployment-taskform.xml	XmlDocument		02/03/2014
overlord.demo.ReviewMeeting-taskform.xml	XmlDocument		02/03/2014
overlord.demo.ReviewMeeting-taskform.xml	XmlDocument		02/03/2014
overlord.demo.SimpleReleaseProcess.bpmn	BpmnDocument		02/03/2014
overlord.demo.SimpleReleaseProcess.bpmn	BpmnDocument		02/03/2014
overlord.demo.SimplifiedProjectLifeCycle.bpmn	BpmnDocument		02/03/2014
overlord.demo.SimplifiedProjectLifeCycle.bpmn	BpmnDocument		02/03/2014

Jar & pom files are overiden, however the bpmn process definitions & 
task-forms are duplicated.


Version-Release number of selected component (if applicable):
* 6.0.0.GA

How reproducible:


Steps to Reproduce:
1. Install FSW
2. execute mvn clean deploy from dtgov-data dir
3. repeat step #2

Actual results:
* Artifacts derived from KieJar are duplicated

Expected results:
* All existing artifacts (even the derived ones) are updated

Additional info:
* Everytime user is about to update dtgov-workflows he KieJar deriver duplicates existing stuff.

Comment 1 Kurt T Stam 2014-02-03 22:42:47 UTC
Hi Erik,

I think the wagon should first delete all the extracted and derived content when performing an update? Kind of begs the question if we should fail this, unless it is a SNAPSHOT?

Comment 2 JBoss JIRA Server 2014-07-15 15:16:48 UTC
Brett Meyer <brmeyer> updated the status of jira SRAMP-487 to Closed

Comment 3 JBoss JIRA Server 2014-07-16 16:04:25 UTC
Brett Meyer <brmeyer> updated the status of jira SRAMP-507 to Resolved

Comment 4 Brett Meyer 2014-07-16 16:06:02 UTC
SRAMP-507 now disallows artifact updates (unless they're a SNAPSHOT), so you should instead receive an error, rather than duplication.

Comment 5 JBoss JIRA Server 2014-07-29 16:27:48 UTC
Brett Meyer <brmeyer> updated the status of jira SRAMP-507 to Reopened

Comment 6 JBoss JIRA Server 2014-07-29 16:30:46 UTC
Brett Meyer <brmeyer> updated the status of jira SRAMP-507 to Closed

Comment 12 Red Hat Bugzilla 2025-02-10 03:35:02 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.