2009-10-21 40 views
2

當嘗試使用以下設置:Sourceforge的組織屬性常春藤和Nexus

<dependency org="net.sourceforge.artifact" name="artifact" rev="2.0"/> 

和:

<artifact pattern="http://localhost/nexus/content/repositories/releases/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]" /> 

的Nexus預計

http:// ... net/sourceforge/artifact/artifact/revision/artifact.ext 

但淨利潤和sourceforge上都被完全像這樣下降:

http:// ... artifact/artifact/revision/artifact.ext 
+0

問題是什麼? – 2009-10-25 20:54:41

+0

我已經在下面添加了答案。在上面的例子中,常春藤因爲使用錯誤的解析器而在網址和sourceforge中丟棄了URL。 – Brandon 2009-11-24 19:17:24

回答

0

在這種情況下使用的正確解析器是發現的IBiblio解析器here。它會正確地將組織名稱中的句點轉換爲正確的URL。