You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2019/03/07 08:20:00 UTC

[jira] [Created] (IGNITE-11501) Build examples failed with Scala profile and Java11

Sergey Kozlov created IGNITE-11501:
--------------------------------------

             Summary: Build examples failed with Scala profile and Java11
                 Key: IGNITE-11501
                 URL: https://issues.apache.org/jira/browse/IGNITE-11501
             Project: Ignite
          Issue Type: Bug
          Components: examples
    Affects Versions: 2.7
         Environment: Open JDK 11.0.1, Windows 10 64bit
            Reporter: Sergey Kozlov


Import in IDEA {{examples}/pom.xml} with {{scala}} profile.
The compilation failed: 
{noformat}
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

{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)