Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better OSGi buidling (cvgaviao's pull request): code style

  • Loading branch information...
commit 5f63644b196029ad4542581072a9ee83b7d4aca0 1 parent 91faf01
@ge0ffrey ge0ffrey authored
View
9 drools-compiler/pom.xml
@@ -10,7 +10,7 @@
</parent>
<artifactId>drools-compiler</artifactId>
- <packaging>bundle</packaging>
+ <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>Drools :: Compiler</name>
@@ -266,12 +266,9 @@
<Require-Bundle>org.drools.core;visibility:=reexport;bundle-version="${drools.osgi.version}"</Require-Bundle>
<Import-Package>!org.drools.*,!javax.enterprise.context.*,!javax.enterprise.inject.*,!javax.enterprise.event.*,!javax.enterprise.util.*,
<!-- java compilers are optional: only need one at most -->
- org.codehaus.janino.*;resolution:=optional,org.eclipse.jdt.*;resolution:=optional,
- *
+ org.codehaus.janino.*;resolution:=optional,org.eclipse.jdt.*;resolution:=optional,*
</Import-Package>
- <Export-Package>org.drools.lang.descr,!org.drools.commons.*,!org.drools.lang.*,!org.drools.cdi.*,org.drools.builder.impl,
- <!-- add this one manually as BND seems to miss it out -->
- org.kie.*</Export-Package>
+ <Export-Package>org.drools.lang.descr,!org.drools.commons.*,!org.drools.lang.*,!org.drools.cdi.*,org.drools.builder.impl,org.drools.*,org.kie.*</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Bundle-Activator>org.drools.osgi.compiler.Activator</Bundle-Activator>
</instructions>
View
6 drools-core/pom.xml
@@ -10,10 +10,10 @@
</parent>
<artifactId>drools-core</artifactId>
- <packaging>bundle</packaging>
+ <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>Drools :: Core</name>
-
+
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
@@ -185,7 +185,7 @@
<_removeheaders>Ignore-Package</_removeheaders>
<Bundle-SymbolicName>org.drools.core</Bundle-SymbolicName>
<Require-Bundle>org.kie.internalapi;visibility:=reexport;bundle-version="${drools.osgi.version}"</Require-Bundle>
- <Import-Package>!org.drools.*, *,org.osgi.util.tracker</Import-Package>
+ <Import-Package>!org.drools.*,*,org.osgi.util.tracker</Import-Package>
<Export-Package>org.drools.*</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Bundle-Activator>org.drools.osgi.core.Activator</Bundle-Activator>
View
4 drools-decisiontables/pom.xml
@@ -10,7 +10,7 @@
</parent>
<artifactId>drools-decisiontables</artifactId>
- <packaging>bundle</packaging>
+ <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>Drools :: Decision Tables</name>
@@ -83,7 +83,7 @@
<Bundle-SymbolicName>org.drools.decisiontables;singleton:=true</Bundle-SymbolicName>
<_removeheaders>Ignore-Package</_removeheaders>
<Require-Bundle>org.drools.core;bundle-version="${drools.osgi.version}"</Require-Bundle>
- <Import-Package>!org.drools.*, *</Import-Package>
+ <Import-Package>!org.drools.*,*</Import-Package>
<Export-Package>org.drools.*</Export-Package>
<DynamicImport-Package>org.drools.*</DynamicImport-Package>
<Bundle-Activator>org.drools.osgi.decisiontables.Activator</Bundle-Activator>
View
6 drools-persistence-jpa/pom.xml
@@ -10,7 +10,7 @@
</parent>
<artifactId>drools-persistence-jpa</artifactId>
- <packaging>bundle</packaging>
+ <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>Drools :: Persistence :: JPA</name>
<description>JPA implementation for Drools</description>
@@ -45,10 +45,10 @@
<instructions>
<_removeheaders>Ignore-Package</_removeheaders>
<Require-Bundle>org.drools.core;bundle-version="${drools.osgi.version}", org.drools.compiler;bundle-version="${drools.osgi.version}"</Require-Bundle>
- <Import-Package>!org.drools.*, *</Import-Package>
+ <Import-Package>!org.drools.*,*</Import-Package>
<Export-Package>org.drools.*</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
- <!--Bundle-Activator>org.drools.osgi.core.Activator</Bundle-Activator-->
+ <Bundle-Activator>org.drools.persistence.osgi.Activator</Bundle-Activator>
</instructions>
</configuration>
</plugin>
View
4 drools-templates/pom.xml
@@ -10,7 +10,7 @@
</parent>
<artifactId>drools-templates</artifactId>
- <packaging>bundle</packaging>
+ <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->
<name>Drools :: Templates</name>
@@ -50,7 +50,7 @@
<Bundle-SymbolicName>org.drools.templates;singleton:=true</Bundle-SymbolicName>
<_removeheaders>Ignore-Package</_removeheaders>
<Require-Bundle>org.drools.core;bundle-version="${drools.osgi.version}"</Require-Bundle>
- <Import-Package>!org.drools.*, *</Import-Package>
+ <Import-Package>!org.drools.*,*</Import-Package>
<Export-Package>org.drools.*</Export-Package>
<DynamicImport-Package>org.drools.*</DynamicImport-Package>
</instructions>
Please sign in to comment.
Something went wrong with that request. Please try again.