i have added a jar like below
<dependency>
<groupId>com.ibm.ws.runtime</groupId>
<artifactId>com.ibm.ws.runtime</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/WebContent/WEB-INF/lib/com.ibm.ws.runtime.jar</systemPath>
</dependency>
but in the war file creation , i don't want this in the lib
folder. I know that scope
tag with provided
value would do that, but here the scope
is already defined as system
. Could you please guide me how to achieve this ?
In your
maven-war-plugin
add the following to exclude the jar file from packaging.