Hi The support for deprecated JBI and NMR has been dropped in ServiceMix 5.x. You should use pure Camel instead.
Regards Krzysztof On 04.04.2015 16:38, Kris van Kooten wrote: > I have a problem with jbi-service-unit in Servicemix versie 5.3.x and 5.4.x. > Its jar is ignored in the deploy folder. > In version 5.1.x it works perfect: > I use it for shared java BEANS. > Here's my 5.1.4 POM > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <parent> > <groupId>nl.brein.connections</groupId> > <artifactId>settings</artifactId> > <version>3.0-SNAPSHOT</version> > </parent> > <groupId>nl.brein.connections</groupId> > <artifactId>bob-su</artifactId> > <packaging>jbi-service-unit</packaging> > <version>2.1.23</version> > <name>Brein Library for connect 2.7</name> > <properties> > <componentName>servicemix-camel</componentName> > </properties> > > <dependencies> > <dependency> > <groupId>org.apache.servicemix</groupId> > <artifactId>servicemix-camel</artifactId> > <version>2013.01</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>2.13.2</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-saxon</artifactId> > <version>2.13.2</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-http</artifactId> > <version>2.13.2</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-mail</artifactId> > <version>2.13.2</version> > > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-jetty</artifactId> > <version>2.13.2</version> > > </dependency> > <dependency> > <groupId>javax.mail</groupId> > <artifactId>javax.mail-api</artifactId> > <version>1.5.2</version> > <type>jar</type> > </dependency> > > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.11</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-test-blueprint</artifactId> > <version>2.13.2</version> > <scope>test</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>commons-codec</groupId> > <artifactId>commons-codec</artifactId> > <version>1.8</version> > </dependency> > </dependencies> > > <build> > <defaultGoal>install</defaultGoal> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.servicemix.tooling</groupId> > <artifactId>jbi-maven-plugin</artifactId> > <version>3.2.3</version> > <extensions>true</extensions> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.17</version> > </plugin> > </plugins> > </build> > <repositories> > <repository> > <url>http://repo1.maven.org/maven2/</url> > <id>junit_4</id> > <layout>default</layout> > <name>Repository for library Library[junit_4]</name> > </repository> > </repositories> > </project> > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/jbi-service-unit-5-4-not-working-tp5722463.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE & OSS Architect Apache Software Foundation Member Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>