I've built a trivial Java agent that uses java.util.logging.Logger and a
FileHandler to trace out the program into a log file. I've attached a log
file produced as a sample: agent_03112022_064424.log.
The point is to run some tests under instrumentation. To do so I run:
*mvn test -DargLine="-java
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
Is it possible to invoke *mvn* on the command line to output either 1) the
paths to all target folders where jars get packaged or 2) the file paths of
the jars themselves?
For example, in a multi-module project like
https://github.com/apache/httpcomponents-core.git, I would like to invoke:
*mvn *
Is it possible to invoke *mvn* on the command line to output either 1) the
paths to all target folders where jars get packaged or 2) the file paths of
the jars themselves?
For example, in a multi-module project like
https://github.com/apache/httpcomponents-core.git, I would like to invoke:
*mvn *