릴리스는 중앙 저장소에 업로드 할 수 있습니다. 즉, 변경되지 않고 저장소에서 이미 릴리스되어 사용 가능한 다른 파일에만 의존하는 파일을 의미합니다.
중앙 저장소에있는 POM의 최소 정보 요구 사항이 있습니다. 업데이트 된 요구 사항 목록은 here입니다.
글쎄, 귀하의 케이스는 guide central repository upload 위에 있습니다. 아닙니다. 기본적인 요구 사항에 위배됩니다.
소유자 또는 라이센스가있는 경우 tools.jar
을 Maven Central에 업로드 할 수 있습니다.
Maven Apache에 따르면 당신은 다음과 같은 방법으로 pom.xml
에 tools.jar
을 추가 할 수 있습니다 다음 tools.jar
메이븐 중앙에서 사용할 수없는 것으로,
<profiles>
<profile>
<id>default-tools.jar</id>
<activation>
<property>
<name>java.vendor</name>
<value>Sun Microsystems Inc.</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.4.2</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
여전히 의미이하고있을 수 없을거야 것 같습니다 .
https://maven.apache.org/guides/mini/guide-central-repository-upload.html – xenteros
참조 http://opensource.stackexchange.com/questions/4569/can-we-redistribute-openjdk -tool-jar –