2013-01-05 60 views
1

我正在嘗試從源代碼構建xunit插件。我收到以下錯誤:建設xunit詹金斯插件

[ERROR] The project org.jenkins-ci.plugins:xunit:1.53-SNAPSHOT (/Users/admin/Downloads/xunit-plugin-master/pom.xml) has 1 error 
[ERROR]  Non-resolvable parent POM: Could not find artifact org.jenkins-ci.plugins:plugin:pom:1.410 in guice-maven (http://guice-maven.googlecode.com/svn/trunk) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help 2] 

如何修復pom.xml

回答

0

它說它無法從在線存儲庫中獲取工件。 嘗試配置另一個回購以獲取工件。

<settings> 
<profiles> 
    <profile> 
    <id>myprofile</id> 
    <repositories> 
     <repository> 
     <id>my-repo2</id> 
     <name>your custom repo</name> 
     <url>http://jarsm2.dyndns.dk</url> 
     </repository> 
    </repositories> 
    </profile> 
    </profiles> 
<activeProfiles> 
    <activeProfile>myprofile</activeProfile> 
</activeProfiles> 
</settings>