2013-03-18 62 views
2

我正在同时使用Maven创建在Eclipse的Java在webstart项目项目的生成错误在Maven的同时创造Webstart的项目

Project build error: Non-resolvable parent POM:Failure to find 
org.jbundle.util.webapp:jbundle-util-webapp-parent:pom:0.7.2 in 
http://repo.maven.apache.org/maven2 was cached in local respository, 
resolution will not be reattempted until the update interval of central 
had elapsed or updates are forced and 'parent.relativePath' points at wrong 
local POM. 

请帮我下面的错误,我无法理解的事

+0

你能否向我们提供你正在使用的pom的开头?看来你的元素有问题。它可能指向不正确或不存在的目录或文件 – pvm14 2013-03-18 23:57:51

+0

请参阅http://stackoverflow.com/questions/4856307/when-maven-says-resolution-will-not-be-reattempted-until-的更新间隔-的 – 2013-03-19 01:54:32

回答

1
The parent pom is not found 
1.you can try to remove the parent pom (if you don't have any dependency) 
2.add the parent pom 

<parent> 
<groupId>com.test</groupId> 
<artifactId>TestProject</artifactId> 
<version>1.5.3-RELEASE</version> 
</parent> 

root 
|-- parent-pom 
| |-- branches 
| |-- tags 
| `-- trunk 
|  `-- pom.xml 
`-- projectA 
    |-- branches 
    |-- tags 
    `-- trunk 
     |-- module1 
     | `-- pom.xml 
     |-- moduleN 
     | `-- pom.xml 
     `-- pom.xml