com.google.gwt:gwt-dev:jar:2.8.0-SNAPSHOT

90 views
Skip to first unread message

Alireza S

unread,
May 9, 2017, 8:32:12 PM5/9/17
to guava-discuss

Hi,

I was wondering if it would be possible that someone says to me what is this missing snapshot and how can we resolve this problem?

Regards,
Alireza


[INFO] Guava GWT compatible libs .......................... FAILURE [  0.619 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.990 s
[INFO] Finished at: 2017-05-09T16:47:26-04:00
[INFO] Final Memory: 18M/44M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project guava-gwt: Could not resolve dependencies for project com.google.guava:guava-gwt:jar:19.0-SNAPSHOT: The following artifacts could not be resolved: com.google.gwt:gwt-dev:jar:2.8.0-SNAPSHOT, com.google.gwt:gwt-user:jar:2.8.0-SNAPSHOT: Failure to find com.google.gwt:gwt-dev:jar:2.8.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/google-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-google-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :guava-gwt

Joachim Durchholz

unread,
May 10, 2017, 4:13:08 AM5/10/17
to guava-...@googlegroups.com
Am 10.05.2017 um 02:32 schrieb Alireza S:
>
> Hi,
>
> I was wondering if it would be possible that someone says to me what is
> this missing snapshot and how can we resolve this problem?

Something in your build declares a dependency on a SNAPSHOT version.
The general rule with SNAPSHOT versions is that you shouldn't use them
unless you are working on a new release of these libs.
Eliminating these dependencies depends on whether it's in a pom.xml that
you control or not, and on whether the -SNAPSHOT in it is just an
oversight or if there was a real reason.

Thomas Broyer

unread,
May 10, 2017, 5:49:47 AM5/10/17
to guava-discuss
What version of Guava are you trying to build? The last commit that referenced GWT 2.8.0-SNAPSHOT was (the parent of) https://github.com/google/guava/commit/1eb3090b9fbf13cc7e249d3bbe4e7652339192cc
Have a look at the commits that updated the dependency to 2.8.0-beta1, then 2.8.0-rc1, 2.8.0-rc2, 2.8.0-rc3 up to 2.8.0 to see if there were changes needed in the code to do the updates, then you can pick one of those versions (the *-SNAPSHOT are by definition "volatile" and are purged from servers on a regular basis, which is why you can no longer find it one year later)

Or if you're not interested in GWT support, you can just skip building guava-gwt (run Maven with, e.g., "-pl guava-tests -am" to only build the guava-tests module and the modules it depends on)
Reply all
Reply to author
Forward
0 new messages