Permalink
Browse files

Maven-bundle-plugin based version now also works.

  • Loading branch information...
1 parent 39ac778 commit c41a7118ef42c9d832aeec3ef960912a4a9e20de @bosschaert committed Jun 3, 2011
@@ -21,6 +21,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
+ <Bundle-SymbolicName>${project.name}</Bundle-SymbolicName>
<Export-Package>*;version=${project.version}</Export-Package>
</instructions>
</configuration>
@@ -27,6 +27,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
+ <Bundle-SymbolicName>${project.name}</Bundle-SymbolicName>
<Export-Package/>
<Private-Package>org.coderthoughts.asciipics.client</Private-Package>
<Service-Component>OSGI-INF/*.xml</Service-Component>
@@ -33,6 +33,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
+ <Bundle-SymbolicName>${project.name}</Bundle-SymbolicName>
<Bundle-Activator>org.coderthoughts.asciipics.ejb.aliaser.Activator</Bundle-Activator>
</instructions>
</configuration>
@@ -9,7 +9,7 @@
import org.osgi.framework.ServiceRegistration;
public class Activator implements BundleActivator {
- private static final String JNDI_NAME = "java:global/ascii-pics-provider-ejb-1.0-SNAPSHOT/AsciiPicEJB";
+ private static final String JNDI_NAME = "java:global/ascii-pics-provider-ejb-mbp-1.0-SNAPSHOT/AsciiPicEJB";
private ServiceRegistration reg;
@@ -33,6 +33,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
+ <Bundle-SymbolicName>${project.name}</Bundle-SymbolicName>
<Bundle-Activator>org.coderthoughts.asciipics.Activator</Bundle-Activator>
<Private-Package>org.coderthoughts.asciipics.impl</Private-Package>
</instructions>
@@ -46,7 +46,7 @@
<configuration>
<archive>
<manifestEntries>
- <Dependencies>org.jboss.modules,deployment.ascii-pics-api-bundle:1.0.0</Dependencies>
+ <Dependencies>org.jboss.modules,deployment.ascii-pics-api-bundle-mbp:1.0.0</Dependencies>
</manifestEntries>
</archive>
</configuration>
@@ -9,7 +9,7 @@
import org.osgi.framework.ServiceRegistration;
public class Activator implements BundleActivator {
- private static final String JNDI_NAME = "java:global/ascii-pics-provider-ejb-1.0-SNAPSHOT/AsciiPicEJB";
+ private static final String JNDI_NAME = "java:global/ascii-pics-provider-ejb-tycho-1.0-SNAPSHOT/AsciiPicEJB";
private ServiceRegistration reg;
@@ -46,7 +46,7 @@
<configuration>
<archive>
<manifestEntries>
- <Dependencies>org.jboss.modules,deployment.ascii-pics-api-bundle:1.0.0</Dependencies>
+ <Dependencies>org.jboss.modules,deployment.ascii-pics-api-bundle-tycho:1.0.0</Dependencies>
</manifestEntries>
</archive>
</configuration>

0 comments on commit c41a711

Please sign in to comment.