On Wed, 2003-11-26 at 03:55, Vincent Massol wrote: > Hi, > > I'd like to start adding explicit dependencies for maven plugins.
+1 The plugin dependency mechanism will need a little adjusting but that's not that big of a deal. I'm not sure how much of the dependency resolving code Brett merged from rc2-unstable but that code is much cleaner and could easily be adjusted to glean deps from the POM instead of doing the namespace voodoo thing. > Now > that each plugin can be downloaded separately, I think this is a > required step: Let's say I release a new version of plugin X. However, > for this plugin to run I've also modified another plugin Y. When the end > user runs "maven plugin:download -DartifactId=X...", plugin Y (in the > correct version) also has to be downloaded. > > I think a rule of thumb is that we should have these dependencies on > latest released version of other plugins and not on SPANSHOT. Of course, > if you're developing a new version of a plugin and it absolutely > requires an unreleased of another plugin then the dependency should be > on SNAPSHOT. However, the release process should release that other > plugin first and then your plugin. Of course, there must be no SNAPSHOT > reference when releasing plugins. Right, just as there should be no snapshots in a release in general. The release plugin does deal with this for releases. But for the intermim between releases I don't think snaps are a problem. > What would be a real helper to add these dependencies would be a > optional "strict" mode for <attainGoal>. By strict, I mean that only > goals from declared dependencies would be allowed to run. Others will > fail with a warning stating that it is missing a dependency. This would > allow to easily identify dependencies. However, I'm not sure how easy > (or how hard) it would be to implement this optional strict mode. Any > idea? Not sure what you mean entirely here. By "goals from declared dependencies" you mean goals belonging to plugins that have been declared in the POM? > Fire away! > > Thanks > -Vincent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
