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 06:58:05 UTC
[I] [MDEPLOY-236] deploy generates wrong timestamps in maven-metadata.xml [maven-deploy-plugin]
jira-importer opened a new issue, #184:
URL: https://github.com/apache/maven-deploy-plugin/issues/184
**[CaiJiahe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=caijiahe)** opened **[MDEPLOY-236](https://issues.apache.org/jira/browse/MDEPLOY-236?redirect=false)** and commented
When deploying an artifact to a Nexus server, the file `maven-metadata.xml` can end up with inconsistent timestamps.
```
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ kof-logic-server ---
Downloading from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml
Progress (1): 990 B
Downloaded from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml (990 B at 99 kB/s)
Downloading from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml
Progress (1): 990 B
Downloaded from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml (990 B at 2.6 kB/s)
Downloading from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml
Progress (1): 990 B
Downloaded from nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/maven-metadata.xml (990 B at 82 kB/s)
Uploading to nexus: http://kof-ms.sys.ledo.com:8081/repository/maven-snapshots/com/ledo/kof-logic-server/0.0.1-SNAPSHOT/kof-logic-server-0.0.1-20180623.090253-42.jar
```
```xml
<metadata modelVersion="1.1.0">
<groupId>com.ledo</groupId>
<artifactId>kof-logic-server</artifactId>
<version>0.0.1-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20180623.090254</timestamp>
<buildNumber>42</buildNumber>
</snapshot>
<lastUpdated>20180623090254</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>jar</extension>
<value>0.0.1-20180623.090254-42</value>
<updated>20180623090254</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>0.0.1-20180623.090254-42</value>
<updated>20180623090254</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>stubs</classifier>
<extension>jar</extension>
<value>0.0.1-20180623.090253-42</value>
<updated>20180623090254</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
```
---
**Affects:** 2.8.2
**Issue Links:**
- [MNG-6754](https://issues.apache.org/jira/browse/MNG-6754) Set the same timestamp in multi module builds
(_**"duplicates"**_)
--
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