Remove git-forensics dependency, add it as integration test dependency.
<version>${token-macro.version}</version>
<optional>true</optional>
</dependency>
- <dependency>
- <groupId>io.jenkins.plugins</groupId>
- <artifactId>git-forensics</artifactId>
- <version>${git-forensics-plugin.version}</version>
- <optional>true</optional>
- </dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>forensics-api</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>io.jenkins.plugins</groupId>
+ <artifactId>git-forensics</artifactId>
+ <version>${git-forensics-plugin.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
