Issue Details (XML | Word | Printable)

Key: FITLIB-38
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Oliver Rohr
Reporter: Morales Ludovic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Valtech FitLib

Wrong classpath generation with Maven module dependency

Created: 06.Dec.11 10:13   Updated: 06.Dec.11 10:13
Component/s: Maven Fitnesse Classpath Generation
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Rank:
3     


 Description  « Hide
I have got a maven structure like this :
PomParent
  - module-1
  - module-2
  - module-fitnesse

module fitnesse have a dependency on module-1, module-2 and the maven-fitnesse-cpgen-plugin.

When the gencp goal runs the classpath generated is wrong

the classpath generated for the dependency module is :

!define M2_REPO (/integrationContinue/maven3)
!path ${M2_REPO}//integrationContinue/hudson/jobs/FitnesseSconetAdm/workspace/sconetadm-trunk/sconetadm-service/target/sconetadm-service-11.5.0.3.jar
!path ${M2_REPO}//integrationContinue/hudson/jobs/FitnesseSconetAdm/workspace/sconetadm-trunk/sconetadm-dao/target/sconetadm-dao-11.5.0.3.jar

the path is a mix between the local target of the dependency and and the maven repository,

it should be :

!define M2_REPO (/integrationContinue/maven3)
!path /integrationContinue/hudson/jobs/FitnesseSconetAdm/workspace/sconetadm-trunk/sconetadm-service/target/sconetadm-service-11.5.0.3.jar
!path /integrationContinue/hudson/jobs/FitnesseSconetAdm/workspace/sconetadm-trunk/sconetadm-dao/target/sconetadm-dao-11.5.0.3.jar

or

!define M2_REPO (/integrationContinue/maven3)
!path ${M2_REPO}/org/xx/x/sconetadm-service/11.5.0.3/sconetadm-service-11.5.0.3.jar
!path ${M2_REPO}/org/xx/x/sconetadm-dao/11.5.0.3/sconetadm-dao-11.5.0.3.jar