Anyone can confirm correct deployment of snapshots to remote repo (with 
timestamp assignment)?


In my case not only names of deployed artifacts are wrong. The version in 
deployed pom is also not changed (still 1.0-SNAPSHOT), the same is with 
maven-metadata.xml. Here's an example:

<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>foo</groupId>
  <artifactId>foo-bar</artifactId>
  <version>1.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <buildNumber>4</buildNumber>

    </snapshot>
    <lastUpdated>20060209111228</lastUpdated>
  </versioning>
</metadata>


best regards,
--
Michal Stochmialek
IT Department, Technology Division
Euro Bank S.A.


> -----Original Message-----
> From: Michał Stochmiałek [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 08, 2006 5:35 PM
> To: Maven Users List
> Subject: [m2] deploying snapshots with antlib
> 
> 
> I'm trying to deploy to maven remote repository three jars produced by
> ant. Those jars are in snapshot version.
> 
> Whole deployment process went properly, but something is wrong with names
> of deployed files.
> 
> When I'm deploying artifacts using normal 'maven deploy', "SNAPSHOT" in
> the name is replaced by the current timestamp and the snapshot number (for
> instance: "20060105.123437-3").
> 
> But when I'm deploying with antlib, the name isn't changed. "SNAPSHOT" is
> still in the name. And when I deploy snapshot again, the old one is
> replaced by the new one (which also different from behavior of normal 'mvn
> deploy').
> 
> I believe this is a bug, but I didn't found it jira... Are there any work-
> arounds?
> 
> best regards,
> --
> Michal Stochmialek
> IT Department, Technology Division
> Euro Bank S.A.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to