Browse Source

#442 优化 pom.xml 文件

Signed-off-by: Sola <dev@sola.love>
master
Sola 7 years ago
committed by Binary Wang
parent
commit
6b408eabf2
2 changed files with 4 additions and 28 deletions
  1. +4
    -4
      .travis.yml
  2. +0
    -24
      pom.xml

+ 4
- 4
.travis.yml View File

@@ -8,15 +8,15 @@ language: java

jdk:
- oraclejdk8
script: "mvn clean package -Dmaven.test.skip=true"
script: "./mvnw clean package -DskipTests=true"
#script:
# - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
branches:
only:
- develop
cache:
directories:
- '$HOME/.m2/repository'


+ 0
- 24
pom.xml View File

@@ -108,8 +108,6 @@
<maven.compiler.target>1.7</maven.compiler.target>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<downloadJavadocs>true</downloadJavadocs>
<downloadSources>true</downloadSources>
<httpclient.version>4.5</httpclient.version>
<jetty.version>9.3.0.RC0</jetty.version>
</properties>
@@ -324,19 +322,6 @@
</profiles>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
@@ -360,15 +345,6 @@
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>


Loading…
Cancel
Save