You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by aldana <al...@gmx.de> on 2007/10/22 19:24:28 UTC
stuck state when downloading snapshots
sometimes i am having problems with downloading snapshots.
for instance when trying to download dependencies from an internal
repository to local one the folder gets created like xxx/bla/1.0-SNAPSHOT
but inside this folder i only see metadata.xml files. maven tells me a BUILD
ERROR and says that xxx:bla:1.0-SNAPSHOT:jar could not be located.
my workaround is to delete the complete bla/ folder and after that download
goes fine. does anybody know something about this "stuck" download state or
is there a special configuration to be done? this download behaviour is
especially annoying for integration tools like cruise control which gives me
work hindering wrong failure (false positive) messages.
--
View this message in context: http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html#a13348182
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: stuck state when downloading snapshots
Posted by aldana <al...@gmx.de>.
i still could not solve my snapshot problem, now with a slight different
issue: when having downloaded a snapshot and there must be another update
done (for the library changed), maven does not lookup the repository where
the snapshot is sitting. when deleting the whole snapshot folder a fresh
lookup is done and it works fine.
i set the updatePolicy for the respective repository to always:
<repository>
<id>internal</id>
<url>file://myInteralURL</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
what is going wrong here?
thanks.
aldana wrote:
>
> sometimes i am having problems with downloading snapshots.
> for instance when trying to download dependencies from an internal
> repository to local one the folder gets created like xxx/bla/1.0-SNAPSHOT
> but inside this folder i only see metadata.xml files. maven tells me a
> BUILD ERROR and says that xxx:bla:1.0-SNAPSHOT:jar could not be located.
>
> my workaround is to delete the complete bla/ folder and after that
> download goes fine. does anybody know something about this "stuck"
> download state or is there a special configuration to be done? this
> download behaviour is especially annoying for integration tools like
> cruise control which gives me work hindering wrong failure (false
> positive) messages.
>
>
>
>
>
--
View this message in context: http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html#a13362338
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org