File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven not showing full error description Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven not showing full error description" Watch "Maven not showing full error description" New topic
Author

Maven not showing full error description

Adam San
Greenhorn

Joined: Sep 26, 2012
Posts: 2
Hi,

I use Maven 3.0.4

When executing mvn compile it displays errors like this:



As far as I am concerned (for example) error "cannot find symbol" should look like this:
cannot find symbol
symbol : class PointOfContact
location: class com.whatever.GenericSettings

It should state what symbol cannot be found etc. and it's not displayed.

The details are not given for any errors.
It's the same with mvn compile -e


Is there a way to change it?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

It looks like you might be using JDK 7 - for some reasons the JDK 7 compiler doesn't display the syntax error details. (Note that the compilation error messages that are display come from the JDK's compiler, not from Maven.)


JBoss In Action
Adam San
Greenhorn

Joined: Sep 26, 2012
Posts: 2
Yes, I use jdk7 !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven not showing full error description