The faktorips-validation-maven-plugin can be used to validate a Faktor-IPS project in a maven build. It runs the same validations that are run by the Faktor-IPS plugin in an Eclipse workspace. Infos, warnings, and errors are logged like any other Maven output.
Call it on your project with mvn org.faktorips:faktorips-validation-maven-plugin:faktorips-validate
or include it in your POM:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.faktorips</groupId>
<artifactId>faktorips-validation-maven-plugin</artifactId>
<version>${faktorips-version}</version>
</plugin>
...
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.faktorips</groupId>
<artifactId>faktorips-validation-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>faktorips-validate</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
See here for configuration.