I followed this

http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html

but it seems that it is being ignored/eaten.

What I want is to include the "src/main/webapp/WEB-INF/lib" to the compiler
classpath as there are libraries not managed in maven.

I believe this is pretty standard situation.

<compilerArgument>-classpath src/main/webapp/WEB-INF/lib"</compilerArgument>

would results in javac error

<compilerArguments>
<classpath>src/main/webapp/WEB-INF/lib</classpath>
</compilerArguments>

doesn't seem to be passed to javac, even though the mvn -X dump shows that
it has been picked up by the plugin.

I am wondering if the feature has even been tested before ? 

-- 
View this message in context: 
http://www.nabble.com/how-to-add-additional-path-to-the-compiler---tp14728064s177p14728064.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to