Move assertion-generation to pluginManagement.
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
- <version>2.2.2</version>
+ <version>2.3.0</version>
<relativePath />
</parent>
<eclipse-collections.version>9.2.0</eclipse-collections.version>
<j2html.version>1.4.0</j2html.version>
- <bridge-method-annotation.version>1.18</bridge-method-annotation.version>
<json.version>20190722</json.version>
<jackson-databind.version>2.9.10.3</jackson-databind.version>
<build>
<plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${java.level}</source>
- <target>${java.level}</target>
- <testSource>${java.level}</testSource>
- <testTarget>${java.level}</testTarget>
- <compilerArgs>
- <arg>-Xlint:all</arg>
- </compilerArgs>
- </configuration>
- </plugin>
<plugin>
<groupId>org.assertj</groupId>
<artifactId>assertj-assertions-generator-maven-plugin</artifactId>
<configuration>
- <packages combine.children="append">
+ <packages>
<package>io.jenkins.plugins.analysis.core.scm</package>
<package>io.jenkins.plugins.analysis.core.model</package>
<package>io.jenkins.plugins.analysis.core.util</package>
<excludes combine.children="append">
<exclude>.*Thresholds</exclude>
</excludes>
- <quiet>true</quiet>
<entryPointClassPackage>io.jenkins.plugins.analysis.core.assertions</entryPointClassPackage>
</configuration>
</plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
- <oldVersion>7.2.2</oldVersion>
<failBuildOnProblemsFound>true</failBuildOnProblemsFound>
<!-- Including provided-scope dependencies like Jenkins core results in too many false positives -->
<checkDependencies>false</checkDependencies>
