On 4/10/07, Fong Chan <[EMAIL PROTECTED]> wrote:

Hello all,

I am having some problems with Maven right now.

Just to give some background.  I currently have installed all of Taverna's
(A workflow management system that uses Maven) classes into the Maven
repository and I am able to use them no problem.

For one of my programs, I would like to use Taverna's class and also
another external library called Jakarta POI (able to manipulate Excel from
Java).  The thing is the POI downloads do not come in a maven format and
make it different to install them into the repository easily.  So instead, I
have imported them as external jars in eclipse.

From there, I want to install my program as a Taverna Artifact into the
library, but when installing I get the maven errors that it can't find the
POI classes.  I am assuming it is because the POI are not artifacts in the
repository...

I was just wondering whether there was a way to use external libraries
without having to install them into the maven repository.


It's not usually desired, but you can set the "scope" of the jar as "system"
in dependency, then set "systemPath" to the path of the jar.

Fong


***CONFIDENTIALITY NOTICE***
This electronic message is intended only for the use of the addressee and
may contain information that is privileged and confidential.  Any
dissemination, distribution or copying of this communication by unauthorized
individuals is strictly prohibited. If you have received this communication
in error, please notify the sender immediately by reply e-mail and delete
the original and all copies from your system.




--
Eric Redmond
http://codehaus.org/~eredmond

Reply via email to