Hello Baptiste, sorry for spoiling the fun again :-(. I just test-installed sonar on my machine and let it inspect extra-enforcer-rules, one thing standing out is a leaking file handle, because new JarFile( f ) already opens the file, but it is never closed. While this need not be a problem (because the number of dependencies is probably mostly small), in some circumstances enforcer:enforce might be invoked several times because of forked lifecycles, there may be reactor projects with a lot of modules *and* the files stay open during the whole maven session. I just fixed this with https://fisheye.codehaus.org/changelog/mojo?cs=18023.
Side note: by chance I stumbled across https://bamboo-ci.codehaus.org/browse/MOJO-MEXTRAENFORCERRULES and all recent builds are failing, though on Jenkins http://huschteguzzel.de/hudson/job/extra-enforcer-rules/ and my private and office workstation I have no problem running mvn clean install site on the trunk. https://bamboo-ci.codehaus.org/browse/MOJO-MEXTRAENFORCERRULES-JOB1-30/log shows the CIRCULAR integration test is failing, however I do not know how to look into the workspace as on Jenkins. From the output it seems, Bamboo is running Maven 2, however, maybe that is the problem? Regards Mirko On Fri, Mar 15, 2013 at 9:28 PM, Baptiste Mathus <[email protected]> wrote: > Hi, > > I'd like to release version 1.0-alpha-4 of the extra-enforcer-rules project. > Note that this is the second try. So, please think about deleting your local > version if you already tried the previous release attempt. > > Extra Enforcer Rules is a project containing extra rules for Apache Maven's > Enforcer Plugin. > > We solved 7 issues: > https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11062&version=18450 > > There are still a couple of issues left in JIRA: > https://jira.codehaus.org/issues/?jql=project%20%3D%20MOJO%20AND%20component%20%3D%20extra-enforcer-rules%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20due%20ASC%2C%20priority%20DESC%2C%20created%20ASC > > Staging Repositories: > General: https://nexus.codehaus.org/content/groups/staging/ > Exclusive: > https://nexus.codehaus.org/content/repositories/orgcodehausmojo-032/ > > (Staging) Site: > http://mojo.codehaus.org/extra-enforcer-rules/ > > SCM Tag: > https://svn.codehaus.org/mojo/tags/extra-enforcer-rules-1.0-alpha-4/ > > Note that this version includes two new rules: > * enforcerBytecodeVersion : rule to check that bytecode of dependencies is > not higher than expected > * banCircularDependencies : rule to prevent having circular dependencies > > [ ] +1 > [ ] +0 > [ ] -1 > > The vote is open for 72 hours and will succeed by lazy consensus. > > Cheers > > -- > Baptiste --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
