Restlet 2.3.1 (JSE) を使用するプロジェクトがあります。Restlet Web サイトに従って maven を使用しています。
<properties>
<restlet-version>2.3.1</restlet-version>
</properties>
<repositories>
<repository>
<id>maven-restlet</id>
<name>Public online Restlet repository</name>
<url>http://maven.restlet.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet</artifactId>
<version>${restlet-version}</version>
</dependency>
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet.ext.jackson</artifactId>
<version>${restlet-version}</version>
</dependency>
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet.ext.jetty</artifactId>
<version>${restlet-version}</version>
</dependency>
</dependencies>
これはすべて正常に動作しますが、RAML 拡張機能を追加しようとすると:
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet.ext.raml</artifactId>
<version>${restlet-version}</version>
</dependency>
次のエラーが表示されます。
ArtifactDescriptorException: Failed to read artifact descriptor for org.raml:raml-parser:jar:0.8.7:
ArtifactResolutionException: Failure to transfer org.raml:raml-parser:pom:0.8.7 from http://download.java.net/maven/1 was cached in the local repository, resolution will not be reattempted until the update interval of maven1-java has elapsed or updates are forced.
Original error: Could not transfer artifact org.raml:raml-parser:pom:0.8.7 from/to maven1-java (http://download.java.net/maven/1): No connector available to access repository maven1-java (http://download.java.net/maven/1) of type legacy using the available factories AetherRepositoryConnectorFactory, WagonRepositoryConnectorFactory