Skip to content

Commit

Permalink
fix: add back deploy plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuzhou Qin committed Feb 15, 2020
1 parent 427608a commit acbae3c
Showing 1 changed file with 19 additions and 36 deletions.
55 changes: 19 additions & 36 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,12 @@
<version>${spark.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${scala.compat.version}</artifactId>
<version>${spark.version}</version>
<scope>provided</scope>
</dependency>

<!-- HADOOP AWS SUPPORT -->
<dependency>
<groupId>org.apache.hadoop</groupId>
Expand All @@ -123,7 +121,6 @@
<version>2.9.2</version>
<scope>provided</scope>
</dependency>

<!-- CONNECTORS -->
<dependency>
<groupId>com.datastax.spark</groupId>
Expand All @@ -140,14 +137,12 @@
<artifactId>spark-dynamodb_${scala.compat.version}</artifactId>
<version>1.0.1</version>
</dependency>

<!-- TYPESAFE CONFIG -->
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
<version>1.4.0</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>org.scalatest</groupId>
Expand All @@ -161,7 +156,6 @@
<version>42.2.9</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand All @@ -181,7 +175,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
Expand Down Expand Up @@ -222,13 +215,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -246,7 +237,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -255,7 +245,6 @@
<skipTests>true</skipTests>
</configuration>
</plugin>

<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
Expand All @@ -276,7 +265,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand All @@ -285,6 +273,25 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.scoverage</groupId>
<artifactId>scoverage-maven-plugin</artifactId>
Expand All @@ -295,7 +302,6 @@
<!-- other parameters -->
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand All @@ -304,7 +310,6 @@
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
Expand Down Expand Up @@ -345,15 +350,13 @@
<spark.compat.version>2.4</spark.compat.version>
</properties>
</profile>

<profile>
<id>spark_2.3</id>
<properties>
<spark.version>2.3.4</spark.version>
<spark.compat.version>2.3</spark.compat.version>
</properties>
</profile>

<profile>
<id>snapshot</id>
<properties>
Expand All @@ -366,33 +369,13 @@
</snapshotRepository>
</distributionManagement>
</profile>

<profile>
<id>release</id>
<properties>
<changelist></changelist>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down

0 comments on commit acbae3c

Please sign in to comment.