이전 Nexus 서버에서 Nexus OSS v2.0.4로 마이그레이션해야했습니다. 나는 아침부터 이상한 문제에 직면 해있다. 첫째로 넥서스를 설치하고 시작했는데 서버 컴퓨터에서 한 번만 찾아 본 다음 더 이상 탐색 할 수 없었습니다. 그러나 나중에 네트워크의 다른 모든 컴퓨터에서 서버에 액세스 할 수 있습니다 (http://remote.hostname:8081/nexus 사용).Maven이 원격 넥서스 저장소의 종속성을 찾을 수 없습니다.
그런 다음 이전 서버 컴퓨터에서 저장 디렉터리의 모든 내용을 복사 한 다음 하나씩 새 컴퓨터에 붙여 넣었습니다. (모든 저장소에 대해 새 서버에 저장소를 만들고 이전 서버에서 복사 한 디렉토리로 local storage Location
을 부여했습니다. 지금 나는 가지고있는 항아리를 모두 볼 수 있지만, 나는 그것을 사용할 수 없다. maven 프로젝트를 실행하려고하면 dependencies가 발견되지 않는다는 의미입니다. 나는 그것이 새로운 서버에있는 장소에서 단지를 찾고 있지만 다운로드하지 못하는 것을 볼 수 있습니다. 항아리를 다운로드 할 수없는 이유는 무엇입니까?
또한 서버 시스템의 브라우저에서 새로운 nexus 서버에 액세스 할 수없는 이유는 무엇입니까? 모든 제안을 주시면 감사하겠습니다. 감사.
내가 받는다는 주변에 바이올린을, 나는 내가 공공의 저장소에서 종속성을 액세스 할 수 있어요,하지만 하나 개의 특정 저장소 (하나에서 지금까지 발견 ==== 업데이트 ==== 알고있다). 어떤 이유가있을 수 있습니까? 마이그레이션의 잘못된 문제가 의심 스럽습니다. 한 서버에서 다른 서버로 마이그레이션하는 올바른 방법입니까?
또한 모든 프록시 리포지토리의 상태는 In service-Remote automatically blocked and unavailable
입니다. 어떻게 든 내 문제와 관련이 있습니까?
=== Settings.XML의 ===
<settings>
<localRepository>${env.TEST_HOME}\maven.repository</localRepository>
<proxies>
<proxy>
<id>Compproxy</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>proxy.abc.com</host>
<port>81</port>
<nonProxyHosts>*.abc.com|rick*</nonProxyHosts>
</proxy>
</proxies>
<servers>
<server>
<id>MyRep</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
<mirrors>
<mirror>
<id>central mirror</id>
<url>http://rick1.abc.com:8081/nexus/content/groups/public</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>opensymphony mirror</id>
<url>http://rick1.abc.com:8081/nexus/content/groups/public</url>
<mirrorOf>opensymphony</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>actProf</id>
<repositories>
<repository>
<id>public</id>
<url>http://rick1:8081/nexus/content/groups/public</url>
</repository>
<repository>
<id>MyRep</id>
<url>http://rick1:8081/nexus/content/repositories/MyRep</url>
</repository>
</repositories>
<properties>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>actProf</activeProfile>
</activeProfiles>
</settings>
당신이해야 할 것은 사용자가 만든 모든 저장소를 추가하는 것입니다
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.abc.test</groupId>
<artifactId>testgui_start</artifactId>
<packaging>pom</packaging>
<version>1</version>
<name>Start POM Test GUI</name>
<url>www.abc.com</url>
<build>
<plugins>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.abc.test</groupId>
<artifactId>testgui</artifactId>
<version>${version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
아래 답변을 삭제하겠습니다. 그것은 당신을 도울 수 없으며 이미 도움이되는 것처럼 보입니다! – Miquel
확인. 어쨌든 고마워. – gkris