You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/07/23 16:41:55 UTC
[incubator-iotdb] 03/03: fix some maven warn;
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch improve_maven
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 74c68753408dc9a4df33032fe7139420a076f1af
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Fri Jul 24 00:41:12 2020 +0800
fix some maven warn;
---
Jenkinsfile | 1 +
pom.xml | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 1571ad8..6bea5df 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -82,6 +82,7 @@ pipeline {
}
steps {
echo 'Building'
+ sh 'mvn clean'
// We'll deploy to a relative directory so we can
// deploy new versions only if the entrie build succeeds
sh 'mvn ${MVN_TEST_FAIL_IGNORE} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
diff --git a/pom.xml b/pom.xml
index 04414a5..da3ced1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,6 +101,13 @@
<artifactId>airline</artifactId>
<version>${airline.version}</version>
</dependency>
+ <!-- many dependencies (hadoop, spark, hive, flink) use findbugs but with different version...-->
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <!-- spark uses the lastest version than hive, flink and hadoop-->
+ <version>3.0.2</version>
+ </dependency>
</dependencies>
</dependencyManagement>
<dependencies>