But then how do you handle releases of the referencing projects? A clean
release must never reference any snapshot, I don't see how you do it.
Le 16 déc. 2010 00:33, "Jörg Hohwiller" <[email protected]> a écrit :
> Hi there,
>
> FYI:
>
> I use "SNAPSHOT" as version for internal artifacts (site-configurations
with
> checkstyle, etc.) to denote that they will never get released.
> However in such case one typically does not need real "SNAPSHOT" support
by
> maven. I could also name the version "notversioned" or "0.0".
>
> Regards
> Jörg
>
>> If x-SNAPSHOT.release() = x then SNAPSHOT.release()= npe or divide by
>> zero, take your pick :)
>>
>> I always made sure to point out this anti-pattern during all the maven
>> training classes I did.
>>
>> --mobile
>>
>> On Dec 13, 2010, at 6:42 AM, Benjamin Bentmann
>> <[email protected]> wrote:
>>
>>> Brett Porter wrote:
>>>
>>>> [...] "SNAPSHOT" (with no leading version) was valid, but that
behaviour has long been (unofficially) deprecated.
>>>
>>> Do you have some more pointers for this deprecation handy?
>>>
>>>
>>> Benjamin
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>