maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Georgeson <>
Subject RE: buildnumber-maven-plugin's buildNumber property unset during deploy goal
Date Sun, 12 Feb 2017 01:24:37 GMT
Slight correction, the timestamp property as set by buildnumber-maven-plugin is also not set.
I noticed I am defaulting the timestamp property with When I remove
that then the failure also includes a literal "${timestamp}" in the URL. I've tested using
a stub project generated with the quickstart archetype and submitted it as an issue to buildnumber-maven-plugin


-----Original Message-----
From: Justin Georgeson [] 
Sent: Saturday, February 11, 2017 6:51 PM
To: Maven Users List ( <>
Subject: [EXTERNAL] buildnumber-maven-plugin's buildNumber property unset during deploy goal

External Sender: Use caution with links/attachments.

Posting here in case the issue is in maven-deploy-plugin rather than buildnumber-maven-plugin.
Using 1.4 of buildnumber-maven-plugin, with both 3.2.5 and 3.3.9 of Maven.

I'm trying to make use of Artifactory's matrix parameters in the distributionManagement URL
to attach properties in Artifactory [1].


The deploy is failing because it has a literal "${buildNumber}" in the URL while all the other
property references (including the ${timestamp} property also set by buildnumber-maven-plugin)
are resolving ok.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
on project com.example.artifact: Failed to retrieve remote metadata com.example:com.example.artifact:10.5.4-SNAPSHOT/maven-metadata.xml:
Could not transfer metadata com.example:com.example.artifact:10.5.4-SNAPSHOT/maven-metadata.xml
from/to snapshots (
{buildNumber}): Illegal character in path at index 155:
-> [Help 1]

I've tried changing the build number property name set by buildnumber-maven-plugin with -Dmaven.buildNumber.buildNumberPropertyName=build.blah
and referencing that alternate property in the distributionManagement URL, with the same ill


This e-mail, including any attached files, may contain confidential and privileged information
for the sole use of the intended recipient.  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient (or authorized to
receive information for the intended recipient), please contact the sender by reply e-mail
and delete all copies of this message.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message