mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
147 lines
6.2 KiB
XML
147 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ This file is part of Bisq.
|
|
~
|
|
~ Bisq is free software: you can redistribute it and/or modify it
|
|
~ under the terms of the GNU Affero General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or (at
|
|
~ your option) any later version.
|
|
~
|
|
~ Bisq is distributed in the hope that it will be useful, but WITHOUT
|
|
~ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
|
|
~ License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Affero General Public License
|
|
~ along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<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">
|
|
<parent>
|
|
<artifactId>parent</artifactId>
|
|
<groupId>io.bisq</groupId>
|
|
<version>0.6.5</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>seednode</artifactId>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>${basedir}/src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.fxml</include>
|
|
<include>**/*.css</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<!-- Bouncycastle jars are signed and cannot be placed inside shaded jar.
|
|
we ship them beside our app in /lib -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-bouncycastle</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<stripVersion>true</stripVersion>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpg-jdk15on</artifactId>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>org.bouncycastle:*:*:*</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<!-- broken with Java 8 (MSHADE-174), using ProGuard instead. -->
|
|
<minimizeJar>false</minimizeJar>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<manifestEntries>
|
|
<Main-Class>io.bisq.seednode.SeedNodeMain</Main-Class>
|
|
<!-- the specified bouncy castle jar classes -->
|
|
<Class-Path>lib/bcpg-jdk15on.jar lib/bcprov-jdk15on.jar</Class-Path>
|
|
</manifestEntries>
|
|
</transformer>
|
|
</transformers>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<filters>
|
|
<filter>
|
|
<!-- exclude signatures, the bundling process breaks them for some reason -->
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/maven/**/pom.properties</exclude>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<shadedClassifierName>bundled</shadedClassifierName>
|
|
<finalName>SeedNode</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.bisq</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|