maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Asmann" <Roland.Asm...@adesso.at>
Subject Re: Plugins and their versions
Date Thu, 31 Dec 2009 14:42:06 GMT
> 2009/12/31 Roland Asmann <Roland.Asmann@adesso.at>:
>> Indeed it does! Works like a charm!
>>
>> Only one problem now: it reports on several SNAPSHOT plugins, which I
>> actually DO want! I know it's not good practice to use snapshots, but
>> let
>> me explain my case here:
>>
>> I have a multi-module build, which is ALWAYS released in a single go.
>> One
>> of my modules is a plug-in that I actually need in the build, and I
>> always
>> want to use it in the same version as the whole project is in.
>>
>
> That is not allowed.
>
> All the plugins must be resolved before the build starts.
>
> When you start a release, the plugin will not have been built, so will
> not be available prior to setting up the build plan.
>
> in m3 IIRC your build will refuse to work full stop.
>
> You must release plugins separately from builds that consume them
>
> -Stephen

That sucks... But in m2.0.10 it still works, so I'll keep it in for now.

Roland

>
>> Now, during development, this would lead to a snapshot version, which at
>> time of release would make it a release version (I use the property
>> 'project.version' as a reference for the plug-in.
>>
>> Now, how can I explain to the enforcer-plugin that this single plug-in
>> indeed is allowed to be a snapshot? I'm hoping for a solution that
>> doesn't
>> mean implementing my own enforcer-rule... But if that what it takes,
>> I'll
>> do that. Just wanted to check if this is already possible, because I
>> think
>> this is not a very unusual use-case...
>>
>> Roland
>>
>>
>>>> Understood, but I'm not interested in the updates, I'm trying to track
>>>> down the plugins that have no version configured.
>>>>
>>>
>>> The enforcer plugin can help you find plugins with missing versions,
>>> too.
>>>
>>> Wayne
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message