Essential tool designed to help you merge HostLists of different types with structure recognition, records recover rules and git support, cli version.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

102 lines
3.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.hostliststools.cli</groupId>
<artifactId>hostliststools-cli</artifactId>
<name>hostliststools-cli</name>
<version>0.2.1</version>
<description>CLI version of hostliststools to manage hostlists (for pihole/adguard/dnscrypt-proxy)</description>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>${mavenShadePlugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer>
<manifestEntries>
<Main-Class>org.hostliststools.cli.app.BaseApp</Main-Class>
<Build-Number>1.0</Build-Number>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<release>11</release>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.graalvm.nativeimage</groupId>
<artifactId>native-image-maven-plugin</artifactId>
<version>${graalvm.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>native-image</goal>
</goals>
</execution>
</executions>
<configuration>
<imageName>htcli</imageName>
<mainClass>org.hostliststools.cli.app.BaseApp</mainClass>
<skip>false</skip>
<buildArgs>
<buildArg>-H:EnableURLProtocols=http,https</buildArg>
<buildArg>--allow-incomplete-classpath</buildArg>
<buildArg>--no-fallback</buildArg>
<buildArg>--verbose</buildArg>
</buildArgs>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>graal-sdk</artifactId>
<version>21.2.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<mvndep.version>3.1.2</mvndep.version>
<commonslang3.version>3.11</commonslang3.version>
<commonscli.version>1.4</commonscli.version>
<maven.compiler.source>11</maven.compiler.source>
<graalvm.version>21.2.0</graalvm.version>
<tongfeiprogressbar.version>0.9.0</tongfeiprogressbar.version>
<maven.compiler.target>11</maven.compiler.target>
<mvnjar.version>3.2.0</mvnjar.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commonsio.version>2.8.0</commonsio.version>
<mavenShadePlugin.version>3.2.4</mavenShadePlugin.version>
<htmlunit.version>2.50.0</htmlunit.version>
</properties>
</project>