aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile  error 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 "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile  error" Watch "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile  error" New topic
Author

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile error

Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 189
Good day,

Below is my pom.xml, and when i run the "clean package" or "clean install" command, it prompt me on build failure as shown below, appreciated someone can show me pointers on my mistake, thanks ahead!

p/s:Eclipse Juno, Java SE 7u17




error :
Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 189
Hope can help someone, the test class should place into src/test/java, and then the error resolved.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Looks like those error were printed during the "compile" phase. I am guessing that the missing class is in the spring-test artifact, which you have scoped as 'test'. Looks like you have test classes in src/main, they should be in src/test.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile error