Permalink
Browse files

Prepare for release: Upgrade to latest specs and bundle plugin release

git-svn-id: https://svn.apache.org/repos/asf/servicemix/utils/trunk@1213674 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent adc4558 commit 506f5adc0e8527085e4370b63304b9d321e6aaf6 @gertv gertv committed Dec 13, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −2 pom.xml
  2. +2 −1 src/main/java/org/apache/servicemix/executors/impl/FactoryFinder.java
View
@@ -37,7 +37,7 @@
<slf4j.version>1.6.1</slf4j.version>
<servicemix.legal.version>1.0</servicemix.legal.version>
- <servicemix.specs.version>1.8.0</servicemix.specs.version>
+ <servicemix.specs.version>1.9.0</servicemix.specs.version>
</properties>
<scm>
@@ -257,7 +257,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.3</version>
+ <version>2.3.6</version>
<extensions>true</extensions>
<configuration>
<instructions>
@@ -167,7 +167,8 @@ public Object run() {
try {
// If we are deployed into an OSGi environment, leverage it
- Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(iFactoryId);
+ Class factoryClass = FactoryFinder.class.getClassLoader().loadClass(iFactoryId);
+ Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(factoryClass, iFactoryId);
if (spiClass != null) {
return spiClass.newInstance();
}

0 comments on commit 506f5ad

Please sign in to comment.