3
我想在tycho構建過程中創建一些eclipse插件的p2存儲庫。如何在tycho eclipse-repository的category.xml中正確指定eclipse-plugins?
我category.xml
看起來像這樣:
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="plugins/<artifact-id>-1.0.0.jar"
id="<artifact-id>" version="1.0.0.qualifier">
<category name="cat" />
</feature>
<category-def name="cat" label="example category" />
</site>
其中<artifact-id>
是應包括在P2回購的Eclipse的插件的Maven構件編號。
當執行Maven構建我收到以下錯誤信息:
[ERROR] Internal error: java.lang.RuntimeException: "No solution found
because the problem is unsatisfiable.": ["Unable to satisfy dependency
from <repository-module-artifact-id> 1.0.0.qualifier to
<artifact-id>.feature.group[1.0.0,1.0.1).", "No
solution found because the problem is unsatisfiable."]
我已經包括在庫模塊的依賴關係Eclipse的插件。
我在這裏錯過了什麼?
感謝您指出我的錯誤。我創建了一個包含我的插件的功能。這聽起來有點超過我的單一插件設計,但對大型項目非常有意義。 – SpaceTrucker