<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Import-Package>
- *,
- org.argeo.jcr,
- </Import-Package>
</instructions>
</configuration>
</plugin>
</instructions>
</configuration>
</plugin>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
+ <!-- Import-Package needs to be specified explicitly since BND doesn't
+ deal with custom Spring-Context instructions -->
+ <Spring-Context>META-INF/spring/*.xml;create-asynchronously:=false</Spring-Context>
<Import-Package>
*,
com.mysql.jdbc;resolution:=optional,
<Import-Package>
*,
com.mysql.jdbc;resolution:=optional,
\r
<!-- SERVICES -->\r
<service ref="repositoryFactory" interface="javax.jcr.RepositoryFactory" />\r
\r
<!-- SERVICES -->\r
<service ref="repositoryFactory" interface="javax.jcr.RepositoryFactory" />\r
-<!-- <service ref="repositoryFactory" interface="org.argeo.jcr.RepositoryRegister" /> -->\r
</beans:beans>
\ No newline at end of file
</beans:beans>
\ No newline at end of file
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.commons.server</groupId>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.commons.server</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
+ <Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
+ <!-- Import-Package needs to be specified explicitly since BND doesn't
+ deal with custom Spring-Context instructions -->
+ <Spring-Context>META-INF/spring/*.xml;create-asynchronously:=false</Spring-Context>
+ javax.jcr,
+ org.argeo.jackrabbit,
</Import-Package>
</instructions>
</configuration>
</Import-Package>
</instructions>
</configuration>