Tycho:如何部署 eclipse-plugin 的源 jar 包?
在我的父pom中,我得到了这个配置来部署源jar:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
但是tycho构建模块忽略了这一点,所以它们的源没有安装/部署在maven存储库中。这意味着我不能将它们包含在程序集中(特别是如果程序集模块位于另一个 git 存储库中)。
是否可以配置其中一个 tycho 插件来构建和部署源 jar?
In my parent pom I got this configuration to deploy sources jars:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
But the tycho build modules ignore that, so their sources aren't installed/deployed in the maven repository. Which means I can't include them in an assembly (especially if the assembly module is located in another git repository).
Is it possible to configure one of the tycho plugins to build and deploy sources jars?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用此:
请参阅 https://github.com/jsievers /tycho-demo/blob/master/tychodemo.parent/pom.xml
Use this:
See https://github.com/jsievers/tycho-demo/blob/master/tychodemo.parent/pom.xml