AMQ-4252: OSGi JARs in activemq-spring is provided and optional.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Claus Ibsen 2013-01-15 09:33:41 +00:00
parent 4d37271c5a
commit 359d8ebcfa
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,7 @@
org.apache.activemq.pool*;version=${project.version};-noimport:=;-split-package:=merge-last,
org.apache.activemq.xbean*;version=${project.version};-noimport:=true;-split-package:=merge-last,
org.apache.activemq.hooks*;version=${project.version};-noimport:=;-split-package:=merge-last
org.apache.activemq.hooks.osgi*;version=${project.version};-noimport:=;-split-package:=merge-last
</activemq.osgi.export>
</properties>
@ -178,6 +179,8 @@
<dependency>
<groupId>org.springframework.osgi</groupId>
<artifactId>spring-osgi-core</artifactId>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.activemq.hooks;
package org.apache.activemq.hooks.osgi;
import org.osgi.framework.BundleException;
import org.slf4j.Logger;