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 Unable to run maven project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Unable to run maven project" Watch "Unable to run maven project" New topic
Author

Unable to run maven project

Rajnikant Panchal
Greenhorn

Joined: Oct 12, 2012
Posts: 3
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

Joined: Jan 19, 2012
Posts: 33
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

Joined: May 14, 2008
Posts: 5772
    
    7

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:





JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run maven project
 
Similar Threads
hello every one
Maven Plugin not found issue
Maven archetypes broken?
Maven target folder is empty when using Eclipse M2 plugin
Maven add classes to jar