我想使用工件
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<version>5.0.11-SNAPSHOT</version>
作为插件,我可以在https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/izpack/izpack-maven-plugin/5.0.11-SNAPSHOT/看到。但是指定
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
由于project.repositories
,mvn -U clean install
下的仍会导致[ERROR] Plugin org.codehaus.izpack:izpack-maven-plugin:5.0.11-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.codehaus.izpack:izpack-maven-plugin:jar:5.0.11-SNAPSHOT -> [Help 1]
失败。这是否有意义,因为没有错误表明传输失败,而只是找不到工件?
我在Ubuntu 16.10上使用Maven 3.3.9。