Just to conclude here: I found that the AbstractMavenLifecycleParticipant is 
just enough, since that provides a callback method at the end of the build 
(thanks to https://issues.apache.org/jira/browse/MNG-5389 being implemented).
That can be leveraged from build extensions and does not require a core 
extension.
Konrad

> On 25 Aug 2016, at 15:45, Konrad Windszus <konra...@gmx.de> wrote:
> 
> That is only accessible when being placed in maven.ext.class.path. I am 
> looking for something which can be registered only through a pom.xml.
> Registering such an extension via the extensions section of the pom.xml does 
> not work though.
> Konrad
> 
>> On 25 Aug 2016, at 10:44, Robert Scholte <rfscho...@apache.org> wrote:
>> 
>> Hi Konrad,
>> 
>> Have a look at 
>> https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/eventspy/EventSpy.html
>> 
>> thanks,
>> Robert
>> 
>> On Fri, 19 Aug 2016 17:33:15 +0200, Konrad Windszus <konra...@gmx.de> wrote:
>> 
>>> The EventDispatcher support was completely removed with the commit 
>>> https://github.com/apache/maven/commit/505423e666b9a8814e1c1aa5d50f4e73b8d710f4
>>>  for Maven 3.0.
>>> Currently I instead use a JVM Shutdown Hook to perform some tasks at the 
>>> end of the build which is not recommended either for obvious reasons (see 
>>> https://maven.apache.org/plugin-developers/common-bugs.html#Using_Shutdown_Hooks).
>>> 
>>> What is the recommended way on how to perform some tasks at the end of the 
>>> reactor build?
>>> Thanks,
>>> Konrad
>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


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

Reply via email to