Michael McCallum-3 wrote:
> 
> On Thu, 31 Jul 2008 09:44:41 sverhagen wrote:
>> In Continuous Integration spirit, we have snapshot dependencies between
>> all
>> our own components.
>> We have also set components to use snapshots of their parents (<parent>
>> ...
>> <version>...-SNAPSHOT).
>> Is the latter good practice?
>> It will mean that I can't release a component without releasing its
>> parents, won't it?
> 
> you can achieve the same result using version ranges...
> 

We have ranges on dependencies.
So all developers are always using the latest version of any of our own
components.
Latest version is typically a snapshot, since all components are always in
snapshot state in the SCM repository and the build server deploys them as
such to our internal Maven repository.

It appears that ranges on parent relationships are not allowed.


Michael McCallum-3 wrote:
> 
> i would not recommend snapshot parents...
> 
> consider that continuous integration is there to verify that your
> artifacts 
> are consistent and have valid inter artifact assumptions... if you use 
> snapshots how do you really know whats broken and what fixes it you would
> be 
> better off having a staging repository and a final release repository
> 
> using the release plugin to manage the lifecycle rather than snapshots
> gives 
> you far greater control
> 

This sounds like you're promoting not to use snapshots at all. That appears
not to be the Maven and C.I. spirit, is it?

I'm probably mis-understanding you ...
-- 
View this message in context: 
http://www.nabble.com/Snapshot-parent-tp18743503p18749742.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to