Hello
I have a Maven Java project which produces a JAR (packaging = JAR). I am using
external SonarQube scanner to scan my source code (SonarQube is not configured
inside pom.xml). I am first building my project using "mvn clean package", then
I execute SonarQube Scanner on it.
The issue is that SonarQube requires my project's dependencies to be on the
path in order to properly scan my code. So, I need some Maven goal which will
collect all dependencies in my project and place them inside of the /lib
folder. Which Maven goal should I use?
Final result should be /lib folder containing apache, spring... dependencies.
Thank you in advance,Milan