broodjetom commented on PR #76:
URL: https://github.com/apache/maven-help-plugin/pull/76#issuecomment-1295279306
I have tried some things with the `output`. The problem is that variables in
the command line parameters are resolved before reaching the Mojo. So, when I
do:
```
mvn clean help:effective-pom -Dindividual
-Doutput="${project.build.directory}/effective.pom.xml"
```
I get the following output:
```
[INFO] --- maven-help-plugin:3.3.1-SNAPSHOT:effective-pom (default-cli) @
triplem ---
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
[INFO] Effective-POM written to:
C:\Users\TomS\TempProjects\triplem\target\effective.pom.xml
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]