How To Exclude Dependencies from Maven Assembly Plugin

4 years ago by in How To, Maven Tagged: , , ,

Any dependencies that are already available at the runtime environment can be given the scope of provided as highlighted below.

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">


  <name>How To Exclude Dependencies from Maven Assembly Plugin</name>





The SLF4J (Homepage) will not be included by the maven-assembly-plugin plugin.

The code listed above is available at: To Exclude Dependencies from Maven Assembly Plugin/. The readers can download or view all code from the above link.

Albert Attard

Albert Attard is a Java passionate and technical lead at a research group. You can find him on . Over the past years Albert worked on various Java projects including traditional server/client applications, modular applications, large data handling applications and concurrent data manipulation applications to name a few. He has a BSc degree from the University of London (Homepage) and an MSc Information Security with the same university. His MSc thesis (Book) received the 2012 award (Website).

Leave a Comment

Time limit is exhausted. Please reload the CAPTCHA.