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 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 184
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: 184
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: 5812
    
    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
 
 
subject: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile error
 
Similar Threads
Could not resolve dependencies for maven project
Spring Major version '3' expected
Could not resolve dependencies
Incorrect hibernate version or maven ignore and didn't download hibernate jar file.
Cannot locate the artifact jbossws-native-jaxrpc