Douglas Ferguson wrote:
> 
> I changed it to this
> 
>                                       
>                                               
>                                                       
> src/main/webapp/WEB-INF/classes
>                                               
>                                       
> 
> And it works..
> 
> D-
> 
> 


This worked for me also, but once there is more than one class in
src/main/java, I start getting compile errors like the dependencies are no
longer being used... like the classpath argument is overriding the
dependencies.

Here is part of the output.  You'll see that it sees the dependencies at one
point, then seemingly loses them


[DEBUG] Classpath:
[DEBUG]  C:\workspace\[...]\target\classes
[DEBUG]  [dependency 1]
[DEBUG]  [dependency 2]
[DEBUG] Source roots:
[DEBUG]  C:\workspace\[...]\src\main\java
Compiling 2 source files to C:\workspace\[...]\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

could not parse error message: [parsing started [first class]]
[parsing completed 47ms]
[parsing started [second class]]
[parsing completed 16ms]
[search path for source files: [src/main/webapp/WEB-INF/classes]]
[search path for class files: [[lots of other jars except dependencies],
src/main/webapp/WEB-INF/classes]]



Jeanette
-- 
View this message in context: 
http://www.nabble.com/Compiler-Plugin-tf2314129s177.html#a8266719
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to