Когда я создаю свой проект, отсутствуют jar-файлы для org.restlet.jee в качестве зависимости для apache-camel.
[WARNING] The POM for org.restlet.jee:org.restlet.ext.spring:jar:2.2.2 is missing, no dependency information available
Поэтому я добавил в Nexus новый прокси-репозиторий для http://maven.restlet.com/< /эм>.
После добавления возникает ошибка в процессе обнаружения:
Файл префикса удаленной стратегии в M2Repository (id = maven-releases) обнаружил неверный ввод, результаты отбрасываются: файл префикса не начинается с ожидаемого заголовка «## relay-prefixes/2.0», отказываясь загружать файл.
Есть ли какое-нибудь решение, как я могу использовать репозиторий рестлета с Nexus?
Отредактировано: мой pom.xml
<distributionManagement>
<repository>
<id>releases</id>
<name>Internal Releases</name>
<url>http://xxx:8081/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Internal Snapshots</name>
<url>http://xxx:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>deployment</serverId>
<nexusUrl>http://xxx:8081/nexus/</nexusUrl>
</configuration>
</plugin>
...
</plugins>
</build>