On Thu, Mar 6, 2008 at 4:31 PM, Tammo van Lessen <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 11:52 PM, Bruce Snyder <[EMAIL PROTECTED]> wrote:
> >
> > On Thu, Mar 6, 2008 at 1:56 PM, Tammo van Lessen <[EMAIL PROTECTED]> wrote:
> > > Hi guys,
> > >
> > > I'm currently working on a service engine which exposes JSR-181
> > > endpoints, i.e. needs to access classes from the
> > > servicemix-jsr181-3.x.x.jar. This works fine in my test environment,
> but
> > > when I want to package the SE using the maven-jbi-plugin, this
> > > particular jar is not included in the SE install package. When I
> include
> > > the jar by myself in both the package and jbi.xml it works fine.
> > >
> > > Do you have any pointers how to tweak maven to include the jar into the
> > > package?
> >
> > What is the scope for the dependency in your POM?
>
> Its not explicitly set.
>
> <dependency>
> <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-shared</artifactId>
> <version>${servicemix-version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-core</artifactId>
> <version>${servicemix-version}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-common</artifactId>
> <version>${servicemix-version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-jsr181</artifactId>
> <version>${servicemix-version}</version>
> </dependency>
> ...
Have you tried adding a scope to it (maybe runtime, not sure) so it's
explicitly included?
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/