Skip to content

Commit

Permalink
Add commons-loggins as direct dependencies because of github issue #903
Browse files Browse the repository at this point in the history
… where class org.apache.logging.log4j.spi.LoggerAdapter seems not be available in pipeline execution
  • Loading branch information
nfalco79 committed Nov 18, 2024
1 parent 0bf5661 commit 13a6ba2
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.88</version>
<version>5.3</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -149,6 +149,13 @@
<artifactId>scribejava-httpclient-apache</artifactId>
<version>8.3.3</version>
</dependency>
<dependency>
<!-- https://github.com/jenkinsci/bitbucket-branch-source-plugin/issues/903
remove when https://github.com/jenkinsci/plugin-pom/issues/676 will be resoved -->
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>

<repositories>
Expand Down Expand Up @@ -179,6 +186,25 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<!-- https://github.com/jenkinsci/bitbucket-branch-source-plugin/issues/903
remove when https://github.com/jenkinsci/plugin-pom/issues/676 will be resoved -->
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>display-info</id>
<configuration>
<rules>
<bannedDependencies>
<includes>
<include>commons-logging:commons-logging:*:jar:compile</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down

0 comments on commit 13a6ba2

Please sign in to comment.