153 lines
6.5 KiB
XML
153 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ The contents of this file are subject to the Mozilla Public License Version 1.1
|
|
~ (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.mozilla.org/MPL/
|
|
~ Software distributed under the License is distributed on an "AS IS" basis,
|
|
~ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
|
|
~ specific language governing rights and limitations under the License.
|
|
~
|
|
~ Copyright (c) 2018 Travis Burtrum.
|
|
~
|
|
~ Alternatively, the contents of this file may be used under the terms of the
|
|
~ GNU General Public License (the "GPL"), in which case the provisions of the GPL are
|
|
~ applicable instead of those above. If you wish to allow use of your version of this
|
|
~ file only under the terms of the GPL and not to allow others to use your version
|
|
~ of this file under the MPL, indicate your decision by deleting the provisions above
|
|
~ and replace them with the notice and other provisions required by the GPL License.
|
|
~ If you do not delete the provisions above, a recipient may use your version of
|
|
~ this file under either the MPL or the GPL.
|
|
-->
|
|
<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">
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>9</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.moparisthebest.dns</groupId>
|
|
<artifactId>jDnsProxy</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>${project.artifactId}</name>
|
|
<description>
|
|
DNS Proxy.
|
|
</description>
|
|
<url>https://github.com/moparisthebest/jDnsProxy</url>
|
|
<organization>
|
|
<name>moparisthebest.com</name>
|
|
<url>https://www.moparisthebest.com</url>
|
|
</organization>
|
|
<developers>
|
|
<developer>
|
|
<id>moparisthebest</id>
|
|
<name>Travis Burtrum</name>
|
|
<email>admin@moparisthebest.com</email>
|
|
<url>https://www.moparisthebest.com/</url>
|
|
</developer>
|
|
</developers>
|
|
<scm>
|
|
<connection>scm:git:https://github.com/moparisthebest/jDnsProxy.git</connection>
|
|
<developerConnection>scm:git:https://github.com/moparisthebest/jDnsProxy.git</developerConnection>
|
|
<url>https://github.com/moparisthebest/jDnsProxy</url>
|
|
</scm>
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License, Version 3</name>
|
|
<url>https://www.gnu.org/licenses/gpl-3.0.html</url>
|
|
</license>
|
|
</licenses>
|
|
<properties>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<pushChanges>false</pushChanges>
|
|
<localCheckout>true</localCheckout>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>eu.geekplace.javapinning</groupId>
|
|
<artifactId>java-pinning-java7</artifactId>
|
|
<version>1.1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<debug>true</debug>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.2</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>com.moparisthebest.dns.DnsProxy</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>run-tests</id>
|
|
<activation>
|
|
<property>
|
|
<name>maven.test.skip</name>
|
|
<value>false</value>
|
|
</property>
|
|
</activation>
|
|
</profile>
|
|
</profiles>
|
|
</project> |