On Feb 13, 2008 12:28 AM, lhe77 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I actually reworked one of my BC's to use now an external library.
> This lib is declared as a dependency inside the pom.xml of the bc.
> When I first time tried to build it, it failed because of the missing
> library...that is clear to me because the lib is not in the official online
> repositories. So I installed it with the given comand by maven into my local
> repository /home/<user>/.m2/repository. I checked it, it is there.
> When I now build the BC, the library ipp of net.compart is not put into the
> BC installer. When trying to deploy a SA using this BC, then it throws a
> ClassNotFound Exception telling me, that one of the classes of the lib was
> missing.
>
> The question is now, why is the library not put into the BC? When I add the
> dependency to the SA, then it is put into the SA installer, but this doesn't
> help me.
>
> Any ideas?
> <dependency>
> <groupId>net.compart</groupId>
> <artifactId>ipp</artifactId>
> <version>1.0</version>
> </dependency>
Have you tried adding a <scope> to the dependency?
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/