|
19 | 19 | <parent> |
20 | 20 | <groupId>org.apache</groupId> |
21 | 21 | <artifactId>apache</artifactId> |
22 | | - <version>18</version> |
| 22 | + <version>24</version> |
23 | 23 | </parent> |
24 | 24 |
|
25 | 25 | <groupId>io.streamnative.connectors</groupId> |
26 | | - <artifactId>pulsar-spark-connector_${scala.binary.version}</artifactId> |
27 | | - <version>2.4.6-SNAPSHOT</version> |
| 26 | + <artifactId>pulsar-spark-connector_2.12</artifactId> |
| 27 | + <version>3.1.1.1-SNAPSHOT</version> |
28 | 28 | <name>StreamNative :: Pulsar Spark Connector</name> |
29 | 29 | <url>https://pulsar.apache.org</url> |
30 | 30 | <inceptionYear>2019</inceptionYear> |
|
39 | 39 | <connection>scm:git:https://github.com/streamnative/pulsar-spark.git</connection> |
40 | 40 | <developerConnection>scm:git:https://github.com/streamnative/pulsar-spark.git</developerConnection> |
41 | 41 | <url>https://github.com/streamnative/pulsar-spark</url> |
42 | | - <tag>branch-2.4.0</tag> |
| 42 | + <tag>master</tag> |
43 | 43 | </scm> |
44 | 44 | <issueManagement> |
45 | 45 | <system>Github</system> |
|
52 | 52 | </developer> |
53 | 53 | </developers> |
54 | 54 | <properties> |
| 55 | + <project.build.outputTimestamp>1</project.build.outputTimestamp> |
55 | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
56 | 57 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
57 | 58 | <project.scm.id>snbot-github</project.scm.id> |
58 | 59 | <javac.target>1.8</javac.target> |
| 60 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 61 | + <maven.compiler.target>1.8</maven.compiler.target> |
59 | 62 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
60 | 63 | <testRetryCount>2</testRetryCount> |
61 | 64 |
|
62 | 65 | <!-- dependencies --> |
63 | 66 | <!-- latest version from apache pulsar master --> |
64 | 67 | <pulsar.version>2.4.2</pulsar.version> |
65 | | - <scala.version>2.11.12</scala.version> |
66 | | - <scala.binary.version>2.11</scala.binary.version> |
67 | | - <scalatest.version>3.0.3</scalatest.version> |
68 | | - <spark.version>2.4.2</spark.version> |
| 68 | + <scala.version>2.12.10</scala.version> |
| 69 | + <scala.binary.version>2.12</scala.binary.version> |
| 70 | + <scalatest.version>3.2.2</scalatest.version> |
| 71 | + <spark.version>3.1.1</spark.version> |
69 | 72 | <streamnative-tests.version>2.4.2</streamnative-tests.version> |
70 | 73 | <testcontainers.version>1.10.6</testcontainers.version> |
71 | 74 | <!-- plugin dependencies --> |
72 | 75 | <maven.version>3.5.4</maven.version> |
73 | | - <license-maven-plugin.version>3.0.rc1</license-maven-plugin.version> |
74 | | - <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
75 | | - <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version> |
76 | | - <maven-shade-plugin.version>3.1.0</maven-shade-plugin.version> |
77 | | - <maven-source-plugin.version>2.2.1</maven-source-plugin.version> |
78 | | - <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version> |
79 | | - <scala-maven-plugin.version>4.0.2</scala-maven-plugin.version> |
80 | | - <scalatest-maven-plugin.version>2.0.0</scalatest-maven-plugin.version> |
| 76 | + <license-maven-plugin.version>3.0</license-maven-plugin.version> |
| 77 | + <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
| 78 | + <maven-dependency-plugin.version>3.2.0</maven-dependency-plugin.version> |
| 79 | + <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version> |
| 80 | + <maven-source-plugin.version>3.2.0</maven-source-plugin.version> |
| 81 | + <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
| 82 | + <scala-maven-plugin.version>4.4.1</scala-maven-plugin.version> |
| 83 | + <scalatest-maven-plugin.version>2.0.2</scalatest-maven-plugin.version> |
| 84 | + <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
81 | 85 | </properties> |
82 | 86 |
|
83 | 87 | <!-- dependencies for all modules --> |
|
216 | 220 | <artifactId>scala-maven-plugin</artifactId> |
217 | 221 | <version>${scala-maven-plugin.version}</version> |
218 | 222 | <executions> |
| 223 | + <execution> |
| 224 | + <id>attach-javadocs</id> |
| 225 | + <goals> |
| 226 | + <goal>doc-jar</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
219 | 229 | <execution> |
220 | 230 | <id>eclipse-add-source</id> |
221 | 231 | <goals> |
|
365 | 375 | </plugin> |
366 | 376 | </plugins> |
367 | 377 | </build> |
368 | | - <profiles> |
369 | | - </profiles> |
370 | 378 | <repositories> |
371 | 379 | <repository> |
372 | 380 | <id>central</id> |
|
380 | 388 | </repository> |
381 | 389 | </repositories> |
382 | 390 | <distributionManagement> |
| 391 | + <snapshotRepository> |
| 392 | + <id>ossrh</id> |
| 393 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 394 | + </snapshotRepository> |
383 | 395 | <repository> |
384 | | - <id>streamnative</id> |
385 | | - <url>https://api.bintray.com/maven/streamnative/maven/io.streamnative.pulsar-spark/;publish=1</url> |
| 396 | + <id>ossrh</id> |
| 397 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
386 | 398 | </repository> |
387 | 399 | </distributionManagement> |
| 400 | + <profiles> |
| 401 | + <profile> |
| 402 | + <id>release</id> |
| 403 | + <build> |
| 404 | + <plugins> |
| 405 | + <plugin> |
| 406 | + <artifactId>maven-gpg-plugin</artifactId> |
| 407 | + <executions> |
| 408 | + <execution> |
| 409 | + <id>sign-artifacts</id> |
| 410 | + <phase>verify</phase> |
| 411 | + <goals> |
| 412 | + <goal>sign</goal> |
| 413 | + </goals> |
| 414 | + </execution> |
| 415 | + </executions> |
| 416 | + <configuration> |
| 417 | + <!-- Prevent `gpg` from using pinentry programs --> |
| 418 | + <gpgArguments> |
| 419 | + <arg>--pinentry-mode</arg> |
| 420 | + <arg>loopback</arg> |
| 421 | + </gpgArguments> |
| 422 | + </configuration> |
| 423 | + </plugin> |
| 424 | + <plugin> |
| 425 | + <groupId>org.sonatype.plugins</groupId> |
| 426 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 427 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 428 | + <extensions>true</extensions> |
| 429 | + <configuration> |
| 430 | + <serverId>ossrh</serverId> |
| 431 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 432 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 433 | + </configuration> |
| 434 | + </plugin> |
| 435 | + </plugins> |
| 436 | + </build> |
| 437 | + </profile> |
| 438 | + </profiles> |
388 | 439 | </project> |
0 commit comments