下面的脚本通过查看不同Maven项目的pom.xml来检查它们的父版本。
#!/bin/bash
# Loop to find all pom.xml
for i in `find . ! -path "*/target/*" -type f -name pom.xml`
do
# Filter the parent artifactId.
grep -q 'IC_Maven_JEE_Parent\|IC_Maven_Parent' $i
if [ "$?" -eq 0 ]; then
# Print parent
问题:
[ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.name.dept:comp:5.0.15-SNAPSHOT-SNAPSHOT: Could not transfer artifact com.name.dept:comp-parent:pom:1.0.12 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org and
我们在使用带有git和maven模块的maven-release-plugin时遇到了问题。
我们有以下项目结构:
pom.xml(ApplicationTest and ApplicationConf are modules)
ApplicationWeb
---pom.xml(parent pom in root folder)
ApplicationTest
---pom.xml(parent pom in root folder)
ApplicationConf
---pom.xml(All environments are modules. This has no par
[ERROR] The project org.sakaiproject:master:2.9.1 (C:\Users\juhi_juneja\Desktop\sakai- src-2.9.1\sakai-src-2.9.1\master\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.sonatype.oss:oss- parent:pom:7
from/to sakai-maven (http://source.sakaiproject.org/maven2)
我希望在某种全局项目目录中有一个模块,这样我就可以将该模块包含在使用该通用代码的所有其他项目中。
但是,我如何告诉maven父pom包含和编译这个全局共享模块?以下内容不起作用:
svn/MyGlobalProject/project-commons/pom.xml //should be shared among different projects
svn/MyProject/web-parent/trunk/pom.xml //the parent pom used to build the application
svn/MyProje
在Maven构建期间,我得到了一个缺少工件的错误,因为其中一个依赖项使用版本的属性声明了它的父工件。现在属性本身已在父pom中声明,我的项目构建失败,并显示以下错误:
[ERROR] Failed to execute goal on project abc: Unable to get dependency
information for xyz:pqr:jar:SNAPSHOT: Failed to process POM for
xyz:pqr:jar:SNAPSHOT: Non-resolvable parent POM xyz:pqr-parent:${someversion}
f
我在maven中遇到了一个构建错误,我无法解释,我的项目布局是:
root
|--parent
|--project
其中根(聚合器)和项目都使用“父”作为其父。
我在另一个项目中使用了这个布局,maven能够构建这个布局。但是,在这个项目中,如果我试图构建,就会在不可解析的父pom上失败:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for maven.test:maven-test-project:9.9.9-SNAPS
我有一个基于父项目的测试项目。这个父级是预先构建的,并且在本地artifactory服务器上可用。父项目在本地不可用,这种情况应该保持不变。 如您所见,我没有使用relativePath元素。 尽管如此,当运行"mvn clean install -U“时,我得到了一个关于缺少父级的错误。 [ERROR] Non-resolvable parent POM for com.test.example:test:0.0.1-SNAPSHOT: Could not find artifact com.test:projects-parent:pom:0.0.1-SNAPSHOT a
嗨,我试图克隆存储库,并构建opendaylight wiki页面中提到的源代码。但是建筑失败了。
链接:
以下是我遵循的步骤:
查看来自的最新netconf存储库
深入netconf/netconf/tools/netconf-测试工具/文件夹
使用mvn干净安装命令构建测试工具
生成失败时有以下错误跟踪:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable paren
我有一个类似下面的项目
mainProject -多模块项目结构:
pom.xml
newfolder/pom.xml
otherProject:
otherProject.pom.xml with mainProject.pom.xml as its parent pom and newFolder/pom.xml as a dependency.
如下所示:
mainProject pom.xml:
<groupId>test.test</groupId>
<artifactId>mainProject</artifactId>
<ve
我想知道如何设置一个父pom来处理我的spring引导依赖关系,以及构建一些客户端jars。
Parent Project
|- client-jar-1
| |- src/main/java/MyPojo.java
| |- pom.xml (parent super pom? <package> type is jar)
|- pom.xml (parent is spring-boot-starter-parent <package> type is pom)
Child Project
|- pom.xml (parent pom is custom p
我已经能够在这里遵循这些步骤,
但是我一直在pom.xml上看到这个错误.
Project build error: Non-resolvable parent POM: Could not find artifact org.holoeverywhere:parent:pom:1.6.9-SNAPSHOT and 'parent.relativePath' points at wrong local POM
有人能帮我一下吗?
我遇到了一个maven安装问题,错误如下:
[ERROR] Non-resolvable parent POM: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE and 'parent.relativePath' points at wrong local POM @ line 16, column 10 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableMod
考虑一个包含模块的maven项目,它由一些实用程序(jar)和一些pom组成,如果其他人想要使用其中的一些实用程序,可以参考它们。
例如,在父pom.xml内
<artifactId>project-parent</artifactId>
<modules>
<module>client-ref-pom</module> (a module with just one pom.xml)
<module>server-ref-pom</module> (a module with just one pom