Hi Lukas,
thank you so far. Basically I got it done. It is all about to find the
right bundles.
I'm realtive new to OSGI and still searching for an auto-deploy way to not
hazle too much with searching for bundles manually.
El dimecres, 29 juliol de 2015 16:43:19 UTC+2, Lukas Eder va escriure:
>
> Unfortunately, I won't be of much help. The main artefact uses the Felix
> Maven plugin to generate this info in the MANIFEST.MF:
>
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <version>2.5.4</version>
> <extensions>true</extensions>
> <executions>
> <execution>
> <id>bundle-manifest</id>
> <phase>process-classes</phase>
> <goals>
> <goal>manifest</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <supportedProjectTypes>
> <supportedProjectType>jar</supportedProjectType>
> </supportedProjectTypes>
> <instructions>
>
> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
> <Export-Package>*</Export-Package>
> <Import-Package>
> javax.persistence;resolution:=optional,
> org.apache.log4j;resolution:=optional,
> *
> </Import-Package>
>
> <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
> </instructions>
> </configuration>
> </plugin>
>
> This was needed a long time ago to properly import/export JPA and log4j
> APIs by some user. Probably, the above is neither entirely correct, nor
> up-to-date. Having said so, if you have concrete requirements (and perhaps
> a heads-up about how to), we'll be very glad to fix this for you.
>
> Best Regards,
> Lukas
>
> 2015-07-28 10:59 GMT+02:00 <[email protected] <javascript:>>:
>
>> Hi Lukas,
>>
>> the question is, how can I deploy jOOQ in a OSGI container ? When I look
>> into
>> http://search.maven.org/remotecontent?filepath=org/jooq/jooq/3.6.2/jooq-3.6.2.jar
>>
>> MANIFEST.MF it seems the jar is an OSGI bundle. So I try to deploy in
>> Felix, but got the error mentioned.
>>
>> Probably the dependencies are not resolved. Maybe somebody has deployed
>> in Felix or other container and can share how it was made.
>>
>> Thanx.
>>
>>
>
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.