2009/10/6 Brett Porter <[email protected]>:
> On 02/10/2009, at 12:59 AM, Mark Hobson wrote:
>> Interesting idea, have you got an example of this?
>
> Every Maven project released in the last couple of months does this, or the
> source bundle of Maven itself.

Ah thanks, I didn't realise that'd been done.  I think I skimmed over
that mammoth thread about release profiles ;)

>> I hope to use mvn -r to avoid having to produce an aggregate pom that
>> contains the necessary <module> elements.  Not sure how easy it'll be
>> to coax the SCM plugin into checking out all direct and transitive
>> dependencies of a project though.
>
> Note that -r is deprecated in favour of -pl now...

Oh right, I hadn't seen that mentioned anywhere.  So does -pl support
building the project list dynamically from subdirectories like -r
does?

>> I do like this idea, although it'd mean releasing new versions of
>> pre-existing projects to bring in the new attached artifact.
>
> couldn't you build the equivalent source bundle for the existing version,
> since it is a whole new artifact?

So just deploy the source-release artifact without the others?  Sure,
if you know an easy way of doing this from a tag :)

Cheers,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to