Want to understand the .dumpstream file contents

2022-03-11 Thread Laurian Angelescu
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

Getting the groupid, artifact id, and version of the package under test

2022-03-29 Thread Laurian Angelescu
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

How to retrieve target folder or jar paths from multi-module Maven project

2022-06-09 Thread Laurian Angelescu
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 *

How to retrieve target folder / jar paths from multi-module Maven project

2022-06-09 Thread Laurian Angelescu
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 *