Update pom and travis build
This commit is contained in:
parent
5dfa2b85bc
commit
0bca5ee0a2
10
.travis.yml
10
.travis.yml
@ -13,16 +13,16 @@ matrix:
|
||||
jdk: oraclejdk9
|
||||
- env: JDK='OpenJDK 10'
|
||||
install: . ./install-jdk.sh -F 10 -L GPL
|
||||
- env: JDK='OracleJDK 10'
|
||||
install: . ./install-jdk.sh -F 10 -L BCL
|
||||
- env: JDK='OpenJDK 11'
|
||||
install: . ./install-jdk.sh -F 11 -L GPL
|
||||
- env: JDK='OracleJDK 11'
|
||||
install: . ./install-jdk.sh -F 11 -L BCL
|
||||
- env: JDK='OpenJDK 12'
|
||||
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
|
||||
|
||||
after_success:
|
||||
- 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
|
||||
|
@ -6,7 +6,6 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.moparisthebest.dns</groupId>
|
||||
<artifactId>jDnsProxy</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
25
pom.xml
25
pom.xml
@ -39,7 +39,10 @@
|
||||
</license>
|
||||
</licenses>
|
||||
<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>
|
||||
<pushChanges>false</pushChanges>
|
||||
<localCheckout>true</localCheckout>
|
||||
@ -52,11 +55,12 @@
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<version>3.8.0</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<debug>true</debug>
|
||||
<compilerArgs>
|
||||
<compilerArg>-Xlint:all</compilerArg>
|
||||
<compilerArg>-Werror</compilerArg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@ -110,15 +114,4 @@
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>run-tests</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>maven.test.skip</name>
|
||||
<value>false</value>
|
||||
</property>
|
||||
</activation>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user