maven과 Artifactory를 설치했습니다.인벤토리 저장소 (Artifactoy)에서만 Maven 검색을 알리고 인터넷이 아님을
Artifactory는 인터넷에 연결되어 있습니다.
이 방법으로 Maven을 구성했습니다.
<?xml version="1.0" encoding="UTF-8"?>
<settings
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<localRepository>X:/.m2/repository</localRepository>
<interactiveMode>true</interactiveMode>
<usePluginRegistry>false</usePluginRegistry>
<offline>false</offline>
<profiles>
<profile>
<id>dev</id>
<repositories>
<repository>
<id>MY_Artifactory</id>
<url>http://myServer/artifactory/repo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>MY_Artifactory</id>
<url>http://myServer/artifactory/repo</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>dev</activeProfile>
</activeProfiles>
어떻게 그것은 단지 Artifactory에 있으며 지역 인터넷과 직접 시도해야 탐색하도록 메이븐을 알 수 있습니까?
ID는 로컬 일 수 없습니다. 효과적인 설정을 구성 할 수 없습니다. 나는 다른 이드로 바꿨다. 나는 그것이 지금 작동한다고 생각한다. – Kayser
답변을 수락 하시겠습니까? :) – jdevelop
나는 +1을 이미 주었고, 그것이 작동한다면 지금 테스트 중입니다. :-) – Kayser