build - Maven : Parent project not resolved, transitive dependencies not used for compiling -
after searching , trying lot of things need maven maven :)
so, problem on development box (which windows 2003) can build maven project, on bamboo server (x86_64 x86_64 x86_64 gnu/linux) fails because 1 of modules doesn't have library , compiling doesn't find class.
class found in transitive dependency, dependency seems me not resolved.
i've run command "mvn -x clean install" on both boxes , compared output. change think it's relevant
on dev-box
[debug] retrieving parent-pom: pl.com.abg.iacsro:sapscndp-claimprocessing:pom:1.0-snapshot project: pl.com.abg.iacsro:sapscndp-claimprocessing-api:jar:dev2010 repository.
on bamboo box
[debug] retrieving parent-pom: pl.com.abg.iacsro:sapscndp-claimprocessing:pom:1.0-snapshot project: null:sapscndp-claimprocessing-api:jar:dev2010 repository.
it seems me maven doesn't resolve parent of module, because later in build process i've seen (on bamboo box)
[warning] pom 'pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:dev2010:provided' invalid. dependencies (if any) not available current build. [debug] reason: failed validate pom project pl.com.abg.iacsro:sapscndp-claimprocessing-api @ artifact [pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:dev2010:provided] validation errors: [debug] 'dependencies.dependency.version' missing pl.com.abg.iacsro:systemcore-jobs-api:jar [debug] 'dependencies.dependency.version' missing pl.com.abg.iacsro:workflow-crossconflictresolution-api:jar [debug] 'dependencies.dependency.version' missing pl.com.abg.iacsro:iacs-commons-objectfactory:jar [debug] 'dependencies.dependency.version' missing ro.siveco.iacsro:farmerregistry-api:jar
i've found this
[warning] pom 'pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:dev2010:provided' invalid.
but i've checked , validated myself pom of dependency against xsd, pom valid.
have idea how resolve ?
many thanks!
p.s. : in case maybe i've overlooked something, here's full listing bamboo box http://dl.dropbox.com/u/402296/install.txt
when see such entry:
[debug] connecting repository: 'artifactory-internal-repository' url: 'http://192.168.0.59:8081/artifactory/repo'. downloading: http://192.168.0.59:8081/artifactory/repo/pl/com/abg/iacsro/onthespotcheck/1.0-snapshot/onthespotcheck-1.0-snapshot.pom [debug] using wagon implementation lightweight default mapping protocol http [debug] artifact resolved [warning] pom 'pl.com.abg.iacsro:onthespotcheck-checks-api:pom:dev2009_2:provided' invalid.
i'm tempted ask if there particular onthespotcheck-1.0-snapshot.pom
?
as side note, have bunch of:
for project: null:artifactid:version
that find pretty weird. why groupid null
? worth mention pom?
Comments
Post a Comment