我将 Apache Felix 中的“maven-bundle-plugin”配置为 Eclipse 中的 Maven Archetype(因为它丢失了),但是当我尝试用它创建一个新的 Maven 项目时,我得到了错误:
Unable to create project from archetype [org.apache.felix:
maven-bundle-plugin:2.3.5 -> ]
The defined artifact is not an archetype
然后我用 ops4j Pax(在 Eclipse 中预先配置)尝试了相同的过程,这似乎是类似的东西,并且它有效,所以我认为我做对了,问题在于“maven-bundle-plugin ”。
错误消息是什么意思,我能做些什么来修复它,或者我是否以某种方式把这一切都弄错了?
[编辑] 虽然我可以使用 ops4j Pax 创建项目,但后来我得到:
Project build error: Unknown packaging: bundle
这显然是在 2009 年修复的!所以这显然也行不通。