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 Build Failing (Cannot execute mojo:clean) 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 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)