如何获得有关新插件的公共maven存储库更新的通知?

时间:2010-06-14 05:48:26

标签: maven-2 repository

是否有任何工具可以自动通知您公共maven存储库添加的任何新插件(例如Apache | Codehaus | JBoss | Sourceforge maven存储库...)

2 个答案:

答案 0 :(得分:18)

现在有一个很棒的网站:https://www.artifact-listener.org/

答案 1 :(得分:8)

不是自动解决方案,但您可以使用Maven Versions Plugin有一个versions:display-plugin-updates目标,将检查项目中使用的所有插件和报告,并显示具有较新版本的插件列表可用。这是它产生的输出的an example

[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - org.codehaus.mojo.versions-maven-plugin.it:parent:pom:2.0
[INFO]    task-segment: [versions:display-plugin-updates]
[INFO] ------------------------------------------------------------------------
[INFO] [versions:display-plugin-updates]
[INFO]
[INFO] The following plugin updates are available:
[INFO]   maven-checkstyle-plugin .................................. 2.1 -> 2.2
[INFO]   maven-clean-plugin ....................................... 2.1 -> 2.2
[INFO]   maven-deploy-plugin ...................................... 2.3 -> 2.4
[INFO]   maven-javadoc-plugin ..................................... 2.4 -> 2.5
[INFO]   maven-site-plugin .......................... 2.0-beta-6 -> 2.0-beta-7
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-compiler-plugin ..................... (from super-pom) 2.0.2
[WARNING]   maven-deploy-plugin ......................... (from super-pom) 2.3
[WARNING]   maven-install-plugin ........................ (from super-pom) 2.2
[WARNING]   maven-javadoc-plugin ........................ (from super-pom) 2.4
[WARNING]   maven-site-plugin .................... (from super-pom) 2.0-beta-6
[WARNING]   org.codehaus.mojo:build-helper-maven-plugin .................. 1.2
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Sep 01 15:55:18 IST 2008
[INFO] Final Memory: 6M/104M
[INFO] ------------------------------------------------------------------------

它也可以用来制作a report(网站的一部分),例如每晚都可以生成。


  

我不一定在寻找项目中使用的库的更新,但有兴趣获得我感兴趣的某些产品的定期更新。

为此,最好的选择可能是订阅相关的邮件列表(通过邮件或RSS)并跟踪公告。