Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11501

Build examples failed with Scala profile and Java11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      None
    • Environment:

      Open JDK 11.0.1, Windows 10 64bit

    • Ignite Flags:
      Docs Required

      Description

      Import in IDEA examples/pom.xml with scala profile.
      The compilation failed:

      C:\Java\open-jdk-11.0.1\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Work\apache-ignite-2.7.0-bin\examples "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\lib\idea_rt.jar=52182:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.5 compile -P scala
      [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.apache.ignite:ignite-examples:jar:2.7.0
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 204, column 21
      [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] ------------------------------------------------------------------------
      [INFO] Building ignite-examples 2.7.0
      [INFO] ------------------------------------------------------------------------
      Downloading: http://h2database.com/m2-repo/commons-codec/commons-codec/maven-metadata.xml
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.199 s
      [INFO] Finished at: 2019-03-07T11:17:10+03:00
      [INFO] Final Memory: 18M/67M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project ignite-examples: Could not resolve dependencies for project org.apache.ignite:ignite-examples:jar:2.7.0: Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path C:\Java\open-jdk-11.0.1/../lib/tools.jar -> [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
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skozlov Sergey Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: