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

2022-06-09 Thread Karl Heinz Marbaise
Hi, On 07.06.22 05:22, Laurian Angelescu wrote: 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

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

2022-06-09 Thread Bernd Eckenfels
The Maven Help Plugin has some functions, including printing evaluated project parameters. RESULT=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) https://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html -- http://bernd.eckenfels.net

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

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