Skip to content

Commit acbae3c

Browse files
author
Xuzhou Qin
committed
fix: add back deploy plugin
1 parent 427608a commit acbae3c

File tree

1 file changed

+19
-36
lines changed

1 file changed

+19
-36
lines changed

pom.xml

Lines changed: 19 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,12 @@
102102
<version>${spark.version}</version>
103103
<scope>provided</scope>
104104
</dependency>
105-
106105
<dependency>
107106
<groupId>org.apache.spark</groupId>
108107
<artifactId>spark-hive_${scala.compat.version}</artifactId>
109108
<version>${spark.version}</version>
110109
<scope>provided</scope>
111110
</dependency>
112-
113111
<!-- HADOOP AWS SUPPORT -->
114112
<dependency>
115113
<groupId>org.apache.hadoop</groupId>
@@ -123,7 +121,6 @@
123121
<version>2.9.2</version>
124122
<scope>provided</scope>
125123
</dependency>
126-
127124
<!-- CONNECTORS -->
128125
<dependency>
129126
<groupId>com.datastax.spark</groupId>
@@ -140,14 +137,12 @@
140137
<artifactId>spark-dynamodb_${scala.compat.version}</artifactId>
141138
<version>1.0.1</version>
142139
</dependency>
143-
144140
<!-- TYPESAFE CONFIG -->
145141
<dependency>
146142
<groupId>com.typesafe</groupId>
147143
<artifactId>config</artifactId>
148144
<version>1.4.0</version>
149145
</dependency>
150-
151146
<!-- Test -->
152147
<dependency>
153148
<groupId>org.scalatest</groupId>
@@ -161,7 +156,6 @@
161156
<version>42.2.9</version>
162157
<scope>test</scope>
163158
</dependency>
164-
165159
</dependencies>
166160

167161
<build>
@@ -181,7 +175,6 @@
181175
</execution>
182176
</executions>
183177
</plugin>
184-
185178
<plugin>
186179
<groupId>net.alchim31.maven</groupId>
187180
<artifactId>scala-maven-plugin</artifactId>
@@ -222,13 +215,11 @@
222215
</execution>
223216
</executions>
224217
</plugin>
225-
226218
<plugin>
227219
<groupId>org.apache.maven.plugins</groupId>
228220
<artifactId>maven-javadoc-plugin</artifactId>
229221
<version>3.0.1</version>
230222
</plugin>
231-
232223
<plugin>
233224
<groupId>org.apache.maven.plugins</groupId>
234225
<artifactId>maven-source-plugin</artifactId>
@@ -246,7 +237,6 @@
246237
</execution>
247238
</executions>
248239
</plugin>
249-
250240
<plugin>
251241
<groupId>org.apache.maven.plugins</groupId>
252242
<artifactId>maven-surefire-plugin</artifactId>
@@ -255,7 +245,6 @@
255245
<skipTests>true</skipTests>
256246
</configuration>
257247
</plugin>
258-
259248
<plugin>
260249
<groupId>org.scalatest</groupId>
261250
<artifactId>scalatest-maven-plugin</artifactId>
@@ -276,7 +265,6 @@
276265
</execution>
277266
</executions>
278267
</plugin>
279-
280268
<plugin>
281269
<groupId>org.apache.maven.plugins</groupId>
282270
<artifactId>maven-deploy-plugin</artifactId>
@@ -285,6 +273,25 @@
285273
<skip>true</skip>
286274
</configuration>
287275
</plugin>
276+
<plugin>
277+
<groupId>org.sonatype.plugins</groupId>
278+
<artifactId>nexus-staging-maven-plugin</artifactId>
279+
<version>1.6.8</version>
280+
<executions>
281+
<execution>
282+
<id>default-deploy</id>
283+
<phase>deploy</phase>
284+
<goals>
285+
<goal>deploy</goal>
286+
</goals>
287+
</execution>
288+
</executions>
289+
<configuration>
290+
<serverId>ossrh</serverId>
291+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
292+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
293+
</configuration>
294+
</plugin>
288295
<plugin>
289296
<groupId>org.scoverage</groupId>
290297
<artifactId>scoverage-maven-plugin</artifactId>
@@ -295,7 +302,6 @@
295302
<!-- other parameters -->
296303
</configuration>
297304
</plugin>
298-
299305
<plugin>
300306
<groupId>org.apache.maven.plugins</groupId>
301307
<artifactId>maven-site-plugin</artifactId>
@@ -304,7 +310,6 @@
304310
<skip>true</skip>
305311
</configuration>
306312
</plugin>
307-
308313
<plugin>
309314
<groupId>org.apache.maven.plugins</groupId>
310315
<artifactId>maven-help-plugin</artifactId>
@@ -345,15 +350,13 @@
345350
<spark.compat.version>2.4</spark.compat.version>
346351
</properties>
347352
</profile>
348-
349353
<profile>
350354
<id>spark_2.3</id>
351355
<properties>
352356
<spark.version>2.3.4</spark.version>
353357
<spark.compat.version>2.3</spark.compat.version>
354358
</properties>
355359
</profile>
356-
357360
<profile>
358361
<id>snapshot</id>
359362
<properties>
@@ -366,33 +369,13 @@
366369
</snapshotRepository>
367370
</distributionManagement>
368371
</profile>
369-
370372
<profile>
371373
<id>release</id>
372374
<properties>
373375
<changelist></changelist>
374376
</properties>
375377
<build>
376378
<plugins>
377-
<plugin>
378-
<groupId>org.sonatype.plugins</groupId>
379-
<artifactId>nexus-staging-maven-plugin</artifactId>
380-
<version>1.6.8</version>
381-
<executions>
382-
<execution>
383-
<id>default-deploy</id>
384-
<phase>deploy</phase>
385-
<goals>
386-
<goal>deploy</goal>
387-
</goals>
388-
</execution>
389-
</executions>
390-
<configuration>
391-
<serverId>ossrh</serverId>
392-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
393-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
394-
</configuration>
395-
</plugin>
396379
<plugin>
397380
<groupId>org.apache.maven.plugins</groupId>
398381
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)