Publish nighly snapshots of GWT builds to Maven

198 views
Skip to first unread message

Johannes Barop

unread,
Sep 19, 2013, 10:29:18 AM9/19/13
to google-web-tool...@googlegroups.com
Hi,

what do you think of publishing nightly builds of GWT to a Maven repository? This would save users which want to try/work with latest/unreleased features of building it on their own.

A repository exists already. But I don't know who has write access to it
https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/

Łukasz Jąder

unread,
Sep 21, 2013, 8:31:29 AM9/21/13
to google-web-tool...@googlegroups.com
+1 all the way.
Checking out SNAPSHOT version would be fun an could help find more issues.

Ray Cromwell

unread,
Sep 21, 2013, 11:09:46 PM9/21/13
to google-web-toolkit-contributors, Matthew Dempsky
Matthew,
  Is there an easy way to make Jenkins push out a snapshot after a successful build?



--
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-co...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thomas Broyer

unread,
Sep 22, 2013, 9:53:16 AM9/22/13
to google-web-tool...@googlegroups.com
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)

Colin Alworth

unread,
Oct 28, 2013, 1:03:07 AM10/28/13
to google-web-tool...@googlegroups.com
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.

Seamus McMorrow

unread,
Apr 22, 2014, 5:50:14 AM4/22/14
to google-web-tool...@googlegroups.com
Hi, 

Is there any update on deploying snapshots, so the greater GWT community can contribute to testing newer releases more easily.
I would definitely like to checkout some of the expirimental incremental compiler features that are currently being landed for the next 2.7 release in the summer sometime.
(I am currently building from source, etc)

Salvador Diaz

unread,
Jan 28, 2015, 7:27:02 AM1/28/15
to google-web-tool...@googlegroups.com
Hi Sean,

Snapshots are normally deployed to sonatype's OSS repo[1], but right now there seems to be a problem with the process so they're not available at the moment. Also, if you use the maven plugin the snashots are available at codehaus plugin snapshots repo [2].

Reply all
Reply to author
Forward
0 new messages