首先set.xml:
[code="xml"]<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
/home/pandy/dev/.m2/repository
tomcat-maven-plugin
nexus
deployment
deployment123
nexus
http://192.168.0.196:8081/nexus/content/groups/public
*
nexus
http://192.168.0.196:8081/nexus/content/groups/public/
true
false
nexus
http://192.168.0.196:8081/nexus/content/groups/public
true
false
nexus
[/code]
Nexus的地址是:[url]http://192.168.0.196:8081/nexus[/url]
我在Nexus里面的Central/Browse Index里面能看见cxf-api的2.7.1版本,但是无法看见2.7.3版本.
然后在[url]http://mvnrepository.com/artifact/org.apache.cxf/cxf-api/2.7.3[/url],却地功能Maven的官方仓库是可以找到2.7.3版本的,难道我的Nexus得到的信息不是最新的?
请问如何解决这个问题,谢谢.
你的私服 建代理了吗 可参考[url]http://www.iteye.com/topic/1126678[/url]