Eclipse渐变和maven工具 - 本地分辨率 [英] Eclipse gradle and maven tooling - local resolution

查看:156
本文介绍了Eclipse渐变和maven工具 - 本地分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想逐渐将多模块maven构建迁移到多模块毕业生版本。

I want to gradually migrate a multi-module maven build to a multi-module gradle build.

我目前正在使用 m2e eclipse中的maven工具,我喜欢的一个功能是,如果projectA依赖于projectB,并且这两个项目都在我的eclipse工作空间中,m2e足够聪明projectB的本地.class文件,而不是使用我的maven存储库中的.jar文件。让我们将这个功能称为本地解决方案。

I'm currently using m2e maven tooling in eclipse and one feature I like is that if projectA depends on projectB and both projects are in my eclipse workspace, m2e is smart enough to use the local .class files for projectB instead of using the .jar file from my maven repository. Let's call this feature "local resolution".

所以,可以eclipse毕业工具和 m2e 一起玩得很好?

So, can the eclipse gradle tooling and m2e play nicely together?


  1. 如果一个毕业项目依赖于一个maven项目,那么maven项目可以本地解决

  2. 如果一个maven项目依赖于一个毕业项目,那么毕业项目是否可以在本地解决

  3. 如果毕业项目取决于毕业项目可以在本地解决依赖的毕业生项目?


推荐答案

解决当地的毕业项目被阻止,直到 GRADLE-2750 已解决。所以目前的状态是这样的:

Resolving local gradle projects is blocked until GRADLE-2750 is resolved. So the current state is this:


  1. 本地解决方案适用于gradle项目,具体取决于maven项目(固定在3.1.0.M1版本中)

  2. 取决于gradle项目,maven项目的本地解决方法失败

  3. 根据gradle项目,gradle项目的本地解析失败

相关STS问题

  • STS-2834
  • STS-2405
  • STS-2836

更新

GRADLE-2750 已修复并可用在下一个毕业生版本中,Gradle 1.12。

GRADLE-2750 has been fixed and will be available in the next gradle release, Gradle 1.12.

这篇关于Eclipse渐变和maven工具 - 本地分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆