作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我正在构建一个框架,并希望将其用作独立的 java 应用程序和导出 java 项目中所有包的 eclipse 插件。
我目前的做法是拥有两个项目(java + eclipse 插件),构建 java 项目,复制 jar 文件,将文件添加到插件的路径,然后(手动)导出所有包。
有没有办法使用 maven 自动执行此过程?
最佳答案
eclipse Tycho项目旨在使用 Maven 构建 Eclipse 插件。
Tycho is a set of Maven plugins and extensions for building Eclipse plugins and OSGi bundles with Maven. Eclipse plugins and OSGi bundles have their own metadata for expressing dependencies, source folder locations, etc. that are normally found in a Maven POM
您应该能够拥有一个项目,Tycho 将负责构建一个合适的 OSGi 包,包括 MANIFEST、xml 配置等。
关于java - 有没有办法在 eclipse 插件中包含常规的 Maven 依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19820142/
我是一名优秀的程序员,十分优秀!