aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven Build Failing (Cannot execute mojo:clean) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven Build Failing (Cannot execute mojo:clean)" Watch "Maven Build Failing (Cannot execute mojo:clean)" New topic
Author

Maven Build Failing (Cannot execute mojo:clean)

Bill Lee
Greenhorn

Joined: Feb 02, 2007
Posts: 20
I am relatively new to Maven and am attempting to build a project in Eclipse by running the Maven application. I am getting the following error when I attempt to do so. Please advise.

INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]
[INFO] Id: org.apache.maven:super-pom:jar:2.1
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[ERROR]

The following plugin cannot function in the current build environment:

Group-Id: org.apache.maven.plugins
Artifact-Id: maven-clean-plugin
Version: 2.2
Mojo: clean
brought in via: default lifecycle

While building project:

Group-Id: org.apache.maven
Artifact-Id: super-pom
Version: 2.1
From file: null

Reason: Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one.
Bill Lee
Greenhorn

Joined: Feb 02, 2007
Posts: 20
Please disregard
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven Build Failing (Cannot execute mojo:clean)
 
Similar Threads
maven: mvn clean ERROR
maven calling an ant target
How to run OpenEJB Examples?
maven java:compile
Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test