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

Unable to run maven project

 
Rajnikant Panchal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

I unable to remove jar from my maven project so build is not possible.

so help me to remove jar.
 
Shashank Gollapudi
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajnikant Panchal wrote:Hi..

I unable to remove jar from my maven project so build is not possible.

so help me to remove jar.


What do you mean by unable to remove a jar ? can you just be a little more specific on this?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the JAR file you mention in the list of dependencies in your POM? If so, just remove it from the POM.

If the JAR is a transitive dependency pulled in from from one of the dependencies in your POM, you can exclude that JAR using syntax like this:




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic