mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 09:54:02 +01:00
08c21fa5e9
The goal is to offload the back from everything connection-related: - incoming connections - outgoing connections - gossip queries + pings - incoming gossip aggregation - outgoing gossip dispatch (rebroadcast) Co-authored-by: Bastien Teinturier <31281497+t-bast@users.noreply.github.com>
280 lines
10 KiB
XML
280 lines
10 KiB
XML
<!--
|
|
~ 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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>fr.acinq.eclair</groupId>
|
|
<artifactId>eclair_2.13</artifactId>
|
|
<version>0.4.3-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>eclair-core</module>
|
|
<module>eclair-front</module>
|
|
<module>eclair-node</module>
|
|
<module>eclair-node-gui</module>
|
|
</modules>
|
|
|
|
<description>A scala implementation of the Lightning Network</description>
|
|
<url>https://github.com/ACINQ/eclair</url>
|
|
<name>${project.artifactId}</name>
|
|
|
|
<licenses>
|
|
<license>
|
|
<url>https://raw.githubusercontent.com/ACINQ/eclair/master/LICENSE</url>
|
|
<name>Apache License</name>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:ACINQ/eclair.git</connection>
|
|
<developerConnection>scm:git:git@github.com:ACINQ/eclair.git</developerConnection>
|
|
<url>git@github.com:ACINQ/eclair.git</url>
|
|
</scm>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>dpad85</id>
|
|
</developer>
|
|
<developer>
|
|
<id>pm47</id>
|
|
</developer>
|
|
<developer>
|
|
<id>sstone</id>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<project.build.outputTimestamp>2020-01-01T00:00:00Z</project.build.outputTimestamp>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<scala.version>2.13.3</scala.version>
|
|
<scala.version.short>2.13</scala.version.short>
|
|
<akka.version>2.6.10</akka.version>
|
|
<akka.http.version>10.2.0</akka.http.version>
|
|
<sttp.version>1.7.2</sttp.version>
|
|
<bitcoinlib.version>0.18</bitcoinlib.version>
|
|
<guava.version>24.0-android</guava.version>
|
|
<kamon.version>2.1.0</kamon.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<inherited>true</inherited>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>2.3</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>2.2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
<configuration>
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
<configuration>
|
|
<args combine.children="append">
|
|
<!--arg>-Xlint:deprecation</arg-->
|
|
<arg>-feature</arg>
|
|
<arg>-language:postfixOps</arg>
|
|
<arg>-language:implicitConversions</arg>
|
|
<!--arg>-Werror</arg-->
|
|
<arg>-unchecked</arg>
|
|
</args>
|
|
<jvmArgs>
|
|
<jvmArg>-Xmx1024m</jvmArg>
|
|
<jvmArg>-Xms1024m</jvmArg>
|
|
<jvmArg>-Xss32m</jvmArg>
|
|
</jvmArgs>
|
|
<scalaCompatVersion>${scala.version.short}</scalaCompatVersion>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>scalac</id>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>scaladoc</id>
|
|
<goals>
|
|
<goal>doc-jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<skip>${maven.test.skip}</skip>
|
|
<args>
|
|
<arg>-no-link-warnings</arg>
|
|
</args>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/scala</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>add-test-source</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>add-test-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/test/scala</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- disable surefire -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.20</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- enable scalatest -->
|
|
<plugin>
|
|
<groupId>org.scalatest</groupId>
|
|
<artifactId>scalatest-maven-plugin</artifactId>
|
|
<version>2.0.0</version>
|
|
<configuration>
|
|
<parallel>true</parallel>
|
|
<stdout>I</stdout>
|
|
<systemProperties>
|
|
<buildDirectory>${project.build.directory}</buildDirectory>
|
|
</systemProperties>
|
|
<argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>test</id>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.scoverage</groupId>
|
|
<artifactId>scoverage-maven-plugin</artifactId>
|
|
<version>1.4.1</version>
|
|
<configuration>
|
|
<skip>${maven.test.skip}</skip>
|
|
<scalaVersion>${scala.version}</scalaVersion>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>sonatype snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
<version>${scala.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scalatest</groupId>
|
|
<artifactId>scalatest_${scala.version.short}</artifactId>
|
|
<version>3.1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|