lint-maven-plugin 0.0.8 has been released, containing a bugfix, some new rules, and a few improvements.
Bugfixes:
https://github.com/lewisd32/lint-maven-plugin/issues/4
New rules (Thanks Lars):
MissingDeveloperInformationRule
MissingInceptionYearRule
MissingIssueManagementInformationRule
MissingLicenseRule
MissingUrlRule
Improvements:
Help mojo added (Thanks Lars)
Ability to specify rules to run from the command line (Thanks Lars)
eg. mvn com.lewisd:lint-maven-plugin:check -Dmaven-lint.rules=RedundantPluginVersion,RedundantDepVersion
Ability to specify in-pom rules to exclude or include.
eg. For propriatary projects, exclude all the OSS project related rules:
<plugin> <groupId>com.lewisd</groupId> <artifactId>lint-maven-plugin</artifactId> <version>0.0.8</version> <executions> <execution> <id>pom-lint</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> <configuration> <rules> <excludes> <exclude>OSS*</exclude> </excludes> </rules> </configuration> </plugin>