maven error using tripleplay and react SNAPSHOTs

449 Views Asked by At

I switched from tripleplay and react from 1.0 and 1.1 to 1.1-SNAPSHOT and 1.2-SNAPSHOT respectively, to be able to use the latest code from git (such as AbsoluteLayout)

now when I try to package the game for HTML5 using

mvn clean package

I get:

[WARNING] The POM for com.threerings:react:jar:1.2-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.threerings:tripleplay:jar:1.1-SNAPSHOT is missing, no dependency information available
...
[ERROR] Failed to execute goal on project h4ck1t-core: Could not resolve dependencies for project com.jengibre:h4ck1t-core:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.threerings:react:jar:1.2-SNAPSHOT, com.threerings:tripleplay:jar:1.1-SNAPSHOT: Failure to find com.threerings:react:jar:1.2-SNAPSHOT in http://forplay.googlecode.com/svn/mavenrepo was cached in the local repository, resolution will not be reattempted until the update interval of forplay-legacy 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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I tried adding -U to force it for updates, with no effect

My pom uses PlayN version 1.0.3

thanks!

2

There are 2 best solutions below

2
On BEST ANSWER

Snapshot releases are not available from Maven Central, only released versions.

You could try and find a snapshot repository (if it exists) and then add it into the repositories section of your POM.

0
On

In playn-samples project, edit core/pom.xml and get rif of -SNAPSHOT for the tripleplay dependency. 1.1 has been released to the mvn main repo.