Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven Build Failing (Cannot execute mojo:clean)

 
Bill Lee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please disregard
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic