Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Installation fail #181

Open
moroine opened this issue Apr 9, 2021 · 2 comments
Open

Installation fail #181

moroine opened this issue Apr 9, 2021 · 2 comments

Comments

@moroine
Copy link

moroine commented Apr 9, 2021

I tried to install KITE, and I encountered the following error while running kite_c:

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.webrtc.kite:kite-framework:jar:1.0.15
[WARNING] 'version' contains an expression but should be a constant. @ org.webrtc.kite:kite-framework:${kite.framework.version}, /Users/moroine/Workspace/SideBySide/KITE/KITE-Framework/pom.xml, line 14, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.webrtc.kite:kite-engine:jar:2.0.8
[WARNING] 'version' contains an expression but should be a constant. @ org.webrtc.kite:kite-engine:${kite.version}, /Users/moroine/Workspace/SideBySide/KITE/KITE-Engine/pom.xml, line 14, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.webrtc.kite:apprtc-test:jar:2.0.1
[WARNING] 'version' contains an expression but should be a constant. @ org.webrtc.kite:apprtc-test:${kite.apprtc.version}, /Users/moroine/Workspace/SideBySide/KITE/KITE-AppRTC-Test/pom.xml, line 16, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] kite-base                                                          [pom]
[INFO] kite-framework                                                     [jar]
[INFO] apprtc-test                                                        [jar]
[INFO] kite-engine                                                        [jar]
[INFO] example-test                                                       [jar]
[INFO] wpt-test                                                           [jar]
[INFO] 
[INFO] ---------------------< org.webrtc.kite:kite-base >----------------------
[INFO] Building kite-base 2.0.8                                           [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kite-base ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ kite-base ---
[INFO] Installing /Users/moroine/Workspace/SideBySide/KITE/pom.xml to /Users/moroine/.m2/repository/org/webrtc/kite/kite-base/2.0.8/kite-base-2.0.8.pom
[INFO] 
[INFO] -------------------< org.webrtc.kite:kite-framework >-------------------
[INFO] Building kite-framework 1.0.15                                     [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] kite-base 2.0.8 .................................... SUCCESS [  0.510 s]
[INFO] kite-framework 1.0.15 .............................. FAILURE [  1.231 s]
[INFO] apprtc-test 2.0.1 .................................. SKIPPED
[INFO] kite-engine 2.0.8 .................................. SKIPPED
[INFO] example-test 0.0.1 ................................. SKIPPED
[INFO] wpt-test 0.2.2 ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.921 s
[INFO] Finished at: 2021-04-09T11:49:08+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kite-framework: Could not resolve dependencies for project org.webrtc.kite:kite-framework:jar:1.0.15: Failed to collect dependencies at com.github.CoSMoSoftware:kite-extras:jar:0.1.79 -> com.pojosontheweb:monte-repack:jar:1.0.1 -> javax.media.jai:com.springsource.javax.media.jai.core:jar:1.1.3: Failed to read artifact descriptor for javax.media.jai:com.springsource.javax.media.jai.core:jar:1.1.3: Could not transfer artifact javax.media.jai:com.springsource.javax.media.jai.core:pom:1.1.3 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external, default, releases+snapshots)] -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :kite-framework

I fixed it by creating the file ~/.m2/settings.xml:

<settings>
  <mirrors>
    <mirror>
      <id>internal-repository</id>
      <name>Maven Repository Manager running on repo.mycompany.com</name>
      <url>http://repository.springsource.com/maven/bundles/external</url>
      <mirrorOf>com.springsource.repository.bundles.external</mirrorOf>
    </mirror>
  </mirrors>
</settings>
@sarthak625
Copy link

You are a lifesaver dude

@A-nguyenv
Copy link
Contributor

Hello, thank you very much for the feedback, your fix will be added to the doc in the next update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants