Skip to content

Commit 6b408ea

Browse files
unlimitedsolabinarywang
authored andcommitted
binarywang#442 优化 pom.xml 文件
Signed-off-by: Sola <dev@sola.love>
1 parent 18689eb commit 6b408ea

2 files changed

Lines changed: 4 additions & 28 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ language: java
88

99
jdk:
1010
- oraclejdk8
11-
script: "mvn clean package -Dmaven.test.skip=true"
12-
11+
script: "./mvnw clean package -DskipTests=true"
12+
1313
#script:
1414
# - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
15-
15+
1616
branches:
1717
only:
1818
- develop
19-
19+
2020
cache:
2121
directories:
2222
- '$HOME/.m2/repository'

pom.xml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@
108108
<maven.compiler.target>1.7</maven.compiler.target>
109109

110110
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
111-
<downloadJavadocs>true</downloadJavadocs>
112-
<downloadSources>true</downloadSources>
113111
<httpclient.version>4.5</httpclient.version>
114112
<jetty.version>9.3.0.RC0</jetty.version>
115113
</properties>
@@ -324,19 +322,6 @@
324322
</profiles>
325323

326324
<build>
327-
<pluginManagement>
328-
<plugins>
329-
<plugin>
330-
<groupId>org.apache.maven.plugins</groupId>
331-
<artifactId>maven-surefire-plugin</artifactId>
332-
<version>2.17</version>
333-
<configuration>
334-
<skip>true</skip>
335-
</configuration>
336-
</plugin>
337-
</plugins>
338-
</pluginManagement>
339-
340325
<plugins>
341326
<plugin>
342327
<groupId>org.sonatype.plugins</groupId>
@@ -360,15 +345,6 @@
360345
<goals>deploy</goals>
361346
</configuration>
362347
</plugin>
363-
<plugin>
364-
<groupId>org.apache.maven.plugins</groupId>
365-
<artifactId>maven-compiler-plugin</artifactId>
366-
<version>3.6.0</version>
367-
<configuration>
368-
<encoding>UTF-8</encoding>
369-
</configuration>
370-
</plugin>
371-
372348
<plugin>
373349
<groupId>org.apache.maven.plugins</groupId>
374350
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)