meow00
asked on
How to remove/add jar files in an Eclipse Maven project?
Hi experts,
I am using window XP, eclipse 3.3, java 1.5. How to remove/add jar files in an Eclipse Maven project?
(I am not where to change in the build path, please help.)
Thanks a lot!
I am using window XP, eclipse 3.3, java 1.5. How to remove/add jar files in an Eclipse Maven project?
(I am not where to change in the build path, please help.)
Thanks a lot!
ASKER
What if the jar is under maven dependency, not the reference library? What do I do in this case? Thanks!
remove the dependency
ASKER
It seems that I need to use some DOS command to add jar under maven dependency ... I can not add it to Maven from eclipse directly ... Does anyone know how to do that through command line? Thanks!
are you using the maven plugin?
If not you'll need to remove the dependency from your pom.xm, but that shouldn't really be affecting eclipse.
If not you'll need to remove the dependency from your pom.xm, but that shouldn't really be affecting eclipse.
ASKER
Actually I am using maven plugin ... is that a problem ? thanks!
no thts fine, you shpould be able to remove the depency using it then
ASKER
Thanks ... so what exactly do I have to do in order to remove a jar file from the Maven dependency and then add another jar file to the Maven dependency? Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Select Buiuld path..> Remove from Build Path'