hboutemy commented on PR #655:
URL: 
https://github.com/apache/maven-deploy-plugin/pull/655#issuecomment-4698885519

   running `mvn -Prun-its clean verify 
-Dinvoker.test='deploy-default-packaging,deploy-attached-sources' -X` 
   and looking at the invocations of mvn command
   shows that both Maven 3 and 4 invoke with the same command, like
   
   ```
   [DEBUG] Executing: /bin/sh -c cd 
'/home/herve/dev/maven/sources/plugins/core/maven-deploy-plugin/target/it/deploy-attached-sources'
 && '/home/herve/.sdkman/candidates/maven/4.0.0-SNAPSHOT/bin/mvn' '-B' '-X' 
'-D' 
'maven.repo.local=/home/herve/dev/maven/sources/plugins/core/maven-deploy-plugin/target/local-repo'
 '-s' 
'/home/herve/dev/maven/sources/plugins/core/maven-deploy-plugin/target/it/interpolated-settings.xml'
 '-D' 
'javadoc=${basedir}/target/${project.artifactId}-${project.version}-javadoc.jar'
 '-D' 'file=${basedir}/target/${project.artifactId}-${project.version}.jar' 
'-D' 
'sources=${basedir}/target/${project.artifactId}-${project.version}-sources.jar'
 '-D' 'url=file://${basedir}/target/repo' '-D' 'pomFile=${basedir}/pom.xml' 
'org.apache.maven.plugins:maven-deploy-plugin:3.1.5-SNAPSHOT:deploy-file'
   ```
   
   it seems it is interpolation of `${basedir}` or `${project.artifactId}` at 
command-line level that does not work the same way between Maven 3 and 4
   ... continuing the analysis...


-- 
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]

Reply via email to