Stepan Koltsov wrote:

Hi, all,

I need some help. How can I add some jars, not stored in maven
repository to build classpath? I have to do something like
<maven:addPath/> somewhere in <preGoal name="java:compile"/> right?
Maybe there is easier or more proper way?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maybe define the jar as dependency..
and the write the properties
maven.jar.override=true
maven.jar.<artifactname>=<path-to-your-artifact>

int the build.properties or project.properties file..

see:
http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependencies

Milos Kleint

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to