How to fix failure: playn-samples\hello>mvn test -Pjava

22 views
Skip to first unread message

Everton

unread,
Jan 31, 2017, 11:13:50 AM1/31/17
to PlayN
I am hitting failure while trying to execute instructions from http://playn.io/docs/setup.html.

Can anyone please point out how to fix this error?

C:\tmp\devel\playn-samples\hello>mvn test -Pjava
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for io.playn.samples:playn-hello:1.0-SNAPSHOT: Could not find artifact io.playn:playn-project:pom:2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, column 11 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project io.playn.samples:playn-hello:1.0-SNAPSHOT (C:\tmp\devel\playn-samples\hello\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for io.playn.samples:playn-hello:1.0-SNAPSHOT: Could not find artifact io.playn:playn-project:pom:2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[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:

C:\tmp\devel\playn-samples\hello>

C:\tmp\devel\playn-samples\hello>mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T14:41:4
7-02:00)
Maven home: C:\apache-maven-3.3.9
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_121\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"

Everton


Michael Bayne

unread,
Jan 31, 2017, 11:29:58 AM1/31/17
to pl...@googlegroups.com
On Tue, Jan 31, 2017 at 6:05 AM, Everton <everton...@gmail.com> wrote:
I am hitting failure while trying to execute instructions from http://playn.io/docs/setup.html.

Can anyone please point out how to fix this error?

The samples are currently set up to require the bleeding edge build of PlayN. If you clone the main PlayN project and run "mvn install" in that project, then the samples will build.

I'm hoping to get all that back to a stable state soon but I've been waiting on a release of the mobidevelop RoboVM project which should finally include a Maven plugin that we need to make the iOS backend work smoothly again.

Reply all
Reply to author
Forward
0 new messages