diff options
-rw-r--r-- | example/pom.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/example/pom.xml b/example/pom.xml new file mode 100644 index 0000000..1665b33 --- /dev/null +++ b/example/pom.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.semver</groupId> + <artifactId>example</artifactId> + <version>0.1.1-SNAPSHOT</version> + + <build> + <plugins> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.0.1</version> + <dependencies> + <dependency> + <groupId>org.semver</groupId> + <artifactId>enforcer-rule</artifactId> + <version>0.9.17</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>check</id> + <phase>verify</phase> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireBackwardCompatibility implementation="org.semver.enforcer.RequireBackwardCompatibility"> + <compatibilityType>BACKWARD_COMPATIBLE_IMPLEMENTER</compatibilityType> + </requireBackwardCompatibility> + </rules> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> |