jira-importer commented on issue #617:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/617#issuecomment-2957808407

   **[Hervé 
Boutemy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hboutemy)**
 commented
   
   I executed the MPIR IT with -X enabled and found a difference in invoker 
invocation between Maven 3.2.5:
   
   ```
   [DEBUG] Executing: /bin/sh -c cd 
/tmp/maven-project-info-reports-plugin/target/it/java-version && 
/local/maven/apache-maven-3.2.5/bin/mvn -B -X -D 
maven.repo.local=/tmp/maven-project-info-reports-plugin/target/local-repo -s 
/tmp/maven-project-info-reports-plugin/target/it/interpolated-settings.xml 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.8.1-SNAPSHOT:summary
 help:effective-pom -Doutput=effective-poms.xml
   ```
   
   and Maven 3.3.3:
   
   ```
   [DEBUG] Executing: /bin/sh -c cd 
/tmp/maven-project-info-reports-plugin/target/it/java-version && 
/local/apache-maven-3.3.3/bin/mvn -B -X -D 
maven.repo.local=/tmp/maven-project-info-reports-plugin/target/local-repo -s 
/tmp/maven-project-info-reports-plugin/target/it/interpolated-settings.xml -D 
maven.compiler.source=1.5 -D maven.compiler.target=1.5 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.8.1-SNAPSHOT:summary
 help:effective-pom -Doutput=effective-poms.xml
   ```
   
   I don't know why these `-D maven.compiler.source=1.5 -D 
maven.compiler.target=1.5` options are added, but with these, model 
interpolation http://maven.apache.org/ref/3-LATEST/maven-model-builder/ prefers 
CLI over POM properties, then the result is consistent with the options
   
   now we need to understand why these options are defined with Maven 3.3.x only
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to