Skip to content
33 changes: 27 additions & 6 deletions log4j-layout-template-json-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<sign.skip>true</sign.skip>

<!--
~ OSGi and JPMS options
-->
~ OSGi and JPMS options
-->
<bnd-module-name>org.apache.logging.log4j.layout.template.json.test</bnd-module-name>
<Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>

Expand All @@ -49,7 +49,7 @@
2. The Docker image version of the ELK-stack

As of 2024-09-16, these all (Maven artifacts and Elastic products) get released with the same version. -->
<elastic.version>8.17.3</elastic.version>
<elastic.version>9.1.5</elastic.version>

</properties>

Expand Down Expand Up @@ -97,6 +97,13 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>${elastic.version}</version>
<scope>test</scope>
</dependency>

<!-- Needed by elasticsearch-java for testing -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand All @@ -105,6 +112,13 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson2.test.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.google.code.java-allocation-instrumenter</groupId>
<artifactId>java-allocation-instrumenter</artifactId>
Expand All @@ -123,6 +137,13 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>co.elastic.logging</groupId>
<artifactId>log4j2-ecs-layout</artifactId>
<version>1.7.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down Expand Up @@ -153,8 +174,8 @@
<id>docker</id>

<!--
~ Only the `ubuntu` CI runners have access to Docker
-->
~ Only the `ubuntu` CI runners have access to Docker
-->
<activation>
<os>
<family>linux</family>
Expand All @@ -172,7 +193,7 @@
<docker.verbose>false</docker.verbose>

<!-- `docker run elasticsearch:<TAG>` exists with code 137 due to insufficient memory.
We limit the used JVM memory to avoid this OOM failure. -->
We limit the used JVM memory to avoid this OOM failure. -->
<elastic.javaOpts>-Xms750m -Xmx750m</elastic.javaOpts>

</properties>
Expand Down