Skip to content

Commit 7fea95b

Browse files
author
streamnativebot
committed
"Created by snbot"
1 parent adc126a commit 7fea95b

File tree

2 files changed

+32
-36
lines changed

2 files changed

+32
-36
lines changed

image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
#
1919

2020
ARG PULSAR_VERSION
21-
FROM streamnative/pulsar-functions-java-runner:${PULSAR_VERSION}
21+
FROM snstage/pulsar-functions-java-runner:${PULSAR_VERSION}
2222
COPY --chown=$UID:$GID target/pulsar-io-activemq-*.nar /pulsar/connectors/

pom.xml

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version='1.0' encoding='UTF-8'?>
22
<!--
33
44
Licensed to the Apache Software Foundation (ASF) under one
@@ -19,23 +19,18 @@
1919
under the License.
2020
2121
-->
22-
<project xmlns="http://maven.apache.org/POM/4.0.0"
23-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<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">
2523
<parent>
2624
<groupId>org.apache</groupId>
2725
<artifactId>apache</artifactId>
2826
<version>18</version>
2927
</parent>
30-
3128
<modelVersion>4.0.0</modelVersion>
32-
3329
<groupId>org.apache.pulsar.ecosystem</groupId>
3430
<artifactId>pulsar-io-activemq</artifactId>
35-
<version>0.0.1</version>
31+
<version>4.0.1.4</version>
3632
<name>Pulsar Ecosystem :: IO Connector :: ActiveMQ Connector</name>
3733
<description>ActiveMQ source connector and ActiveMQ sink connector.</description>
38-
3934
<properties>
4035
<java.version>17</java.version>
4136
<maven.compiler.source>17</maven.compiler.source>
@@ -45,19 +40,16 @@
4540
<redirectTestOutputToFile>true</redirectTestOutputToFile>
4641
<spotbugs-annotations.version>3.1.8</spotbugs-annotations.version>
4742
<testRetryCount>2</testRetryCount>
48-
4943
<!-- connector dependencies -->
5044
<jackson.version>2.12.7.1</jackson.version>
5145
<lombok.version>1.18.20</lombok.version>
52-
<pulsar.version>3.0.1.6</pulsar.version>
46+
<pulsar.version>4.0.1.4</pulsar.version>
5347
<activemq.verion>5.15.12</activemq.verion>
54-
5548
<!-- test dependencies -->
5649
<junit.version>4.13.1</junit.version>
5750
<mockito.version>2.22.0</mockito.version>
5851
<powermock.version>2.0.0-beta.5</powermock.version>
5952
<testcontainers.version>1.8.3</testcontainers.version>
60-
6153
<!-- build plugin dependencies -->
6254
<license.plugin.version>3.0</license.plugin.version>
6355
<maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
@@ -67,15 +59,13 @@
6759
<puppycrawl.checkstyle.version>10.12.4</puppycrawl.checkstyle.version>
6860
<spotbugs-maven-plugin.version>4.2.2</spotbugs-maven-plugin.version>
6961
</properties>
70-
7162
<licenses>
7263
<license>
7364
<name>Apache License, Version 2.0</name>
7465
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
7566
<distribution>repo</distribution>
7667
</license>
7768
</licenses>
78-
7969
<!-- keep all the dependencies used by all modules here -->
8070
<dependencyManagement>
8171
<dependencies>
@@ -127,16 +117,13 @@
127117
</dependency>
128118
</dependencies>
129119
</dependencyManagement>
130-
131120
<!-- include the dependencies -->
132121
<dependencies>
133-
134-
<dependency>
135-
<groupId>org.apache.activemq</groupId>
136-
<artifactId>activemq-client</artifactId>
137-
<version>${activemq.verion}</version>
138-
</dependency>
139-
122+
<dependency>
123+
<groupId>org.apache.activemq</groupId>
124+
<artifactId>activemq-client</artifactId>
125+
<version>${activemq.verion}</version>
126+
</dependency>
140127
<!-- provided dependencies (available at compilation and test classpaths and *NOT* packaged) -->
141128
<dependency>
142129
<groupId>org.projectlombok</groupId>
@@ -148,18 +135,15 @@
148135
<artifactId>spotbugs-annotations</artifactId>
149136
<scope>provided</scope>
150137
</dependency>
151-
152138
<!-- runtime dependencies -->
153139
<dependency>
154140
<groupId>io.streamnative</groupId>
155141
<artifactId>pulsar-io-common</artifactId>
156142
</dependency>
157-
158143
<dependency>
159144
<groupId>com.fasterxml.jackson.core</groupId>
160145
<artifactId>jackson-databind</artifactId>
161146
</dependency>
162-
163147
<!-- test dependencies -->
164148
<dependency>
165149
<groupId>junit</groupId>
@@ -187,7 +171,6 @@
187171
<scope>test</scope>
188172
</dependency>
189173
</dependencies>
190-
191174
<build>
192175
<pluginManagement>
193176
<plugins>
@@ -204,7 +187,7 @@
204187
<compilerArg>-Xlint:unchecked</compilerArg>
205188
<!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
206189
<compilerArg>-Xpkginfo:always</compilerArg>
207-
</compilerArgs>
190+
</compilerArgs>
208191
</configuration>
209192
</plugin>
210193
<!-- test -->
@@ -327,44 +310,57 @@
327310
</plugin>
328311
</plugins>
329312
</pluginManagement>
330-
331313
<plugins>
332-
<!-- compile -->
314+
<!-- compile -->
333315
<plugin>
334316
<groupId>org.apache.maven.plugins</groupId>
335317
<artifactId>maven-compiler-plugin</artifactId>
336318
</plugin>
337-
338319
<!-- test -->
339320
<plugin>
340321
<groupId>org.apache.maven.plugins</groupId>
341322
<artifactId>maven-surefire-plugin</artifactId>
342323
</plugin>
343-
344324
<!-- package -->
345325
<plugin>
346326
<groupId>org.apache.nifi</groupId>
347327
<artifactId>nifi-nar-maven-plugin</artifactId>
348328
</plugin>
349-
350329
<!-- license -->
351330
<plugin>
352331
<groupId>com.mycila</groupId>
353332
<artifactId>license-maven-plugin</artifactId>
354333
</plugin>
355-
356334
<!-- checkstyle -->
357335
<plugin>
358336
<groupId>org.apache.maven.plugins</groupId>
359337
<artifactId>maven-checkstyle-plugin</artifactId>
360338
</plugin>
361-
362339
<!-- spotbugs -->
363340
<plugin>
364341
<groupId>com.github.spotbugs</groupId>
365342
<artifactId>spotbugs-maven-plugin</artifactId>
366343
</plugin>
367344
</plugins>
368345
</build>
369-
346+
<repositories>
347+
<repository>
348+
<id>ossrh</id>
349+
<url>https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-3710/content</url>
350+
</repository>
351+
<repository>
352+
<id>nexus-snapshot-ci</id>
353+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
354+
</repository>
355+
</repositories>
356+
<distributionManagement>
357+
<snapshotRepository>
358+
<id>ossrh</id>
359+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
360+
</snapshotRepository>
361+
<repository>
362+
<id>ossrh</id>
363+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
364+
</repository>
365+
</distributionManagement>
370366
</project>

0 commit comments

Comments
 (0)