Download Java EE API JARs as OSGI bundles

强颜欢笑 提交于 2019-12-23 04:05:16

问题


Is there a place where I can download Java EE API JARs as OSGi bundles?


回答1:


I don't know of anywhere where you can do that, but you can wrap the jars and deploy them as bundles with the wrap scheme.

So the command that you would want to use to pull them from maven and wrap them as bundles would be osgi:install -s wrap:mvn:javax/javaee-api/6.0.




回答2:


Apache Geronimo produces API jars for the Java EE packages and they are all (at least all the ones I've used) OSGi bundles. They are all installed in maven central. You can search for them in maven central here and either download them for use outside maven, or you can add the dependency to your pom and get them that way.



来源:https://stackoverflow.com/questions/7277172/download-java-ee-api-jars-as-osgi-bundles

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!