Alla olevaa virheilmoitusloitsua pukkaa... mikähän näissä uusissa harjoitusrungoissa on niin eri tavalla että jopa "Hello World!" on mennyt rikki? Kehitysympäristönä on Windows.
`cd C:\Users\juhal\Documents\NetBeansProjects\mooc-2020-ohjelmointi-ii\osa14-Osa14_01.Shanghai; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_211" cmd /c "\"\"C:\Program Files\tmcbeans\java\maven\bin\mvn.bat\" -Dexec.args=\"-classpath %classpath sovellus.ShanghaiSovellus\" -Dexec.executable=\"C:\Program Files\Java\jdk1.8.0_211\bin\java.exe\" -Dmaven.ext.class.path=\"C:\Program Files\tmcbeans\java\maven-nblib\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx\""
Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts.
Scanning for projects...
Total time: 2.746s
Finished at: Mon Apr 27 04:24:15 EEST 2020
Final Memory: 8M/243M
Failed to execute goal fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx (default-cli) on project Osa14_01.Shanghai: Execution default-cli of goal fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx failed: Plugin fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to collect dependencies for fi.helsinki.cs.tmc:runner-maven-plugin:jar:1.0.1 (): Failed to read artifact descriptor for org.apache.maven:maven-plugin-api:jar:3.6.1: Could not transfer artifact org.apache.maven:maven-plugin-api:pom:3.6.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.6.1/maven-plugin-api-3.6.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
Alla olevaa virheilmoitusloitsua pukkaa... mikähän näissä uusissa harjoitusrungoissa on niin eri tavalla että jopa "Hello World!" on mennyt rikki? Kehitysympäristönä on Windows.
`cd C:\Users\juhal\Documents\NetBeansProjects\mooc-2020-ohjelmointi-ii\osa14-Osa14_01.Shanghai; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_211" cmd /c "\"\"C:\Program Files\tmcbeans\java\maven\bin\mvn.bat\" -Dexec.args=\"-classpath %classpath sovellus.ShanghaiSovellus\" -Dexec.executable=\"C:\Program Files\Java\jdk1.8.0_211\bin\java.exe\" -Dmaven.ext.class.path=\"C:\Program Files\tmcbeans\java\maven-nblib\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx\"" Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. Scanning for projects...
Building Osa14_01.Shanghai 1.0-SNAPSHOT
--- runner-maven-plugin:1.0.1:run-javafx (default-cli) @ Osa14_01.Shanghai --- Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.6.1/maven-plugin-api-3.6.1.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-project/3.0-alpha-2/maven-project-3.0-alpha-2.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.6.1/maven-core-3.6.1.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.pom
Downloading: http://repo.maven.apache.org/maven2/org/rauschig/jarchivelib/1.0.0/jarchivelib-1.0.0.pom
BUILD FAILURE
Total time: 2.746s Finished at: Mon Apr 27 04:24:15 EEST 2020 Final Memory: 8M/243M
Failed to execute goal fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx (default-cli) on project Osa14_01.Shanghai: Execution default-cli of goal fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1:run-javafx failed: Plugin fi.helsinki.cs.tmc:runner-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to collect dependencies for fi.helsinki.cs.tmc:runner-maven-plugin:jar:1.0.1 (): Failed to read artifact descriptor for org.apache.maven:maven-plugin-api:jar:3.6.1: Could not transfer artifact org.apache.maven:maven-plugin-api:pom:3.6.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.6.1/maven-plugin-api-3.6.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException `