Skip to content

Commit

Permalink
Workaround Issue apache/logging-log4j2#2929
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Sep 15, 2024
1 parent aee0932 commit 0c4d8cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,15 @@ along with aoserv-jilter. If not, see <https://www.gnu.org/licenses/>.

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<!-- TODO: Workaround Issue #2929 https://github.com/apache/logging-log4j2/issues/2929 in log4j-1.2-api-2.24.0 -->
<dependency>org.jspecify:jspecify</dependency>
</usedDependencies>
</configuration>
</plugin>
<!-- Java 1.8: see https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html -->
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -318,6 +327,10 @@ along with aoserv-jilter. If not, see <https://www.gnu.org/licenses/>.
<!-- Installed with mvn install:install-file -Dfile=jilter-1.2.jar -DgroupId=com.sendmail -DartifactId=jilter -Dversion=1.2 -Dpackaging=jar -DlocalRepositoryPath=repository -->
<groupId>com.sendmail</groupId><artifactId>jilter</artifactId><version>1.2</version>
</dependency>
<dependency>
<!-- TODO: Workaround Issue #2929 https://github.com/apache/logging-log4j2/issues/2929 in log4j-1.2-api-2.24.0 -->
<groupId>org.jspecify</groupId><artifactId>jspecify</artifactId><version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId><artifactId>log4j-1.2-api</artifactId><version>2.24.0</version>
</dependency>
Expand Down Expand Up @@ -358,6 +371,11 @@ along with aoserv-jilter. If not, see <https://www.gnu.org/licenses/>.
<dependency>
<groupId>com.sendmail</groupId><artifactId>jilter</artifactId>
</dependency>
<dependency>
<!-- TODO: Workaround Issue #2929 https://github.com/apache/logging-log4j2/issues/2929 in log4j-1.2-api-2.24.0 -->
<groupId>org.jspecify</groupId><artifactId>jspecify</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<!-- log4j 1.2 API is required by com.sendmail:jilter -->
<groupId>org.apache.logging.log4j</groupId><artifactId>log4j-1.2-api</artifactId>
Expand Down

0 comments on commit 0c4d8cb

Please sign in to comment.