Disable war overlays in maven -


when have dependency of type 'war' in maven project, automatically uses overlay merge project building.

i disable overlay.

to make development process simpler want rather use symlinks maven-junction-plugin when i'm building local tomcat, , overlay when i'm building test , prod servers.

any other suggestions on how can work war dependencies need modify without having long build cycle welcome.

you can't disable set of overlays maven-war-plugin:2.1.1 can exclude files overlay.

exclude overlay files:

<dependentwarincludes></dependentwarincludes>  <dependentwarexcludes>**</dependentwarexcludes> 

exclude files specific overlays:

<overlays>   <overlay>     <groupid>com.gentics</groupid>     <artifactid>portalnode-webapp</artifactid>     <excludes>       <exclude>**/*</exclude>     </excludes>   </overlay> </overlays> 

please note not reduce amount of overlays used.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -