Maven-Tycho Eclipse:安装 Maven 构建的插件时出错
我是使用 Maven-Tycho 自动化构建的新手。我按照该网站上的说明进行操作 http://zeroturnaround.com/blog/ Building-eclipse-plug-ins-with-maven-3-and-tycho/ 并执行了以下操作
我使用 poms 下载了 zip 文件,将其解压并进行了
mvn clean install.它说“建立成功”。
我进入了-> Achievements\update-site\target 文件夹,然后压缩站点文件夹并尝试将其安装为插件,这给我一个错误,说在 jar 文件中找不到软件站点...zip 文件具有功能、插件文件夹、 content.jar、artifacts.jar 和 site.xml 文件...
想知道出了什么问题...您能帮我解决这个问题吗...
我正在使用 Maven 3.0.4 和 Eclipse 版本:Helios Service Release 1
I am newbie to automating your build using Maven-Tycho. I followed the instructions on this site
http://zeroturnaround.com/blog/building-eclipse-plug-ins-with-maven-3-and-tycho/ and did the following
I downloaded the zip file with poms,extracted it and did a
mvn clean install
. It said "BUILD SUCCESS".I went into the -> achievements\update-site\target folder and then zipped the site folder and tried to install it as a plugin, this is giving me a error saying no software site found at jar file... the zip file has the features, plugin folders, content.jar, artifacts.jar and the site.xml files...
Wonder what is wrong... Could you please help me with this...
I am using Maven 3.0.4 with Eclipse Version: Helios Service Release 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 eclipse-update-site 打包类型中,文件夹 target/site 是 p2 存储库;在
eclipse-repository
打包类型中,p2 存储库位于target/repository
中。您可以通过将它们添加为 Eclipse 中的“本地”软件站点来从这些文件夹进行安装。
In an
eclipse-update-site
packaging type, the foldertarget/site
is a p2 repository; in aneclipse-repository
packaging type, the p2 repository is intarget/repository
.You can install from these folder by adding them as a "local" software site in Eclipse.