http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.3.7/doc/site/wrap-mojo.html says bundle:wrap
is deprecated, same with bundle:bundleall
. I currently use wrap
to create an OSGi bundle from a non-OSGi dependency, as described at http://www.lucamasini.net/Home/osgi-with-felix/creating-osgi-bundles-of-your-maven-dependencies. What should they be replaced by and what's the reason for the deprecation?
相关问题
- Include pom.xml in Jar with gradle
- What order does maven find its dependencies?
- proguard causing EnumMap NPE on dynamically declar
- how to deploy wab files in glassfish
- Maven: How to read the Parent POM version
相关文章
- IDEA2020 安装maven 插件后,springboot程序 SpringBootApplic
- pom文件中的插件定义
- pom.xml中的project为何报红
- Hibernate Tutorial - Where to put Mapping File?
- Cannot use org.jvnet.jax-ws-commons.jaxws-maven-pl
- New Maven install: mvn -version java.lang.ClassNot
- What's the difference between archetype.xml an
- NoNodeAvailableException[None of the configured no
The alternative is to just use the bundle:bundle goal, then in your pom.xml configure the plugin similar to the following:
You can control what dependencies get embeded and exported by changing the wildcards "*", scope, etc. attributes.
I've wondered the same question, found some clue here:
http://www.mail-archive.com/dev@felix.apache.org/msg22221.html
"Instead new features/goals will be added to solve common use-cases such as creating mega-bundles, etc."
I guess they're going to rework the current goals because the current codebase doesn't support all that they want to implement in the plugin.