You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Mattox <mi...@verideon.com> on 2004/07/20 13:22:46 UTC

Maven 1.0 deletes my snapshot jars when attemping to download dependencies

I just tried upgrading from 1.0RC3 to 1.0.  I deleted my .maven directory
contents.  I'm having a very weird problem that I haven't seen reported here
or in JIRA.  I run maven jar:install-snapshot on a jar and that works ok.
Then I run maven clean in a project that has the previously mentioned
snapshot as a dependency.  It displays this:

Regards,Tentative de tÚlÚchargement de cs-common-SNAPSHOT.jar.
warning: last-modified not specified
0K downloaded
build:start:

clean:clean:
    [delete] Deleting directory
D:\projects\MDSP\eclipse\sources\cs-log-logservice\target
BUILD SUCCESSFUL
Total time: 14 seconds
Finished at: Tue Jul 20 13:19:29 CEST 2004

When I look at the snapshot jar created in the first command, it is now 0
bytes.  To verify this is related to release 1.0, I again removed my .maven
contents and repeated the commands using Maven 1.0RC3 and it works fine.

Any ideas what changed in 1.0 to make it delete my dependency snapshot jars?


Michael Mattox


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven 1.0 deletes my snapshot jars when attemping to download dependencies

Posted by Ben Walding <be...@walding.com>.
Although this is probably a bug, try and ensure your clock isn't ahead 
of the server clock that you are getting dependencies from.

There were some changes in the rc2-4 series to try and stop this from 
being such an issue, but it's possible some edge cases snuck through.



Michael Mattox wrote:

>I just tried upgrading from 1.0RC3 to 1.0.  I deleted my .maven directory
>contents.  I'm having a very weird problem that I haven't seen reported here
>or in JIRA.  I run maven jar:install-snapshot on a jar and that works ok.
>Then I run maven clean in a project that has the previously mentioned
>snapshot as a dependency.  It displays this:
>
>Regards,Tentative de tÚlÚchargement de cs-common-SNAPSHOT.jar.
>warning: last-modified not specified
>0K downloaded
>build:start:
>
>clean:clean:
>    [delete] Deleting directory
>D:\projects\MDSP\eclipse\sources\cs-log-logservice\target
>BUILD SUCCESSFUL
>Total time: 14 seconds
>Finished at: Tue Jul 20 13:19:29 CEST 2004
>
>When I look at the snapshot jar created in the first command, it is now 0
>bytes.  To verify this is related to release 1.0, I again removed my .maven
>contents and repeated the commands using Maven 1.0RC3 and it works fine.
>
>Any ideas what changed in 1.0 to make it delete my dependency snapshot jars?
>
>
>Michael Mattox
>
>
>--
>This E-mail is confidential.  It may also be legally privileged.  If you are
>not the addressee you may not copy, forward, disclose or use any part of it.
>If you have received this message in error, please delete it and all copies
>from your system and notify the sender immediately by return E-mail.
>Internet communications cannot be guaranteed to be timely, secure, error or
>virus-free.  The sender does not accept liability for any errors or omissions.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org