diff --git a/example/pom.xml b/example/pom.xml index 09bc124a..ad7e4f5d 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -45,6 +45,19 @@ + + org.apache.maven.plugins + maven-source-plugin + 3.2.0 + + + attach-sources + + jar + + + + org.apache.maven.plugins @@ -87,6 +100,31 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + com.facebook.thrift:com.facebook.thrift.* + + + + attach-javadocs + package + + jar + + + UTF-8 + UTF-8 + + -source 8 + -Xdoclint:none + + + + + diff --git a/nebula-algorithm/pom.xml b/nebula-algorithm/pom.xml index 611c7ffc..e2765e5e 100644 --- a/nebula-algorithm/pom.xml +++ b/nebula-algorithm/pom.xml @@ -181,9 +181,6 @@ org.apache.maven.plugins maven-javadoc-plugin 3.2.0 - - com.facebook.thrift:com.facebook.thrift.* - attach-javadocs diff --git a/nebula-exchange/src/main/scala/com/vesoft/nebula/exchange/config/Configs.scala b/nebula-exchange/src/main/scala/com/vesoft/nebula/exchange/config/Configs.scala index 27efc56e..2e52ac93 100644 --- a/nebula-exchange/src/main/scala/com/vesoft/nebula/exchange/config/Configs.scala +++ b/nebula-exchange/src/main/scala/com/vesoft/nebula/exchange/config/Configs.scala @@ -48,7 +48,7 @@ case class DataBaseConfigEntry(graphAddress: List[String], for (address <- metaAddresses) { require( !address.contains(",") && !address.contains(","), - "nebula.address.meta has wrong format,,please make sure the format is [\"ip1:port1\",\"ip2:port2\"]") + "nebula.address.meta has wrong format, please make sure the format is [\"ip1:port1\",\"ip2:port2\"]") } override def toString: String = super.toString diff --git a/nebula-spark-connector/pom.xml b/nebula-spark-connector/pom.xml index 0cfd9453..562305ad 100644 --- a/nebula-spark-connector/pom.xml +++ b/nebula-spark-connector/pom.xml @@ -69,6 +69,60 @@ + + org.scala-tools + maven-scala-plugin + 2.15.2 + + 2.11.12 + + -target:jvm-1.8 + + + -Xss4096K + + + + + scala-compile + + compile + + + + com/vesoft/tools/** + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + scala-test-compile + + testCompile + + + + com/vesoft/tools/** + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.0 + + + attach-sources + + jar + + + + org.apache.maven.plugins @@ -143,10 +197,29 @@ 3.2.2 + Scaladoc - compile - testCompile + doc + prepare-package + + + -nobootcp + -no-link-warnings + + + + + attach-javadocs + + doc-jar + + + + -nobootcp + -no-link-warnings + + @@ -178,9 +251,6 @@ org.apache.maven.plugins maven-javadoc-plugin 3.2.0 - - com.facebook.thrift:com.facebook.thrift.* - attach-javadocs