webrtc / KITE

KITE is a test engine designed to test WebRTC interoperability across browsers
Apache License 2.0
468 stars 126 forks source link

mvn install fail #102

Closed Piasy closed 4 years ago

Piasy commented 4 years ago

I'm running commands below:

cd ~/KITE/KITE-AppRTC-Test
c all

It fails with:

[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/webrtc/kite/kite-base/2.0.7/kite-base-2.0.7.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 12
[FATAL] Non-resolvable parent POM for org.webrtc.kite:kite-framework:${kite.framework.version}: Could not find artifact org.webrtc.kite:kite-base:pom:2.0.7 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 6, column 11
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 12
[FATAL] Non-resolvable parent POM for org.webrtc.kite:kite-engine:${kite.version}: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11
[FATAL] Non-resolvable parent POM for org.webrtc.kite:example-test:0.0.1: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 11
[WARNING] 'version' contains an expression but should be a constant. @ line 16, column 12
[FATAL] Non-resolvable parent POM for org.webrtc.kite:apprtc-test:${kite.apprtc.version}: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 11
[FATAL] Non-resolvable parent POM for org.webrtc.kite:wpt-test:0.2.2: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 37, column 11
 @
[ERROR] The build could not read 5 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.webrtc.kite:kite-framework:${kite.framework.version} (/root/KITE/KITE-Framework/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.webrtc.kite:kite-framework:${kite.framework.version}: Could not find artifact org.webrtc.kite:kite-base:pom:2.0.7 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project org.webrtc.kite:kite-engine:${kite.version} (/root/KITE/KITE-Engine/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.webrtc.kite:kite-engine:${kite.version}: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project org.webrtc.kite:example-test:0.0.1 (/root/KITE/KITE-Example-Test/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.webrtc.kite:example-test:0.0.1: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project org.webrtc.kite:apprtc-test:${kite.apprtc.version} (/root/KITE/KITE-AppRTC-Test/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.webrtc.kite:apprtc-test:${kite.apprtc.version}: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project org.webrtc.kite:wpt-test:0.2.2 (/root/KITE/KITE-WPT-Test/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.webrtc.kite:wpt-test:0.2.2: Failure to find org.webrtc.kite:kite-base:pom:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 37, 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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

And I can't find org.webrtc.kite:kite-base artifact on maven central.

namvuCosmo commented 4 years ago

Hi, Thanks for your report. This is due to a mismatch of the version in the pom file. We will push a commit to fix it asap.

You can try changing the version in KITE/pom.xml to 2.0.7 to compile it in the mean time: image

Piasy commented 4 years ago

It works, thanks!