I am working on a Java agent that instruments test suites and the code
under test. The agent runs by invoking the following command on the command
line:
mvn test -DargLine="-javaagent:C:\JARS\agent.jar"
The apache surefire plugin takes care of running the tests and pushing the
-DargLine argument
The Apache Maven team is pleased to announce the release of the
Apache Maven Shade Plugin Version 3.3.0
https://maven.apache.org/plugins/maven-shade-plugin/
You should specify the version in your project's plugin configuration:
org.apache.maven.plugins
maven-shade-plugin
3.3.0
You can