• resolution will not be reattempted until the update interval of vas has elap


    转自:http://kia126.iteye.com/blog/1785120

    maven在执行过程中抛错: 

    引用
    ... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]


    原因就是有些jar包没有完全下载完成,在编译的时候找不到jar包。只需要在配置文件中增加一个更新策略<updatePolicy>always</updatePolicy>就可以了。 
    找到你的conf/setting.xml 

    引用

    <profile> 
      <id>nexus</id> 
      <!--Enable snapshots for the built in central repo to direct --> 
      <!--all requests to nexus via the mirror --> 
      <repositories> 
        <repository> 
          <id>central</id> 
          <url>http://central</url> 
          <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases> 
          <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> 
        </repository> 
      </repositories> 
    <pluginRepositories> 
        <pluginRepository> 
          <id>central</id> 
          <url>http://central</url> 
          <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases> 
          <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> 
        </pluginRepository> 
      </pluginRepositories> 
    </profile> 
  • 相关阅读:
    高等数学积分公式大全
    怎样使用SetTimer MFC 够具体
    蕤仁肉(内仁肉、泪仁肉)简单介绍
    图解iPhone开发新手教程
    卸载Symantec Endpoint Protection, 无需password的卸载方法
    Spring整合Hibernate的步骤
    用JSP实现的商城购物车模块
    Qt多线程学习:创建多线程
    jQuery 复制节点的元素实现加入到购物车功能
    SSH
  • 原文地址:https://www.cnblogs.com/YuyuanNo1/p/8743735.html
Copyright © 2020-2023  润新知