The way I like to do things is have an area in my project

eg.
packages/myjar/jars/myjar-1.0.jar

Then as a preGoal to java:compile I just copy everything under packages across to the local maven repository (${maven.home}/repository I think)
And then business as usual with dependencies...

Thus whenever anyone checks the project out from CVS, the project fills the repository appropriately...

Paul Libbrecht wrote:

It should be added that making a local repository is the solution of choice for such a thing, isn't it ?

Paul


Le Dimanche, 26 janv 2003, à 16:41 Europe/Berlin, Jason van Zyl a écrit :

The question is : how can I add a personal JAR in the classpath before
maven compile my java files ?

Greetings,

Look at the <dependencies/> section of any number of project.xml files.
That's where you define your project dependencies that contribute to the
classpath used to compile your project sources.


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




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

Reply via email to