1 Dec 2006 05:59
Mixing Wagon and Assembly plugins with Debian plugin
Brian Topping <topping <at> codehaus.org>
2006-12-01 04:59:12 GMT
2006-12-01 04:59:12 GMT
Hi all, We've been using the Debian plugin on an hourly basis lately, and I'd like to solve the issue with autoincrementing maintainer revisions. In a debian repository, the way the indexer knows that there is a new version is by this revision number, not by the date of the file. Every time we build a debian, we want to deploy it somewhere, so we have to increment this revision number. To do so, we have to open the repository and find the oldest revision. That's a pain. Since I am using the Wagon plugin every time I am using the Debian plugin, it makes sense to combine them. In this manner, the configuration for Wagon plugin would be merged into Debian plugin, and the latter would sublaunch Wagon to do it's business. Doing so would also save a ton of configuration in every POM. There's a tag to ensure that other plugins run before a given plugin, but they don't allow the depending plugin to get any information from the plugin that it depends on after it runs. In the case of Debian, we want Wagon to provide what the latest maintainer revision is in the debian repository that we are about to copy to. Any ideas? Once this is working, I'll provide the option for Assembly plugin to be depended on the same way, since they seem to go together well. Brian(Continue reading)
RSS Feed