Skip to content

Commit

Permalink
hotfix: fix revision and other warnings in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
whhe committed Nov 11, 2024
1 parent dcf1af2 commit 6c01744
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 45 deletions.
45 changes: 20 additions & 25 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ under the License.

<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-parent</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -27,7 +27,10 @@ under the License.
</modules>

<properties>
<rversion>1.0-SNAPSHOT</rversion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<revision>1.0-SNAPSHOT</revision>
<scala.version>2.12.15</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<slf4j.version>1.7.32</slf4j.version>
Expand Down Expand Up @@ -56,6 +59,14 @@ under the License.
<artifactId>junit</artifactId>
<version>${junit4.version}</version>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -83,18 +94,9 @@ under the License.
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>oceanbase</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -213,6 +215,11 @@ under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<shadeTestJar>false</shadeTestJar>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</plugin>

<!-- configure scala style -->
Expand Down Expand Up @@ -273,6 +280,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -285,6 +293,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<quiet>true</quiet>
</configuration>
Expand Down Expand Up @@ -385,20 +394,6 @@ under the License.
<artifactId>spotless-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}</directory>
<includes>
<include>dependency-reduced-pom.xml</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions spark-connector-oceanbase-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-parent</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-common</artifactId>
<version>${rversion}</version>
</project>
2 changes: 1 addition & 1 deletion spark-connector-oceanbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-parent</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-2.4_${scala.binary.version}</artifactId>
Expand All @@ -33,7 +33,7 @@ under the License.
<dependency>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-base</artifactId>
<version>${rversion}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -97,7 +97,6 @@ under the License.
<include>com.lmax:disruptor</include>
</includes>
</artifactSet>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<artifact>com.oceanbase:obkv-table-client</artifact>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-3.1_${scala.binary.version}</artifactId>
Expand All @@ -33,7 +33,7 @@ under the License.
<dependency>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-base</artifactId>
<version>${rversion}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-3.2_${scala.binary.version}</artifactId>
Expand All @@ -33,7 +33,7 @@ under the License.
<dependency>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-base</artifactId>
<version>${rversion}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-3.3_${scala.binary.version}</artifactId>
Expand All @@ -33,7 +33,7 @@ under the License.
<dependency>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-base</artifactId>
<version>${rversion}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-3.4_${scala.binary.version}</artifactId>
Expand All @@ -33,7 +33,7 @@ under the License.
<dependency>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase-base</artifactId>
<version>${rversion}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.
<parent>
<groupId>com.oceanbase</groupId>
<artifactId>spark-connector-oceanbase</artifactId>
<version>${rversion}</version>
<version>${revision}</version>
</parent>

<artifactId>spark-connector-oceanbase-base</artifactId>
Expand Down Expand Up @@ -197,11 +197,6 @@ under the License.
<artifactId>disruptor</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 6c01744

Please sign in to comment.