enable build with Maven 4#655
Conversation
edit: deploy-attached-sources
deploy-default-packaging
MDEPLOY-169_deploy-at-end-multithread
MDEPLOY-170_deploy-at-end-configperproject
MDEPLOY-224_deploy-at-end-only-modules
MDEPLOY-225_deploy-at-end-skip-root
|
|
Looking at Logs are from Packaging is right into local repository But deploying does not pick the project path information when using 4.0.0-SNAPSHOT and therefor fails. With Maven 3.9.16 the configuration is correct edit: I added This results in the following configuration |
|
@cstamas Could you please check if those a resolver related? |
|
the 4 deployAtEnd IT failures should be fixed by #667 |
|
on |
|
running [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 |
|
ok, issue is easy to reproduce in any project that has a with Maven 4: |

build with Maven 4 in CI, to check if maven-deploy-plugin 3.x works with Maven 4
and complete the table on https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=406620656#Maven4.0.0GAchecklist-Maven4API