Have a look at org.sonatype.aether.RepositoryListener, this is what we
use in m2e to track changes to the local repository. This, of course,
does not receive events from builds running concurrently in other vms,
but I don't have a solution for that.

--
Regards,
Igor

On 11-09-13 8:46 PM, Wang YunFeng wrote:
Hi, All,

I want to listen to changes of local maven repo.
Then I could invoke some customized script. My question is: is there any
hook for maven to listen to whether maven is downloading new artifactsfrom
remote repo?

Regards
Simon


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

Reply via email to