• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ianbrandt/m2e-maven-dependency-plugin: m2e Connector for the Maven Dependency Pl ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ianbrandt/m2e-maven-dependency-plugin

开源软件地址(OpenSource Url):

https://github.com/ianbrandt/m2e-maven-dependency-plugin

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

m2e connector for the Maven Dependency Plugin

This m2e connector for the Maven Dependency Plugin adds a lifecycle mapping for the Unpack, Unpack Dependencies, Copy and Copy Dependencies Mojos. These Mojos will be executed during full builds only, and configured outputDirectory(s) will then be refreshed.

Build Status

FAQ

How do I use it?

First off, note that this is currently Beta code. It has been minimally tested, and all the usual early adopter warnings apply. That said if you're willing to help test the connector all you have to do is:

  1. Add the following update site:

    http://ianbrandt.github.io/m2e-maven-dependency-plugin/

  2. Install it into Eclipse like any other new feature.

  3. Remove any lifecycle mapping metadata you might have had in your POMs.

That's it! The connector will run on full builds, leaving it to the Maven Dependency Plugin's overwrite rules to copy or unpack the artifacts when appropriate.

Are there any performance tips I should be aware of?

  • Be mindful of your overwrite rules. Forcing a copy or unpack during a full build could slow things down quite a bit.
  • If you copy or unpack into an outputDirectory that generally also contains a lot of other resources, the workspace refresh could take longer than you'd want. Try to unpack artifacts into distinct output directories.

How can I help the project?

Thanks for asking...

  • If you're a dependency:unpack/dependency:unpack-dependencies/dependency:copy/dependency:copy-dependencies user:
    • Test this out. File an issue if it doesn't work for you. File an issue if you think it should do something more, or something different.
  • If you're a user of any other Maven Dependency Plugin goal:
    • File an issue to request mappings for additional goals. Be as specific as possible in describing the behavior you would expect. If you think the behavior might warrant configuration, either via files or a UI, share your vision for this as well.
  • If you're a Tycho expert:
    • Skim the POMs. File an issue or submit a pull request if there is something that could be done better.
  • If you're an Eclipse Plugin or m2e expert:
    • Skim the source and suggest improvements via issues or pull requests.
    • Contribute new test cases.
  • If you're a representative of the Eclipse Foundation or Apache Software Foundation or similar:
    • I'd be happy to consider donating this plugin—do get in touch.

Why not just make the Maven Dependency Plugin itself m2e compatible?

Connector-less m2e compatibility may very well be the end goal for this project. First this connector's behavior should be deemed universally desirable, and not in need of any configuration. As it stands if you find the behavior of this connector unsuitable you're free to uninstall it, or swap it out for another solution. That wouldn't be the case if the behavior was baked into the Maven Dependency Plugin proper.

Thanks

Many thanks to Fred Bricon for his help on IRC; his work on m2e and m2e-wtp; and his m2e-wro4j connector, which I cribbed from heavily to create this plugin.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
slavaz/embedded-postgresql-maven-plugin: Embedded PostgreSQL Maven Plugin发布时间:2022-08-17
下一篇:
liqiangit/maven-in-action: Maven实战源码发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap