Maven: exclude version from module jars inside war file -
i have multi module project. each module built .jar file takes name corresponding ${project.artifactid} . 1 module built .war file. , here run @ issues. web-inf folder contains lib folder contains result .jars other modules. , these jars have name like: project.artifactid+project.version.jar , when need project.artifactid.jar . i tried configure maven-war-plugin , maven-jar-plugin, result still same. here pom.xml files build results: jar module <groupid>com.mymodule.mysubmodule</groupid> <artifactid>sub-module</artifactid> <version>1.1-snapshot</version> <build> <finalname>${project.artifactid}</finalname> ... result : sub-module.jar war module <groupid>com.mymodule.warmodule</groupid> <artifactid>war-module</artifactid> <version>1.1-snapshot</version> <packaging>war</packaging> <dependency> <groupid>com.mymodule.mysubmodule</groupid> ...