Released: lint-maven-plugin 0.0.8

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>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s