Fork me on GitHub

The faktorips-maven-plugin can be used to build a Faktor-IPS project in a maven build.

It requires Java 17 to run. Other JDKs may be used in the project(s) beeing built, see “Using a different JDK”.

If you use Eclipse for development, we recommend configuring the same version for use in this plugin, to avoid discrepancies in code formatter settings, see “Repositories and additional plugins”.

See here for configuration.

Include

        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.faktorips</groupId>
                    <artifactId>faktorips-maven-plugin</artifactId>
                    <version>${faktorips-version}</version>
                </plugin>
                ...
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.faktorips</groupId>
                <artifactId>faktorips-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>faktorips-clean</goal>
                            <goal>faktorips-build</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            ...
        </plugins>

in your pom to use it.