maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <>
Subject Problem with clean in multi-module project that includes new mojos
Date Thu, 20 Jun 2013 15:50:42 GMT
This sounds a bit obscure, but I think it's a reasonable scenario.

I have a large multi-module project with custom plugins. If I add a new mojo to a plugin,
use that mojo in a later modules, and commit the changes to CM, anybody who checks out the
source will be unable to do a mvn clean on the project. When maven hits the module that uses
the plugin, it attempts to find the new mojo, which of course it has not yet built.  The same
problem would occur if you create new plugin and use it. Anybody who checks out the code and
tries "mvn clean" will fail if they have not previously built the plugin.

Note: "mvn clean install" works fine, but "mvn clean" fails until you do an install. I think
the clean step should probably NOT try to verify that the plugins exist.
Come read my webnovel, Take a Lemon <>, 
and listen to the Misfile radio play <>!

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