Skip to content

Commit

Permalink
"Created by snbot"
Browse files Browse the repository at this point in the history
  • Loading branch information
streamnativebot committed Aug 28, 2024
1 parent adc126a commit 60ec554
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 36 deletions.
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
66 changes: 31 additions & 35 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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>4.0.0-ursa-6a6a638-SNAPSHOT</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>
Expand All @@ -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>4.0.0-ursa-6a6a638-SNAPSHOT</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>
Expand All @@ -67,15 +59,13 @@
<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>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<!-- keep all the dependencies used by all modules here -->
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -187,7 +171,6 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
Expand All @@ -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 -->
Expand Down Expand Up @@ -327,44 +310,57 @@
</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>
<artifactId>spotbugs-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/repositories/0/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>

0 comments on commit 60ec554

Please sign in to comment.