Skip to content

Commit

Permalink
[DROOLS-1129] consistent OSGi Bundle-SymbolicName for all jars (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
psiroky committed Apr 27, 2016
1 parent 9ca3413 commit 9ca1b85
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
5 changes: 4 additions & 1 deletion optaplanner-benchmark/pom.xml
Expand Up @@ -21,6 +21,10 @@
This module contains the benchmarker toolkit.
</description>

<properties>
<osgi.Bundle-SymbolicName>org.optaplanner.benchmark</osgi.Bundle-SymbolicName>
</properties>

<dependencies>
<!-- Internal dependencies -->
<dependency>
Expand Down Expand Up @@ -103,7 +107,6 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.optaplanner.benchmark</Bundle-SymbolicName>
<Export-Package>
org.optaplanner.benchmark.*
</Export-Package>
Expand Down
5 changes: 4 additions & 1 deletion optaplanner-core/pom.xml
Expand Up @@ -21,6 +21,10 @@
This module contains the planning engine itself.
</description>

<properties>
<osgi.Bundle-SymbolicName>org.optaplanner.core</osgi.Bundle-SymbolicName>
</properties>

<dependencies>
<!-- Internal dependencies -->
<dependency>
Expand Down Expand Up @@ -92,7 +96,6 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.optaplanner.core</Bundle-SymbolicName>
<Export-Package>
org.optaplanner.core.*
</Export-Package>
Expand Down
Expand Up @@ -21,6 +21,10 @@
This module contains the common persistence integration.
</description>

<properties>
<osgi.Bundle-SymbolicName>org.optaplanner.persistence.common</osgi.Bundle-SymbolicName>
</properties>

<dependencies>
<!-- Internal dependencies -->
<dependency>
Expand Down Expand Up @@ -67,7 +71,6 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.optaplanner.persistence.common</Bundle-SymbolicName>
<Export-Package>
org.optaplanner.persistence.common.*
</Export-Package>
Expand Down
3 changes: 2 additions & 1 deletion optaplanner-persistence/optaplanner-persistence-jpa/pom.xml
Expand Up @@ -96,6 +96,8 @@
</dependencies>

<properties>
<osgi.Bundle-SymbolicName>org.optaplanner.persistence.jpa</osgi.Bundle-SymbolicName>

<maven.btm.maxPoolSize>16</maven.btm.maxPoolSize>
<maven.hibernate.dialect>org.hibernate.dialect.H2Dialect</maven.hibernate.dialect>
<maven.datasource.classname>bitronix.tm.resource.jdbc.lrc.LrcXADataSource</maven.datasource.classname>
Expand Down Expand Up @@ -128,7 +130,6 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.optaplanner.persistence.jpa</Bundle-SymbolicName>
<Export-Package>
org.optaplanner.persistence.jpa.*
</Export-Package>
Expand Down
Expand Up @@ -21,6 +21,10 @@
This module contains the XStream integration.
</description>

<properties>
<osgi.Bundle-SymbolicName>org.optaplanner.persistence.xstream</osgi.Bundle-SymbolicName>
</properties>

<dependencies>
<!-- Internal dependencies -->
<dependency>
Expand Down Expand Up @@ -76,7 +80,6 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.optaplanner.persistence.xstream</Bundle-SymbolicName>
<Export-Package>
org.optaplanner.persistence.xstream.*
</Export-Package>
Expand Down

0 comments on commit 9ca1b85

Please sign in to comment.