Skip to content

Commit

Permalink
feat(s3stream): remove pom parent (#259)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
Signed-off-by: daniel-y <[email protected]>
Co-authored-by: daniel-y <[email protected]>
  • Loading branch information
superhx and daniel-y authored Oct 11, 2023
1 parent 693787c commit 8f8ea68
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 7 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<slf4j.version>2.0.9</slf4j.version>
<logback.version>1.4.11</logback.version>
<snakeyaml.version>2.2</snakeyaml.version>
<s3stream.version>0.1.0-SNAPSHOT</s3stream.version>

<!-- Flat buffers related -->
<flatbuffers.version>23.5.26</flatbuffers.version>
Expand Down Expand Up @@ -106,6 +107,11 @@
<artifactId>flatbuffers-java</artifactId>
<version>${flatbuffers.version}</version>
</dependency>
<dependency>
<groupId>com.automq.elasticstream</groupId>
<artifactId>s3stream</artifactId>
<version>${s3stream.version}</version>
</dependency>

<!-- Below artifact are not directly used by the project, but are required by the dependencies of the project. -->
<dependency>
Expand Down
98 changes: 92 additions & 6 deletions s3stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,20 @@
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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.automq.rocketmq</groupId>
<artifactId>rocketmq-on-s3</artifactId>
<version>5.1.3-automq-0-SNAPSHOT</version>
</parent>

<groupId>com.automq.elasticstream</groupId>
<artifactId>s3stream</artifactId>
<version>0.1.0-SNAPSHOT</version>
<properties>
<mockito-core.version>5.5.0</mockito-core.version>
<junit-jupiter.version>5.10.0</junit-jupiter.version>
<assertj-core.version>3.24.2</assertj-core.version>
<slf4j.version>2.0.9</slf4j.version>

<maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
Expand All @@ -53,6 +59,86 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>../style/rmq_checkstyle.xml</configLocation>
<inputEncoding>UTF-8</inputEncoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<excludes>**/generated*/**/*</excludes>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireUpperBoundDeps/>
<banDuplicatePomDependencyVersions/>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skipAfterFailureCount>1</skipAfterFailureCount>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 0 additions & 1 deletion store/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
<dependency>
<groupId>com.automq.elasticstream</groupId>
<artifactId>s3stream</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.rocksdb</groupId>
Expand Down

0 comments on commit 8f8ea68

Please sign in to comment.