mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-13 11:35:47 +01:00
* Update kamon and kanela-agent Previous version was not compatible with JDK21, see https://github.com/kamon-io/kanela/issues/150. * Add and configure maven wrapper to use maven 3.9.9 This will make it easier to control which version of maven is used to build eclair, which in turns makes deterministic builds easier, as well as using recent compiler options (to target newer JDKs for example). For example, even recent versions of Github runner images use an old version of maven and there is no easy way to upgrade. * Update Dockerfile We now use multiarch (amd64/arm64) base images. * Run CI tests with JDK21 * Update doc to recommend Adoptium OpenJDK21 * Target Java 21 Eclair now targets Java 21 and will require a compatible Java Runtime Environment. It will no longer work on JRE 11 and JRE 17.
160 lines
6.2 KiB
XML
160 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2019 ACINQ SAS
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>fr.acinq.eclair</groupId>
|
|
<artifactId>eclair_2.13</artifactId>
|
|
<version>0.11.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>eclair-node_2.13</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>eclair-node</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<!-- we hide the git commit in the Specification-Version standard field-->
|
|
<Specification-Version>${git.commit.id}</Specification-Version>
|
|
<Url>${project.parent.url}</Url>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<configuration>
|
|
<finalName>${project.name}-${project.version}-${git.commit.id.abbrev}</finalName>
|
|
<descriptors>
|
|
<descriptor>modules/assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>fr.acinq.eclair</groupId>
|
|
<artifactId>eclair-core_${scala.version.short}</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- logging -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.2.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!--conditional logging -->
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>janino</artifactId>
|
|
<version>3.1.10</version>
|
|
</dependency>
|
|
<!-- http server -->
|
|
<dependency>
|
|
<groupId>com.typesafe.akka</groupId>
|
|
<artifactId>akka-http-core_${scala.version.short}</artifactId>
|
|
<version>${akka.http.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.typesafe.akka</groupId>
|
|
<artifactId>akka-stream_${scala.version.short}</artifactId>
|
|
<version>${akka.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.heikoseeberger</groupId>
|
|
<artifactId>akka-http-json4s_${scala.version.short}</artifactId>
|
|
<version>1.39.2</version>
|
|
</dependency>
|
|
<!-- metrics -->
|
|
<dependency>
|
|
<groupId>io.kamon</groupId>
|
|
<artifactId>kamon-apm-reporter_${scala.version.short}</artifactId>
|
|
<version>${kamon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.kamon</groupId>
|
|
<artifactId>kamon-system-metrics_${scala.version.short}</artifactId>
|
|
<version>${kamon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.kamon</groupId>
|
|
<artifactId>kamon-jdbc_${scala.version.short}</artifactId>
|
|
<version>${kamon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.kamon</groupId>
|
|
<artifactId>kamon-prometheus_${scala.version.short}</artifactId>
|
|
<version>${kamon.version}</version>
|
|
<!-- depends on a old version of okhttp that depends on kotlin 1.6, which conflicts with kotlin 1.9 -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- test dependencies -->
|
|
<dependency>
|
|
<groupId>com.typesafe.akka</groupId>
|
|
<artifactId>akka-http-testkit_${scala.version.short}</artifactId>
|
|
<version>${akka.http.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.typesafe.akka</groupId>
|
|
<artifactId>akka-stream-testkit_${scala.version.short}</artifactId>
|
|
<version>${akka.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-scala-scalatest_${scala.version.short}</artifactId>
|
|
<version>1.17.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- agents -->
|
|
<dependency>
|
|
<groupId>io.kamon</groupId>
|
|
<artifactId>kanela-agent</artifactId>
|
|
<version>${kanela-agent.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|