0
我已经将第三方jar添加到我的artifactory(libs-release repos,及其microsoft jdbc 4连接器)中。Artifactory第三方jar
我遇到的问题是,maven/apache servicemix无法下载jar,因为他们有以下设置,而且他们似乎总是试图首先从remote-repos下载东西。
<mirrors>
<mirror>
<mirrorOf>*</mirrorOf>
<name>remote-repos</name>
<url>http://...:8081/artifactory/remote-repos</url>
<id>remote-repos</id>
</mirror>
</mirrors>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>libs-release</name>
<url>http://...:8081/artifactory/libs-release</url>
</repository>
<repository>
<snapshots/>
<id>snapshots</id>
<name>libs-snapshot</name>
<url>http://...:8081/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>plugins-release</name>
<url>http://...:8081/artifactory/plugins-release</url>
</pluginRepository>
<pluginRepository>
<snapshots/>
<id>snapshots</id>
<name>plugins-snapshot</name>
<url>http://...:8081/artifactory/plugins-snapshot</url>
</pluginRepository>
</pluginRepositories>
<id>artifactory</id>
</profile>
任何想法什么是错/我是如何解决这一问题?临时解决方法是将jar安装到我的本地回购站中,但我不想在其他工作PC上执行此操作。
干杯。
干杯,固定它。 – 2012-09-27 08:45:03