Hi All ,
I am using below snippet to copy dependant jars from lib to war. But this also copying some unwanted jars like rt.jar and tools.jar. Is there any way I exclude them from getting copied into my war. <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> </execution> </executions> </plugin> Thanks, Amol