Libor Kramoliš wrote:
Image I work on webapp ABC. The application connects to XYZ database and use JUnit for testing. Now I have to specify dependency on jdbc2_0-stdext.jar, jdbc-xyz.jar and junit.jar.

And now I would like to say SRC is compiled just with jdbc2_0-stdext.jar (I do not want to have jdbc-xyz.jar and junit.jar on classpath) and TEST is compiled with jdbc2_0-stdext.jar and junit.jar. Dependency on jdbc-xyz.jar is here to be bundled in final .war file, it should never be on classpath.

Is it posible to configure this in project.xml or is Maven going to support it in next release(s)?

Don't whether this is what you want or not, but if you split the webapp into two sub-projects, one containing the src/java bits and another containing the src/webapp bits, you then get to list the dependencies indpendently.


andy

--
Andrew Thornton
[EMAIL PROTECTED]

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



Reply via email to