Maven Plugins v0.2.1 – re-written and open-sourced!
A "0.1" release of these Maven plugins back in November brought a lot of attention to the project, which showed me that other Maven developers find them as useful as I do. Later, people started to send me new suggestions and open YouTrack issues which I had an extreme pleasure to work on.
Version "0.2.1" was recently released and I believe this version is of paramount importance and it is much more than just an upgrade. Lots of things have changed for the project in addition to features added and bugs fixed:
- Lots of people have helped me to work on this version by talking to me personally, over e-mail or by opening issues. A big thank you to all of you! Without your impact, ideas and bug reports this release would contain much less.
- The code was re-written in Groovy and open-sourced. Writing Maven plugins in Groovy is such a big fun, I’ll be talking about it in “Groovy Builds” session at Gr8Conf this year. Come to see how Maven can be better!
- A separate testing project was created with hundreds of thorough tests and examples. A GCommons library was extracted from the code into a standalone project.
- Documentation was updated and GroovyDoc is now available as well. But if you’re short of time here’s a quick presentation. The project now has its own mailing list and you’re welcome to join in order to stay informed and take part in features discussions and prioritizing future progress.
- The project gets more exposure: the Spring issue of Methods & Tools will come out with my article describing the plugins’ purpose and advantages for less technical people, and GroovyMag March 2011 just came out with an article about GCommons. And if all goes well, the hudson/jenkins plugin will be covered by “Jenkins: The Definitive Guide” as John Ferguson Smart kindly accepted my proposal to contribute to the book. This sounds really nice and I hope this is just the beginning.
- JFrog and JetBrains tools keep working so well that I’m now convinced that a combination of Artifactory, TeamCity and YouTrack is an excellent option these days.
"0.2" and "0.2.1" release notes are available in YouTrack and on the Wiki but here are some highlights:
- All plugins now support a
<runIf>conditional execution. It allows to invoke them conditionally, something that is otherwise impossible with Maven. "maven-copy-plugin"– bullet-proof FTP download, Zip entries unpack, archives update,<runIf>per<resource>, FTP/SCP uploads."maven-hudson-plugin"– free-style jobs, CVS support,<properties>,<authToken>."maven-assert-plugin"–<assertGroovy>withFile.directorySize(), very handy in tests!"maven-sshexec-plugin"– multiple commands support, key-based authentication,echoof the current directory and commands executed.
Jenkins/Hudson Maven Repositories Ubuntu: Installing Apache Portable Runtime (APR) for Tomcat


Sounds really promising. Are you going to make them available on Maven Central? That would make things much easier. Thanks.
Thanks, Reinhard.
Yes, Maven Central deploy is planned and you can follow this issue – http://evgeny-goldin.org/youtrack/issue/pl-227.
But I must tell it is not of high priority for me. And here’s why: the issue of plugins or any other products being available on Maven Central is a repetitive one. It is more comfortable for people to get them from one central location and I understand that. But I believe that each product may have its own Maven repository like many projects do today and we should not be limited to Maven Central only. Even in Ubuntu one needs to update list of repos from time to time (just did so yesterday for Sun JDK) so I hope adding one more Maven repository where plugins are hosted today (http://evgeny-goldin.org/artifactory/plugins-releases/ + http://evgeny-goldin.org/artifactory/libs-releases/) is not an issue for most people.
Most people will have to go through a company-hosted repo manager such as Nexus on their job. I’m in charge of our Nexus, and I don’t like the idea of adding lots of individual proxied repos to it. Look at Sonatype’s free repo hosting service for open source projects. You can get your own repo there which is automatically synched to Maven Central.
http://nexus.sonatype.org/oss-repository-hosting.html
https://oss.sonatype.org
Hi, yes, it is planned already.
[...] an update is [...]