Skip to content

Commit

Permalink
add package plugin (#13)
Browse files Browse the repository at this point in the history
* add package plugin

* add package plugin
  • Loading branch information
Nicole00 committed Nov 1, 2021
1 parent 777b5c5 commit cfe8ffc
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions nebula-spark-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,61 @@
</executions>
</plugin>

<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<configuration>
<scalaVersion>2.11.12</scalaVersion>
<args>
<arg>-target:jvm-1.8</arg>
</args>
<jvmArgs>
<jvmArg>-Xss4096K</jvmArg>
</jvmArgs>
</configuration>
<executions>
<execution>
<id>scala-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<excludes>
<exclude>com/vesoft/tools/**</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>scala-test-compile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<excludes>
com/vesoft/tools/**
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- scala-maven -->
<plugin>
<groupId>net.alchim31.maven</groupId>
Expand All @@ -149,6 +204,31 @@
<goal>testCompile</goal>
</goals>
</execution>
<execution>
<id>Scaladoc</id>
<goals>
<goal>doc</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<args>
<arg>-nobootcp</arg>
<arg>-no-link-warnings</arg>
</args>
</configuration>
</execution>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>doc-jar</goal>
</goals>
<configuration>
<args>
<arg>-nobootcp</arg>
<arg>-no-link-warnings</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down

0 comments on commit cfe8ffc

Please sign in to comment.