maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Derricutt <m...@talios.com>
Subject Re: LifecycleParticipants in child modules?
Date Mon, 23 Mar 2015 01:09:11 GMT
Looks like this is a bug in our code - which I've now resolved. Seems the
LifeCycleParticipants are handled ONCE per session, I had a bad assumption
they might be run for each project.

-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree

On Sun, Mar 22, 2015 at 9:27 AM, Mark Derricutt <mark@talios.com> wrote:

> Quick reply from phone.   No - it doesn't work in both versions, I've not
> tried going back further yet tho.
> On 22/03/2015 8:52 am, "Jason van Zyl" <jason@takari.io> wrote:
>
>> Are you saying it works in 3.2.5 and doesn't in 3.3.1? Or that the
>> behaviour is the same?
>>
>> On Mar 20, 2015, at 11:52 PM, Mark Derricutt <mark@talios.com> wrote:
>>
>> > On 21 Mar 2015, at 15:23, Jason van Zyl wrote:
>> >
>> >> Put a test project somewhere and I'm happy to look, I need something I
>> can debug through to try and help.
>> >
>> > An extracted test project using the current version of the plugin can
>> be downloaded from:
>> >
>> > https://dl.dropboxusercontent.com/u/909343/basictile.zip
>> >
>> > When building with "mvn clean package" you should see the child module:
>> >
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Building Simple Child testing
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO]
>> > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ child ---
>> > [INFO]
>> >
>> > but when using "mvn clean package -pl child":
>> >
>> > [INFO] --- tiles-maven-plugin: Injecting 1 tiles as intermediary parent
>> artifact's...
>> > [INFO] Mixed 'io.repaint.tiles:child:testing' with tile
>> 'io.repaint.tiles:basic-tile:2.2-SNAPSHOT' as it's new parent.
>> > [INFO] Mixed 'io.repaint.tiles:basic-tile:2.2-SNAPSHOT' with original
>> parent '(no parent)' as it's  new top level parent.
>> > [INFO]
>> > [INFO]
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Building Simple Child testing
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO]
>> >
>> >> There are several tests for participants in the ITs so I think they
>> are all right. And I don't believe we broke anything along the way to 3.3.1
>> either.
>> >
>> > Seems to (not) happen with 3.2.5 as well - I wouldn't put it past
>> something we've not configured/done right.
>> >
>> > Cheers
>> > Mark
>>
>> Thanks,
>>
>> Jason
>>
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder, Takari and Apache Maven
>> http://twitter.com/jvanzyl
>> http://twitter.com/takari_io
>> ---------------------------------------------------------
>>
>> A man enjoys his work when he understands the whole and when he
>> is responsible for the quality of the whole
>>
>>  -- Christopher Alexander, A Pattern Language
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message