You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jira-importer (via GitHub)" <gi...@apache.org> on 2025/04/02 07:01:45 UTC
[I] [MDEPLOY-97] the always be 1 on maven-metadata.xml [maven-deploy-plugin]
jira-importer opened a new issue, #256:
URL: https://github.com/apache/maven-deploy-plugin/issues/256
**[Michael Meng](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mengmvn)** opened **[MDEPLOY-97](https://issues.apache.org/jira/browse/MDEPLOY-97?redirect=false)** and commented
We have setup a project build on cruise control, whose version is SNAPSHOT (in my case is 70-SNAPSHOT), however, the build result files look fine, but the build number always be 1, what is the problem ?
You may compare the 2 pic, you will see the difference. the right pic is what we expect. it has the build number 54,55, 56, 57,,,,
while the left pic's build number always be 1
in the maven-metadata.xml the buildNumber always 1, no matter how many times you build it.
\<buildNumber>1\</buildNumber>
\<metadata>
\<groupId>ubhsc\</groupId>
\<artifactId>sc\</artifactId>
\<version>70-SNAPSHOT\</version>
- \<versioning>
- \<snapshot>
\<timestamp>20090320.170754\</timestamp>
\<buildNumber>1\</buildNumber>
\</snapshot>
\<lastUpdated>20090320170754\</lastUpdated>
\</versioning>
\</metadata>
---
**Affects:** 2.4
**Attachments:**
- [buildnumber.JPG](https://issues.apache.org/jira/secure/attachment/12715269/buildnumber.JPG) (_226.17 kB_)
- [clear.doc](https://issues.apache.org/jira/secure/attachment/12715219/clear.doc) (_211.00 kB_)
- [goodone.JPG](https://issues.apache.org/jira/secure/attachment/12715275/goodone.JPG) (_222.68 kB_)
--
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-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MDEPLOY-97] the always be 1 on maven-metadata.xml [maven-deploy-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #256:
URL: https://github.com/apache/maven-deploy-plugin/issues/256#issuecomment-2771519122
**[Michael Meng](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mengmvn)** commented
this is a more clear picture. you can see one build number keep increase, one always stay with 1
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MDEPLOY-97] the always be 1 on maven-metadata.xml [maven-deploy-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #256:
URL: https://github.com/apache/maven-deploy-plugin/issues/256#issuecomment-2771519126
**[Benjamin Bentmann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bentmann)** commented
Are the permissions on the metadata files OK? For instance, if the existing metadata.xml can't be read, the last build number can't be determined. Some log output for the build when doing the deploy would be nice.
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MDEPLOY-97] the always be 1 on maven-metadata.xml [maven-deploy-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #256:
URL: https://github.com/apache/maven-deploy-plugin/issues/256#issuecomment-2771519130
**[Stephen Connolly](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stephenc)** commented
Be interesting to know if the user changed maven version between sc-69-SNAPSHOT and sc-70-SNAPSHOT.
OTOH this issue has not been updated in over 2 years, so is this still a bug?
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MDEPLOY-97] the always be 1 on maven-metadata.xml [maven-deploy-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #256:
URL: https://github.com/apache/maven-deploy-plugin/issues/256#issuecomment-2771519134
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** commented
No feedback, so closing it as 'incomplete'
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org