I haven’t come across a solution for this after an extensive search, so thought I would pose the question to this forum.
I have a need to exclude a project artifact in a multi-project build. If I I have the layout
Project A - Jar file Project B - War file, depends on Project A for compile
But the Jar from Project A will be deployed to a tomcat common folder, is it possible to exclude Project A’s jar from Project B, but keep all the transitive dependencies in the WAR file?
I’m tempted to ant.unzip to a directory, delete the Project A jar, and zip it up again, but don’t know if there is a more elegant way before I go that route