java - How maven war dependency actually works? -
assume have following dependency
<dependency> <groupid>group</groupid> <artifactid>aid</artifactid> <version>${project.version}</version> <scope>runtime</scope> <type>war</type> <exclusions> <exclusion> <!-- declare exclusion here --> <groupid>sample.projectb</groupid> <artifactid>project-b</artifactid> </exclusion> </exclusions> </dependency>
seems code dosn't work since have excluded library in crated war file. there specification how war dependency works?
when depend on war you're using "overlay" feature:
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
are trying achieve "overlay" functionality or trying depend on jars within war?
Comments
Post a Comment