Cześć,
od godziny walę głową w mur i zastanawiam się czy to na pewno jest problem z moim lokalnym repozytorium czy coś pochrzanili w mavenie z zależnościami. W tamtym tygodniu działało ;)
pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.kojotdev.test.rsocket</groupId>
<artifactId>rsocket-test</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/io.rsocket/rsocket-core -->
<dependency>
<groupId>io.rsocket</groupId>
<artifactId>rsocket-core</artifactId>
<version>1.0.0-RC3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.rsocket/rsocket-transport-netty -->
<dependency>
<groupId>io.rsocket</groupId>
<artifactId>rsocket-transport-netty</artifactId>
<version>1.0.0-RC3</version>
</dependency>
</dependencies>
</project>
Nie mogę pobrać tych paczek. Próbowałem ręcznie usuwać paczki w foldrze \.m2\repository\io\rsocket
(używam Windowsa) oraz mvn clean install -U
, ale dostaję takie błędy:
"C:\Program Files\Java\jdk-11\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\JDeveloper\mywork\java\rsocket-test "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.4\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.4\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.4\plugins\maven\lib\maven-event-listener.jar" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.4\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar" org.codehaus.classworlds.Launcher -Didea.version2019.2.2 clean install -U
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< com.kojotdev.test.rsocket:rsocket-test >---------------
[INFO] Building rsocket-test 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/io/projectreactor/reactor-bom/Dysprosium-M3/reactor-bom-Dysprosium-M3.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.951 s
[INFO] Finished at: 2019-09-23T13:43:07+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project rsocket-test: Could not resolve dependencies for project com.kojotdev.test.rsocket:rsocket-test:jar:1.0-SNAPSHOT: Failed to collect dependencies at io.rsocket:rsocket-core:jar:1.0.0-RC3: Failed to read artifact descriptor for io.rsocket:rsocket-core:jar:1.0.0-RC3: Could not find artifact io.projectreactor:reactor-bom:pom:Dysprosium-M3 in central (https://repo.maven.apache.org/maven2) -> [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
Downloading from central: https://repo.maven.apache.org/maven2/io/projectreactor/reactor-bom/Dysprosium-M3/reactor-bom-Dysprosium-M3.pom
Failure to find io.projectreactor:reactor-bom:pom:Dysprosium-M3 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
Could not find artifact io.projectreactor:reactor-bom:pom:Dysprosium-M3 in central (https://repo.maven.apache.org/maven2)
Jeśli ktoś miałby chwilę, czy mógłby sprawdzić u siebie czy te zależności pobierają się i instalują bez problemu? I jeśli tak to gdzie u mnie leży problem?