stuck jar

I'm working on a maven[ized] web project in IntelliJ build#7920. I needed to get rid of a certain jar dependency. I removed an entry from pom.xml, but the jar (and it's transient dependency) keeps showing up in the exploded deployment directory after every build. I can find no references to this jar anywhere in the project. Any thoughts where IntelliJ might be getting the idea that it needs to still deploy the jar? How do I fix this?

Regards
Dmitry

2 comments
Comment actions Permalink

Open Web facet settings (in Project Settings dialog) and remove the jar from "Modules and libraries to package" list.

I'm working on a maven[ized] web project in IntelliJ build#7920. I needed to get rid of a certain jar dependency. I removed an entry from pom.xml, but the jar (and it's transient dependency) keeps showing up in the exploded deployment directory after every build. I can find no references to this jar anywhere in the project. Any thoughts where IntelliJ might be getting the idea that it needs to still deploy the jar? How do I fix this?

Regards
Dmitry



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hi, Dmitry,
Does removing the exploded directory manually help?

0

Please sign in to leave a comment.