(sorry about the re-post seems the mailing list broke the formatting so it's unreadable. Reposting text/plain)
-----Original Message----- Hi all, A simple mvn clean validate has more than tripled in time on a multi module project I'm working on (when compared to 2.2.1). >From what I've read on the list the alpha-6 is supposed to be quicker than 2.x >so I'm quite surprised by this. The project is a multi-module project. >From my interpretation of the build log the enforcer plugin is now validating >more than just the current module's pom for each module build. e.g. Corp Pom (defines validation rules) ProjA (parent is corp pom) + ModA + Mod B + Mod C That is when mvn validate is run on proj A when the reactor moves to a mod A it runs the enforcer rules on ProjA ModA, ModB and ModC, and again when it builds Mod B it runs the enforecer rules again on all these modules etc... I would only expect the enforcer to run against the project/module that it is currently building (like maven 2.2.1). Have I misunderstood the log - is this something that is known about or is this something new that you would like to see a sample project. Mvn 2.2.1 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] MyProject : Parent ............................ SUCCESS [6.441s] [INFO] MyProject : Model ............................. SUCCESS [3.635s] [INFO] MyProject : Client ............................ SUCCESS [2.073s] [INFO] MyProject : Utils ............................. SUCCESS [2.213s] [INFO] MyProject : Transformer ....................... SUCCESS [2.264s] [INFO] MyProject : Engine ............................ SUCCESS [2.323s] [INFO] MyProject : Service ........................... SUCCESS [2.343s] [INFO] MyProject : Proj Tester App ................... SUCCESS [2.274s] [INFO] MyProject : Packaging ......................... SUCCESS [2.453s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27 seconds [INFO] Finished at: Mon Jan 18 13:53:54 GMT 2010 [INFO] Final Memory: 31M/254M [INFO] ------------------------------------------------------------------------ mvn 3.0-alpha-6 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] MyProject : Parent ........................ SUCCESS [12.560s] [INFO] MyProject : Model ......................... SUCCESS [9.984s] [INFO] MyProject : Client ........................ SUCCESS [9.494s] [INFO] MyProject : Utils ......................... SUCCESS [10.337s] [INFO] MyProject : Transformer ................... SUCCESS [11.033s] [INFO] MyProject : Engine ........................ SUCCESS [10.365s] [INFO] MyProject : Service ....................... SUCCESS [11.039s] [INFO] MyProject : Proj Tester App ............... SUCCESS [11.304s] [INFO] MyProject : Packaging ..................... SUCCESS [8.938s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:35.609s [INFO] Finished at: Mon Jan 18 13:55:49 GMT 2010 [INFO] Final Memory: 21M/254M [INFO] ------------------------------------------------------------------------ > c:\Java\apache-maven-3.0-alpha-6\bin\mvn.bat clean validate | grep enforce [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-ruleTester --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-parent --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-model --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-client --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-util --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-transformer --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-engine --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-service --- [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ vam-rules-packaging ---- Regards, /James This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org