Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Help about Maven internal management of plugins instances

Julien CARSIQUE wrote:

Here it is: the "deployAtEnd" option doesn't work after building a module involving my plugin because a new "Class realm
plugin" is then created and its static fields are reset (in that case, the
org.apache.maven.plugin.deploy.DeployMojo.readyProjectsCounter field).

Aether has nothing to do with the way Maven manages class loaders for plugins, i.e. you should reach out to the Maven user list instead.

Also, your analysis suggests a bug in the maven-deploy-plugin in that it relies on the erroneous assumption that a single class loader is used per plugin through out a multi-module build.


Benjamin



Back to the top