Hello again, Every now and then, someone asks about a Maven2 plugin for a tool called Macker. There was a M1 plugin but no one has made an M2 version that I have seen, at least nothing that has been released to the public (though one or two people have mentioned an internally-created Macker M2 plugin on the Maven Users list).
I decided to go ahead and take a shot at writing a M2 Macker plugin. I'm not really a user of Macker as of now so I'll need some help/info from real Macker users to improve it, but in my limited testing, it works very well, and there are some useful configuration options exposed in the pom just like the Ant version of the tool. Here is the website for the Macker tool itself: http://innig.net/macker/ According to the site, "Macker is a Java developers' utility which checks classes against user-defined structural rules." Here is sample output from running the plugin with a simple ruleset against the simple project created by archetype: [INFO] [macker:macker {execution: default}] (Checking ruleset: Testing rules ...) And here is sample output for when a Macker rule is broken (it fails the build): (Checking ruleset: Testing rules ...) System out is bad Illegal reference from org.codehaus.mojo.App to java.lang.System (1 error) [INFO] ------------------------------------------- [ERROR] BUILD ERROR [INFO] ------------------------------------------- [INFO] Exception during Macker execution. Embedded error: Macker rules checking failed The Macker tool jars are already in the Central repo, so you can easily add this plugin to your project by building it from source and including a minimal configuration. I will document this better after putting the plugin in the sandbox. Thanks! Wayne --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
