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