【问题标题】:How to add nexus 3rd part jar package to eclipse如何将nexus 3rd部分jar包添加到eclipse
【发布时间】:2017-03-05 09:17:05
【问题描述】:

我已向 nexus 添加了一个 3rd 方 jar,并修改了我的 maven settings.xml 以使用该 nexus 存储库,如下所示:

     <profile>
      <id>dev</id>
      <repositories>
          <repository>
              <id>local-nexus</id>
              <url>http://127.0.0.1:8081/nexus/content/groups/public/</url>
              <releases>
                  <enabled>true</enabled>
              </releases>
              <snapshots>
                 <enabled>true</enabled>
              </snapshots>
          </repository>
      </repositories>
  </profile>

现在我希望我的 eclipse maven 插件使用 nexus 3rd 方 jar,但项目存储库中心的 eclipse maven 存储库视图仍然是空的。我尝试重建索引,但无济于事。有什么提示吗?

【问题讨论】:

    标签: java eclipse maven nexus


    【解决方案1】:

    您需要配置 eclipse 以使用您已修改的 settings.xml。您应该可以在首选项> maven 中轻松找到它

    【讨论】:

      猜你喜欢
      • 2013-09-23
      • 2012-10-06
      • 2017-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-23
      相关资源
      最近更新 更多