This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to compile Maven with clean parameter and got exception

 
Thakur Sachin Singh
Ranch Hand
Posts: 248
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to compile Maven with clean parameter:

C:> mvn clean


and got the exception below:

Cannot execute mojo: clean. it requires a project with an existing pom.xml, but the buid is not using one.

can anyone tell me how I can associate my existing project to maven.
 
Jayesh A Lalwani
Rancher
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go to the foilder that contains the pom file and run mvn clean. DOn't run mvn clean from C:
 
Thakur Sachin Singh
Ranch Hand
Posts: 248
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the information. I have received errors related to Parent POM(see image file). Can you guide me how I can fix this?
errors.PNG
[Thumbnail for errors.PNG]
parent and artifact errors
 
Thakur Sachin Singh
Ranch Hand
Posts: 248
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

for more info: I also have another thread related to these errors. Please check Here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic