Update pom and travis build

This commit is contained in:
Travis Burtrum 2019-03-12 22:27:08 -04:00
parent 5dfa2b85bc
commit 0bca5ee0a2
3 changed files with 14 additions and 22 deletions

View File

@ -13,16 +13,16 @@ matrix:
jdk: oraclejdk9 jdk: oraclejdk9
- env: JDK='OpenJDK 10' - env: JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -L GPL install: . ./install-jdk.sh -F 10 -L GPL
- env: JDK='OracleJDK 10'
install: . ./install-jdk.sh -F 10 -L BCL
- env: JDK='OpenJDK 11' - env: JDK='OpenJDK 11'
install: . ./install-jdk.sh -F 11 -L GPL install: . ./install-jdk.sh -F 11 -L GPL
- env: JDK='OracleJDK 11' - env: JDK='OpenJDK 12'
install: . ./install-jdk.sh -F 11 -L BCL install: . ./install-jdk.sh -F 12 -L GPL
- env: JDK='OpenJDK 13'
install: . ./install-jdk.sh -F 13 -L GPL
before_install: wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh before_install: wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
after_success: after_success:
- if [[ "${JDK}" == 'OpenJDK 8' ]]; then - if [[ "${JDK}" == 'OpenJDK 8' ]]; then
mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1; mvn deploy --settings .travis-settings.xml -Dmaven.test.skip=true -B || travis_terminate 1;
fi fi

View File

@ -6,7 +6,6 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.moparisthebest.dns</groupId>
<artifactId>jDnsProxy</artifactId> <artifactId>jDnsProxy</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>

25
pom.xml
View File

@ -39,7 +39,10 @@
</license> </license>
</licenses> </licenses>
<properties> <properties>
<maven.test.skip>true</maven.test.skip> <java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.test.skip>false</maven.test.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pushChanges>false</pushChanges> <pushChanges>false</pushChanges>
<localCheckout>true</localCheckout> <localCheckout>true</localCheckout>
@ -52,11 +55,12 @@
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>3.8.0</version>
<configuration> <configuration>
<source>1.8</source> <compilerArgs>
<target>1.8</target> <compilerArg>-Xlint:all</compilerArg>
<debug>true</debug> <compilerArg>-Werror</compilerArg>
</compilerArgs>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
@ -110,15 +114,4 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<profiles>
<profile>
<id>run-tests</id>
<activation>
<property>
<name>maven.test.skip</name>
<value>false</value>
</property>
</activation>
</profile>
</profiles>
</project> </project>