On 08/11/2011, at 5:26 AM, Adam Murdoch wrote:
> 1. Should the forced version be applied to the parent pom of a given pom? For
> example, if someGroup:someArtifact:1.2 declares a parent pom of
> someGroup:someParent:72, and we force someGroup:someParent:80, which version
> of someParent should be used?
>
> I would think we should use the parent declared in the pom in this instance.
Don't know enough to comment here. It seems like you're right though.
> 2. Should you be able to specify a dynamic version for the forced version?
> Something like:
>
> configurations.compile.resolveStrategy.force("group:module:latest.integration")
>
> I would think you should be able to (and probably can at the moment). In
> which case we should change the type of ResolutionStrategy.forcedModules to
> be something other than ModuleIdentifier, probably a new interface called
> ModuleSelector.
I think it's reasonable to expect that someone is going to want this.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com