I've just put up a patch that seems to resolve a current issue in deploying 
snapshots to a maven repository: https://gwt-review.googlesource.com/5192

The basis of the problem requiring this patch is that maven (at least maven 
3, possibly not maven 2) expects unique snapshots, and that each call to 
deploy:deploy-file or sign:sign-and-deploy uploads its artifact as a 
standalone object - when we call deploy three times (jar, sources, 
javadoc), the last one in is treated as the 'newest'. This doesn't happen 
for releases, as there can only be one release, while there can be several 
snapshots for a version.

As noted, this patch does not resolve the issue locally - its my 
understanding that install:install-file would need to be used to make this 
work our locally, or else I'm just doing it wrong. The issue appears to be 
related to metadata not being updated correctly, but I didn't debug too 
extensively. I think that we can safely ignore local snapshots for the time 
being anyway - first, they didn't work before this patch, and second a user 
can either build from a snapshot server or can assign a non-snapshot 
version when installing locally and run it multiple times (pushing a 
non-snapshot version to a remote server would result in clients caching 
that result and not downloading it again).

I'd appreciate any testing of this so that we can see about starting to put 
out snapshot builds on sonatype going forward.

On Sunday, September 22, 2013 8:53:16 AM UTC-5, Thomas Broyer wrote:
>
> It should be relatively easy with the existing shell scripts; the major 
> pain point would be securing the credentials. I think Sonatype can do "app 
> passwords".
> I can have a look at the scripts if needs be, as I think they've only been 
> tested for local deployment or staging, and only for releases (not 
> snapshots)

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to