[英]Tycho build fails with “No content specified for p2 repository” although there is a category.xml
Eclipse插件Markdown-Editor不使用Maven / Tycho構建。 構建失敗並顯示消息
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.18.1:assemble-repository (default-assemble-repository)
on project markdown.editor.site: No content specified for p2 repository -> [Help 1]
類似的配置StartExplorer插件工作正常:
category.xml:
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/markdown.editor.feature_1.0.0.jar" id="markdown.editor.feature" version="1.0.0">
<category name="markdowneditor"/>
</feature>
<category-def name="markdowneditor" label="Markdown Editor">
<description>
Extend the text editor to provide good Markdown support.
</description>
</category-def>
</site>
的pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.winterwell.markdown</groupId>
<artifactId>markdown.editor.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>markdown.editor.site</artifactId>
<packaging>eclipse-repository</packaging>
<name>Markdown Editor (site)</name>
<description>Markdown Editor (site)</description>
</project>
與tycho-p2-repository-plugin相關的失敗,“沒有為p2存儲庫指定內容”
以及如何在tycho eclipse-repository的category.xml中正確指定eclipse-plugins?
如果使用-SNAPSHOT``, then in
定義版本-SNAPSHOT``, then in
category.xml version should have
.qualifier`
<feature url="features/markdown.editor.feature_1.0.0.jar" id="markdown.editor.feature" version="1.0.0.qualifier">
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.