Maven 2 Maven:未解析父项目,未使用可传递依赖项进行编译

Maven 2 Maven:未解析父项目,未使用可传递依赖项进行编译,maven-2,build,parent,dependencies,Maven 2,Build,Parent,Dependencies,在搜索和尝试了很多东西之后,我需要一个Maven Maven:) 因此,我的问题是,在我的开发箱(即Windows 2003)上,我可以构建maven项目,但在Bamboo服务器(x86_64 x86_64 x86_64 GNU/Linux)上,它失败了,因为其中一个模块没有库,编译也找不到类。 该类位于可传递的依赖项中,在我看来,该依赖项尚未解决。 我已经在这两个框上运行了命令“mvn-xclean-install”,并比较了输出。 我认为唯一相关的变化是 关于开发盒 [DEBUG] Retr

在搜索和尝试了很多东西之后,我需要一个Maven Maven:)
因此,我的问题是,在我的开发箱(即Windows 2003)上,我可以构建maven项目,但在Bamboo服务器(x86_64 x86_64 x86_64 GNU/Linux)上,它失败了,因为其中一个模块没有库,编译也找不到类。
该类位于可传递的依赖项中,在我看来,该依赖项尚未解决。
我已经在这两个框上运行了命令“mvn-xclean-install”,并比较了输出。 我认为唯一相关的变化是

关于开发盒

[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.  
论竹盒

[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.
在我看来,maven并没有解析模块的父级,因为在构建过程的后面,我已经看到了(在竹盒子上)

我也发现了这个

[WARNING] POM for 'pl.com.abg.iacsro:sapscndp-claimprocessing-api:pom:DEV2010:provided' is invalid.
但是我已经检查并验证了依赖项的pom与xsd之间的关系,因此pom是有效的。


你知道怎么解决这个问题吗?

非常感谢!


注:如果我可能忽略了什么,当我看到这样一个条目时,这里是竹框中的完整列表:

[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.
我觉得很奇怪。为什么groupId
null
?关于你的pom有什么值得一提的吗?

谢谢你的提醒,有时候我看不到全部情况。这是一个我试图纠正的遗留项目,所以它充满了小错误。我已经删除了.m2文件夹,并且在我的dev box上复制了该行为。我将获取所有依赖项,看看它们是否有正确的POM。 [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. for project: null:artifactId:version