Skip to content
Maven Mojo providing conditional validation.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

conditional-validation

A simple example of a Maven Mojo providing conditional validation. The conditions are statically defined in the configuration pom.xml

Status

Build Status License Maven Central

Maven Generated site

Usage

Operators : And, Not, Or, Xor

Condition : FileCondition

Examples

  • File condition
<condition>
	<exist>README.md</exist>
</condition>
  • And Operator
<condition>
	<and>
		<exist>README.md</exist>
		<exist>LICENSE</exist>						
	</and>
</condition>

Release on maven central

mvn release:clean release:prepare 

followed by

mvn release:perform
You can’t perform that action at this time.