starrocks-connector-j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.starrocks</groupId>
<artifactId>starrocks-connector-j</artifactId>
<version>1.1.1</version>
</dependency><?xml version="1.0" encoding="UTF-8" ?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.starrocks</groupId>
<artifactId>starrocks-connector-j</artifactId>
<version>1.1.1</version>
<packaging>jar</packaging>
<name>StarRocks Connector/J</name>
<description>JDBC Type 4 driver for StarRocks, compatible with the MySQL protocol.</description>
<url>https://github.com/CelerData/starrocks-connector-j</url>
<licenses>
<license>
<name>The GNU General Public License, v2 with Universal FOSS Exception, v1.0</name>
<url>https://github.com/CelerData/starrocks-connector-j/blob/main/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>CelerData</name>
<url>https://www.celerdata.com/</url>
</organization>
<developers>
<developer>
<name>CelerData</name>
<organization>CelerData</organization>
<organizationUrl>https://www.celerdata.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:CelerData/starrocks-connector-j.git</connection>
<developerConnection>scm:git:git@github.com:CelerData/starrocks-connector-j.git</developerConnection>
<url>https://github.com/CelerData/starrocks-connector-j</url>
</scm>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>4.29.0</version>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-common</artifactId>
<version>3.54.0</version>
<optional>true</optional>
</dependency>
</dependencies>
<properties>
<ant.artifacts.dir>${project.basedir}/dist/workspace/starrocks-connector-j-${project.version}_maven</ant.artifacts.dir>
</properties>
<build>
<plugins>
<!-- Skip compilation — Ant builds everything -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<skipMain>true</skipMain>
<skip>true</skip>
</configuration>
</plugin>
<!-- Skip default JAR creation — use the pre-built JAR from Ant -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<!-- Attach the pre-built JAR, sources, and javadoc from ant package -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${ant.artifacts.dir}/starrocks-connector-j-${project.version}-sources.jar</file>
<type>jar</type>
<classifier>sources</classifier>
</artifact>
<artifact>
<file>${ant.artifacts.dir}/starrocks-connector-j-${project.version}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<!-- Copy the pre-built main JAR over the Maven output after jar plugin runs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy-prebuilt-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${ant.artifacts.dir}/starrocks-connector-j-${project.version}.jar"
tofile="${project.build.directory}/${project.build.finalName}.jar"
overwrite="true" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- Skip tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- GPG signing (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Publish to Maven Central -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>