i wont to reduce the size of the pom file and clear the project from unused dependencies. I write code on IntelliJ IDEA on a Spring Boot app. I Installed the plugin from Apache Maven Dependency like the tutorial :
Link of tutorial here and the plugin on the pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>[ groupId ]</groupId>
<artifactId>[ artifactId ]</artifactId>
<version>[ version ]</version>
<type>[ packaging ]</type>
<classifier> [classifier - optional] </classifier>
<overWrite>[ true or false ]</overWrite>
<outputDirectory>[ output directory ]</outputDirectory>
<destFileName>[ filename ]</destFileName>
</artifactItem>
</artifactItems>
<!-- other configurations here -->
</configuration>
</execution>
</executions>
</plugin>
, but i couldn't understand how it is work. Any idea on how to do it work ? I saw some other questions but nothing has worked for me!
Tried already this solution but i could make it work Link solution and also the Jonnyzz Dependencies Plugin for IntelliJ.