maven - how to resolve OSGI dependencies -


this general kind of question. how can resolve osgi dependencies? have jar dependency not packaged osgi bundle. if want use jar need explicitly create bundle out of it? if so, how do it?

to specific, trying integrate wicket of jquery functionality using wiquery. wicket version 1.4.17 , using maven.

i want use following dependency

<dependency>     <groupid>org.openengsb.forks</groupid>     <artifactid>org.odlabs.wiquery</artifactid>     <version>1.2.4.w1</version> </dependency> 

i tried doing adding above dependency in pom , adding import-package statement in configuration foeld of maven-bundle-plugin kept getting missing constraint error on startup.

you need include in manifest file of osgi bundle, , include wiquery jar osgi in osgi environment.

with maven, should include in part of code write manifest file. , then, need add jar of wiquery in osgi container before include bundle.

if in google, can see there work integrate wiquery , osgi since 2011


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -