opengauss-jdbc
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.opengauss</groupId> <artifactId>opengauss-jdbc</artifactId> <version>7.0.0-RC2-og</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 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.opengauss</groupId> <artifactId>opengauss-jdbc</artifactId> <name>openGauss JDBC Driver</name> <version>7.0.0-RC2-og</version> <description>Java JDBC driver for openGauss</description> <url>https://gitee.com/opengauss/openGauss-connector-jdbc</url> <developers> <developer> <name>openGauss-connector-jdbc</name> <email>connectors@opengauss.org</email> <organization>https://opengauss.org/zh/</organization> </developer> </developers> <licenses> <license> <name>BSD-2-Clause</name> <url>https://jdbc.postgresql.org/about/license.html</url> </license> </licenses> <scm> <connection>https://gitcode.com/opengauss/openGauss-connector-jdbc.git</connection> <developerConnection>https://gitcode.com/opengauss/openGauss-connector-jdbc.git</developerConnection> <url>https://gitcode.com/opengauss/openGauss-connector-jdbc.git</url> </scm> <organization> <name>openGauss</name> <url>https://opengauss.org/</url> </organization> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyle.version}</version> </dependency> </dependencies> <configuration> <configLocation>src/main/checkstyle/checks.xml</configLocation> <suppressionsLocation>src/main/checkstyle/suppressions.xml</suppressionsLocation> <violationSeverity>error</violationSeverity> <failOnViolation>true</failOnViolation> <failsOnError>true</failsOnError> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnWarnings>false</failOnWarnings> <failOnError>false</failOnError> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> <showWarnings>true</showWarnings> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.9.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> <plugin> <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> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <chmod>true</chmod> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <relocations> <relocation> <pattern>com.ongres</pattern> <shadedPattern>org.postgresql.shaded.com.ongres</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> <configuration> <minimizeJar>false</minimizeJar> <filters> <filter> <artifact>com.ongres.scram:client</artifact> <includes> <include>**</include> </includes> </filter> <filter> <artifact>com.github.dblock.waffle:waffle-jna</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> <filter> <artifact>*:*</artifact> <excludes> <exclude>com/sun/jna/**</exclude> </excludes> </filter> </filters> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>translate</id> <build> <plugins> <plugin> <groupId>com.github.vlsi.gettext</groupId> <artifactId>gettext-maven-plugin</artifactId> <version>1.4.0</version> <executions> <execution> <id>update_po_with_new_messages</id> <phase>generate-resources</phase> <goals> <goal>gettext</goal> </goals> </execution> <execution> <id>remove_obsolete_translations</id> <phase>generate-resources</phase> <goals> <goal>attrib</goal> </goals> <configuration> <extraArgs> <extraArg>--no-obsolete</extraArg> </extraArgs> </configuration> </execution> <execution> <id>generate_pot_and_po_files</id> <phase>generate-resources</phase> <goals> <goal>merge</goal> </goals> </execution> <execution> <id>generate_resource_bundles</id> <phase>generate-resources</phase> <goals> <goal>dist</goal> </goals> </execution> </executions> <configuration> <outputFormat>java</outputFormat> <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> <outputDirectory>${project.build.sourceDirectory}</outputDirectory> <keysFile>messages.pot</keysFile> <poDirectory>src/main/java/org/postgresql/translation</poDirectory> <targetBundle>org.postgresql.translation.messages</targetBundle> <keywords>-kGT.tr</keywords> <msgmergeCmd>msgmerge</msgmergeCmd> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>excludeWaffleFiles</id> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes> <exclude>org/postgresql/sspi/NTDSAPI.java</exclude> <exclude>org/postgresql/sspi/NTDSAPIWrapper.java</exclude> <exclude>org/postgresql/sspi/SSPIClient.java</exclude> </excludes> <testExcludes> <exclude>org.postgresql/test/sspi/*.java</exclude> </testExcludes> <source>1.8</source> <target>1.8</target> <showWarnings>true</showWarnings> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>excludeOsgiFiles</id> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes> <exclude>org/postgresql/osgi/PGBundleActivator.java</exclude> <exclude>org/postgresql/osgi/PGDataSourceFactory.java</exclude> </excludes> <testExcludes> <exclude>**/PGDataSourceFactoryTest.java</exclude> <exclude>**/OsgiTestSuite.java</exclude> </testExcludes> <source>1.8</source> <target>1.8</target> <showWarnings>true</showWarnings> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/OsgiTestSuite.java</exclude> <exclude>**/PGDataSourceFactoryTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>jdk9-workarounds</id> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.vdurmont</groupId> <artifactId>semver4j</artifactId> <version>3.1.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-parser-sql-engine</artifactId> <version>5.4.0</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>shardingsphere-parser-sql-spi</artifactId> <groupId>org.apache.shardingsphere</groupId> </exclusion> <exclusion> <artifactId>shardingsphere-parser-sql-statement</artifactId> <groupId>org.apache.shardingsphere</groupId> </exclusion> <exclusion> <artifactId>antlr4-runtime</artifactId> <groupId>org.antlr</groupId> </exclusion> <exclusion> <artifactId>caffeine</artifactId> <groupId>com.github.ben-manes.caffeine</groupId> </exclusion> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>jcl-over-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> <exclusion> <artifactId>jul-to-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-parser-sql-opengauss</artifactId> <version>5.4.0</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> <exclusion> <artifactId>jcl-over-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> <exclusion> <artifactId>jul-to-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.openeuler</groupId> <artifactId>bgmprovider</artifactId> <version>1.1.2</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>jca</artifactId> <groupId>org.openeuler</groupId> </exclusion> <exclusion> <artifactId>jsse</artifactId> <groupId>org.openeuler</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <jdbc.specification.version>4.2</jdbc.specification.version> <checkstyle.version>8.5</checkstyle.version> <shardingsphere.version>5.4.0</shardingsphere.version> <postgresql.enforce.jdk.version>1.8</postgresql.enforce.jdk.version> <skip.assembly>false</skip.assembly> <jdbc.specification.version.nodot>42</jdbc.specification.version.nodot> <javac.target>1.8</javac.target> </properties> </project>