最小限の努力でM2Eを備えたEclipse IndigoでMavenプロジェクトを構築する方法

StackOverflow https://stackoverflow.com//questions/9626352

  •  09-12-2019
  •  | 
  •  

質問

ここ数年の間、私たちは問題なしでM2eclipseを使用しましたが、「新しい」バージョン(すなわち、M2E)が後方互換性を破ったようです - 私が本当に誤解されたことを本当に願っているもの。

私の問題はこれです:私の既存のプロジェクトを最小限の量で構築することができたいです。私はそれらを持っていない3つのプラグインのためのコネクタを書く時間がありません - 私の2つの2つの理解がそもそも限られています、そして私はEclipseプラグインメカニズムを理解していません - しかし私はそれでもEclipseを使用してプロジェクトを構築できるようにしたいです。

古い(作業)バージョンのM2eclipseに戻ることなくこれを達成できますか?

プラグインのコネクタを持たずにアップグレードする方法がないことを理解していますか?

役に立ちましたか?

解決

It seems as if my understanding was correct if this blog post is anything to go by: http://grumpyapache.blogspot.com.au/2011/08/mess-that-is-m2e-connectors.html

M2E can invoke a plugin as part of the automatic build process if, and only if, there is a connector for the plugin, or you specially configure the plugin

... which means that:

You can no longer use your own plugins in the Eclipse automatic builds, unless you create a connector for the plugin, or create a project-specific configuration

The post goes on to list the issues with this approach. These are many of the same issues I have with the approach.

RANT: So there you have it - the m2e approach does suck as much as I feared it did! I was beginning to think it was just me!

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top