You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "CaiJiahe (JIRA)" <ji...@apache.org> on 2018/06/25 03:25:00 UTC

[jira] [Created] (MDEPLOY-236) deploy generates wrong timestamps in maven-metadata.xml

CaiJiahe created MDEPLOY-236:
--------------------------------

             Summary: deploy generates wrong timestamps in maven-metadata.xml
                 Key: MDEPLOY-236
                 URL: https://issues.apache.org/jira/browse/MDEPLOY-236
             Project: Maven Deploy Plugin
          Issue Type: Bug
          Components: deploy:deploy
    Affects Versions: 2.8.2
         Environment: maven 3.5.3
            Reporter: CaiJiahe


When deploying an artifact to a Nexus server, the file {{maven-metadata.xml}} can end up with inconsistent timestamps.



{noformat}
[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
{noformat}




{code: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>
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)