Hi Robert,
thanks, exactly what I was looking for. Can you add that link to the 
deprecation notice of 
https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/monitor/event/EventDispatcher.html
 
<https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/monitor/event/EventDispatcher.html>
 and 
https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/execution/MavenSession.html#getEventDispatcher()
 
<https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/execution/MavenSession.html#getEventDispatcher()>
 and make clearer that since Maven 3.0.0 the latter will always returns null.
Thanks,
Konrad

> On 25 Aug 2016, at 10:44, Robert Scholte <[email protected]> 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 <[email protected]> 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: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to