[ http://jira.codehaus.org/browse/MPJAVA-21?page=all ] Lukas Theussl closed MPJAVA-21: -------------------------------
Assign To: (was: Jason van Zyl) Resolution: Won't Fix Fix Version: (was: 1.6) I don't think it is a good idea to do that. Only things that are declared as dependencies should be added to the classpath, is there a reason for not adding those libs as dependencies? As a workaround, you may use the maven:addPath tag in a pregoal to java:compile. > Unable to add something to java:compile classpath > ------------------------------------------------- > > Key: MPJAVA-21 > URL: http://jira.codehaus.org/browse/MPJAVA-21 > Project: maven-java-plugin > Type: Wish > Reporter: Stepan Koltsov > Priority: Minor > > > It is not possible to add anything to classpath used in java:compile in javac > task. Its could be generated libraries (using XMLBeans for example) or other > libraries stored somewhere in "lib/" (we store some libraries in CVS, they > are placed there). > As workaround it's possible to edit maven.dependency.path, but that is dirty. > Thanks. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]