Maven: parent project not allowed, transient dependencies not used for compilation

After searching and trying a lot of things I need Maven maven :)
So my problem is that in my development box (which is Windows 2003) I can build my maven project, but on the Bamboo server (x86_64 x86_64 x86_64 GNU / Linux) it fails because one of the modules does not have a library and compilation does not find the class.
The class is found in a transitive dependency, a dependency that, it seems to me, has not been resolved.
I ran the command "mvn -X clean install" in both blocks and compared the output. The only change that in my opinion matters

In dev-box

[DEBUG] Retrieving parent-POM: pl.com.abg.iacsro:sapscndp-claimprocessing:pom:1.0-SNAPSHOT for project: pl.com.abg.iacsro:sapscndp-claimprocessing-api:jar:DEV2010 from the repository. 

In a bamboo box

 [DEBUG] Retrieving parent-POM: pl.com.abg.iacsro:sapscndp-claimprocessing:pom:1.0-SNAPSHOT for project: null:sapscndp-claimprocessing-api:jar:DEV2010 from the repository. 

It seems to me that maven does not allow the parent module of the module, because later in the build process that I saw (in the Bamboo window)

 [WARNING] POM for 'pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:DEV2010:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [DEBUG] Reason: Failed to validate POM for project pl.com.abg.iacsro:sapscndp-claimprocessing-api at Artifact [pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:DEV2010:provided] Validation Errors: [DEBUG] 'dependencies.dependency.version' is missing for pl.com.abg.iacsro:systemcore-jobs-api:jar [DEBUG] 'dependencies.dependency.version' is missing for pl.com.abg.iacsro:workflow-crossconflictresolution-api:jar [DEBUG] 'dependencies.dependency.version' is missing for pl.com.abg.iacsro:iacs-commons-objectfactory:jar [DEBUG] 'dependencies.dependency.version' is missing for ro.siveco.iacsro:farmerregistry-api:jar 

I also found this

 [WARNING] POM for 'pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:DEV2010:provided' is invalid. 

but I checked and confirmed that pom is xsd dependent, so pom is valid.


Do you have an idea how to solve this?

Many thanks!

Postscript: In the case, maybe I missed something, here is the complete list from the Bamboo window http://dl.dropbox.com/u/402296/install.txt

+4
source share
1 answer

When I see this entry:

  [DEBUG] Connecting to repository: 'Artifactory-internal-repository' with 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 from default mapping for protocol http
 [DEBUG] Artifact resolved
 [WARNING] POM for 'pl.com.abg.iacsro: onthespotcheck-checks-api: pom: DEV2009_2: provided' is invalid.

I am tempted to ask if there is anything special to say about onthespotcheck-1.0-SNAPSHOT.pom ?

As a side note, you have a bunch of:

  for project: null : artifactId: version 

which I find rather strange. Why is groupId null ? Anything worth mentioning about your pom?

+1
source

All Articles