You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by as...@apache.org on 2026/06/29 19:56:07 UTC
(maven-deploy-plugin) 03/04: work around Maven 4 CLI lack of interpolation
This is an automated email from the ASF dual-hosted git repository.
ascheman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
commit cfbe785af4143d4ff795b6528b2cb1f2c25d8ae9
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Jun 13 17:40:57 2026 +0200
work around Maven 4 CLI lack of interpolation
(cherry picked from commit dd96008e497a555ad239d58213d2e6ca77b54bf0)
---
src/it/deploy-attached-sources/test.properties | 10 +++++-----
src/it/deploy-default-packaging/test.properties | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/it/deploy-attached-sources/test.properties b/src/it/deploy-attached-sources/test.properties
index d970007..2caa287 100644
--- a/src/it/deploy-attached-sources/test.properties
+++ b/src/it/deploy-attached-sources/test.properties
@@ -16,10 +16,10 @@
# under the License.
# Properties passed to invocations of the deploy plugin
-pomFile = ${project.basedir}/pom.xml
+pomFile = pom.xml
-file = ${project.basedir}/target/${project.artifactId}-${project.version}.jar
-sources = ${project.basedir}/target/${project.artifactId}-${project.version}-sources.jar
-javadoc = ${project.basedir}/target/${project.artifactId}-${project.version}-javadoc.jar
+file = target/test-1.0-SNAPSHOT.jar
+sources = target/test-1.0-SNAPSHOT-sources.jar
+javadoc = target/test-1.0-SNAPSHOT-javadoc.jar
-url = file://${project.basedir}/target/repo
+url=file:./target/repo
diff --git a/src/it/deploy-default-packaging/test.properties b/src/it/deploy-default-packaging/test.properties
index 5e05d5f..ff7989d 100644
--- a/src/it/deploy-default-packaging/test.properties
+++ b/src/it/deploy-default-packaging/test.properties
@@ -19,5 +19,5 @@
groupId = org.apache.maven.test
artifactId = test
version = 1.1
-file = ${project.basedir}/lib/test-1.1.jar
-url = file://${project.basedir}/target/repo
+file = lib/test-1.1.jar
+url = file:./target/repo