From d90f4d6a6a8236fc24524f22261c06e2c6900df9 Mon Sep 17 00:00:00 2001 From: streamnativebot <streamnativebot@streamnative.io> Date: Thu, 7 Mar 2024 08:31:31 +0000 Subject: [PATCH] "Created by snbot" --- image/Dockerfile | 2 +- pom.xml | 66 +++++++++++++++++++++++------------------------- 2 files changed, 32 insertions(+), 36 deletions(-) diff --git a/image/Dockerfile b/image/Dockerfile index 8dd9c1e..51a4321 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -18,5 +18,5 @@ # ARG PULSAR_VERSION -FROM streamnative/pulsar-functions-java-runner:${PULSAR_VERSION} +FROM snstage/pulsar-functions-java-runner:${PULSAR_VERSION} COPY --chown=$UID:$GID target/pulsar-io-activemq-*.nar /pulsar/connectors/ diff --git a/pom.xml b/pom.xml index 2e39ea8..a7eb139 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version='1.0' encoding='UTF-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one @@ -19,23 +19,18 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>org.apache</groupId> <artifactId>apache</artifactId> <version>18</version> </parent> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.pulsar.ecosystem</groupId> <artifactId>pulsar-io-activemq</artifactId> - <version>0.0.1</version> + <version>3.1.2.3</version> <name>Pulsar Ecosystem :: IO Connector :: ActiveMQ Connector</name> <description>ActiveMQ source connector and ActiveMQ sink connector.</description> - <properties> <java.version>17</java.version> <maven.compiler.source>17</maven.compiler.source> @@ -45,19 +40,16 @@ <redirectTestOutputToFile>true</redirectTestOutputToFile> <spotbugs-annotations.version>3.1.8</spotbugs-annotations.version> <testRetryCount>2</testRetryCount> - <!-- connector dependencies --> <jackson.version>2.12.7.1</jackson.version> <lombok.version>1.18.20</lombok.version> - <pulsar.version>3.0.1.6</pulsar.version> + <pulsar.version>3.1.2.3</pulsar.version> <activemq.verion>5.15.12</activemq.verion> - <!-- test dependencies --> <junit.version>4.13.1</junit.version> <mockito.version>2.22.0</mockito.version> <powermock.version>2.0.0-beta.5</powermock.version> <testcontainers.version>1.8.3</testcontainers.version> - <!-- build plugin dependencies --> <license.plugin.version>3.0</license.plugin.version> <maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version> @@ -67,7 +59,6 @@ <puppycrawl.checkstyle.version>10.12.4</puppycrawl.checkstyle.version> <spotbugs-maven-plugin.version>4.2.2</spotbugs-maven-plugin.version> </properties> - <licenses> <license> <name>Apache License, Version 2.0</name> @@ -75,7 +66,6 @@ <distribution>repo</distribution> </license> </licenses> - <!-- keep all the dependencies used by all modules here --> <dependencyManagement> <dependencies> @@ -127,16 +117,13 @@ </dependency> </dependencies> </dependencyManagement> - <!-- include the dependencies --> <dependencies> - - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-client</artifactId> - <version>${activemq.verion}</version> - </dependency> - + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-client</artifactId> + <version>${activemq.verion}</version> + </dependency> <!-- provided dependencies (available at compilation and test classpaths and *NOT* packaged) --> <dependency> <groupId>org.projectlombok</groupId> @@ -148,18 +135,15 @@ <artifactId>spotbugs-annotations</artifactId> <scope>provided</scope> </dependency> - <!-- runtime dependencies --> <dependency> <groupId>io.streamnative</groupId> <artifactId>pulsar-io-common</artifactId> </dependency> - <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> - <!-- test dependencies --> <dependency> <groupId>junit</groupId> @@ -187,7 +171,6 @@ <scope>test</scope> </dependency> </dependencies> - <build> <pluginManagement> <plugins> @@ -204,7 +187,7 @@ <compilerArg>-Xlint:unchecked</compilerArg> <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 --> <compilerArg>-Xpkginfo:always</compilerArg> - </compilerArgs> + </compilerArgs> </configuration> </plugin> <!-- test --> @@ -327,38 +310,32 @@ </plugin> </plugins> </pluginManagement> - <plugins> - <!-- compile --> + <!-- compile --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> - <!-- test --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> - <!-- package --> <plugin> <groupId>org.apache.nifi</groupId> <artifactId>nifi-nar-maven-plugin</artifactId> </plugin> - <!-- license --> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> </plugin> - <!-- checkstyle --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> - <!-- spotbugs --> <plugin> <groupId>com.github.spotbugs</groupId> @@ -366,5 +343,24 @@ </plugin> </plugins> </build> - + <repositories> + <repository> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-2896/content</url> + </repository> + <repository> + <id>nexus-snapshot</id> + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> + </repository> + </repositories> + <distributionManagement> + <snapshotRepository> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> + </snapshotRepository> + <repository> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> + </repository> + </distributionManagement> </project>