Skip to content

Commit

Permalink
"Created by snbot"
Browse files Browse the repository at this point in the history
  • Loading branch information
streamnativebot committed Apr 19, 2024
1 parent b029434 commit 2d64ce2
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 45 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 ../io-amqp1_0-impl/target/*.nar /pulsar/connectors/
2 changes: 1 addition & 1 deletion io-amqp1_0-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>pulsar-io-amqp1_0-parent</artifactId>
<groupId>org.apache.pulsar.ecosystem</groupId>
<version>2.8.0-rc-202105251229</version>
<version>2.11.4.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
76 changes: 35 additions & 41 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,24 +19,19 @@
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-amqp1_0-parent</artifactId>
<packaging>pom</packaging>
<version>2.8.0-rc-202105251229</version>
<version>2.11.4.1</version>
<name>Pulsar Ecosystem :: IO Connector :: AMQP1_0</name>
<description>This is an Apache Pulsar AMQP1_0 connector</description>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
Expand All @@ -46,22 +41,19 @@
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<spotbugs-annotations.version>3.1.8</spotbugs-annotations.version>
<testRetryCount>2</testRetryCount>

<!-- connector dependencies -->
<jackson.version>2.12.6.1</jackson.version>
<lombok.version>1.18.24</lombok.version>
<pulsar.version>2.11.2.6</pulsar.version>
<pulsar.version>2.11.4.1</pulsar.version>
<qpid.version>0.56.0</qpid.version>
<log4j2.version>2.17.1</log4j2.version>
<slf4j.version>1.7.25</slf4j.version>

<!-- 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.19.0</testcontainers.version>
<awaitility.version>4.2.0</awaitility.version>

<!-- build plugin dependencies -->
<license.plugin.version>3.0</license.plugin.version>
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
Expand All @@ -71,20 +63,17 @@
<puppycrawl.checkstyle.version>6.19</puppycrawl.checkstyle.version>
<spotbugs-maven-plugin.version>3.1.8</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>

<modules>
<module>io-amqp1_0-impl</module>
<module>tests</module>
</modules>

<!-- keep all the dependencies used by all modules here -->
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -141,17 +130,14 @@
</dependency>
</dependencies>
</dependencyManagement>

<!-- include the dependencies -->
<dependencies>

<!-- connector -->
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
<version>${qpid.version}</version>
</dependency>

<!-- log -->
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -168,7 +154,6 @@
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j2.version}</version>
</dependency>

<!-- provided dependencies (available at compilation and test classpaths and *NOT* packaged) -->
<dependency>
<groupId>org.projectlombok</groupId>
Expand All @@ -180,18 +165,15 @@
<artifactId>spotbugs-annotations</artifactId>
<scope>provided</scope>
</dependency>

<!-- runtime dependencies -->
<dependency>
<groupId>io.streamnative</groupId>
<artifactId>pulsar-io-core</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
Expand Down Expand Up @@ -224,7 +206,6 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
Expand All @@ -236,12 +217,12 @@
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgs>
<!-- <compilerArg>-Werror</compilerArg>-->
<!-- <compilerArg>-Werror</compilerArg>-->
<compilerArg>-Xlint:deprecation</compilerArg>
<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 @@ -352,54 +333,67 @@
</executions>
</plugin>
<!-- spotbugs -->
<!-- <plugin>-->
<!-- <groupId>com.github.spotbugs</groupId>-->
<!-- <artifactId>spotbugs-maven-plugin</artifactId>-->
<!-- <version>${spotbugs-maven-plugin.version}</version>-->
<!-- <configuration>-->
<!-- <excludeFilterFile>${session.executionRootDirectory}/src/spotbugs/findbugsExclude.xml</excludeFilterFile>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>com.github.spotbugs</groupId>-->
<!-- <artifactId>spotbugs-maven-plugin</artifactId>-->
<!-- <version>${spotbugs-maven-plugin.version}</version>-->
<!-- <configuration>-->
<!-- <excludeFilterFile>${session.executionRootDirectory}/src/spotbugs/findbugsExclude.xml</excludeFilterFile>-->
<!-- </configuration>-->
<!-- </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/iostreamnative-3039/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>
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#

ARG PULSAR_IMAGE_TAG
FROM streamnative/pulsar:${PULSAR_IMAGE_TAG}
FROM snstage/pulsar:${PULSAR_IMAGE_TAG}

### Add connector
COPY ./src/test/resources/pulsar-io-amqp1_0.nar /pulsar/connectors/pulsar-io-amqp1_0.nar
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>pulsar-io-amqp1_0-parent</artifactId>
<groupId>org.apache.pulsar.ecosystem</groupId>
<version>2.8.0-rc-202105251229</version>
<version>2.11.4.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit 2d64ce2

Please sign in to comment.