如何从 maven-bundle-plugin 2.5.3 迁移到 3.0.0
How To Migrate From maven-bundle-plugin 2.5.3 to 3.0.0
我的 maven pom.xml 依赖于 maven-bundle-plugin
:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
</plugin>
版本 3 已经发布了几个版本,但是 no documentation 关于 API 中断是什么让他们增加了主要版本。
经过数小时的挖掘,我找到了 documentation for the sprint, but I have no way to know for sure which of the issues was the API break (my guess would be FELIX-5047,但这纯粹是推测)。
将我的项目从 2.5.3 迁移到 3.0.0 需要什么?
您只需要更改 POM 文件中的版本。
关于版本变更,来自changelog.txt:
Changes from 2.5.5 to 3.0.0
** Improvement
* [FELIX-5047] - Disable bnd ScrPlugin by default
* [FELIX-5030] - Do not require a pom.xml when Polyglot Maven is used
* [FELIX-5029] - Update to bnd 3.0.0
最有可能与 bnd 版本保持一致。
我的 maven pom.xml 依赖于 maven-bundle-plugin
:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
</plugin>
版本 3 已经发布了几个版本,但是 no documentation 关于 API 中断是什么让他们增加了主要版本。
经过数小时的挖掘,我找到了 documentation for the sprint, but I have no way to know for sure which of the issues was the API break (my guess would be FELIX-5047,但这纯粹是推测)。
将我的项目从 2.5.3 迁移到 3.0.0 需要什么?
您只需要更改 POM 文件中的版本。
关于版本变更,来自changelog.txt:
Changes from 2.5.5 to 3.0.0
** Improvement
* [FELIX-5047] - Disable bnd ScrPlugin by default * [FELIX-5030] - Do not require a pom.xml when Polyglot Maven is used * [FELIX-5029] - Update to bnd 3.0.0
最有可能与 bnd 版本保持一致。