<!-- ~ /* ~ MariaDB Client for Java ~ ~ Copyright (c) 2012-2014 Monty Program Ab. ~ Copyright (c) 2015-2017 MariaDB Ab. ~ ~ This library is free software; you can redistribute it and/or modify it under ~ the terms of the GNU Lesser General Public License as published by the Free ~ Software Foundation; either version 2.1 of the License, or (at your option) ~ any later version. ~ ~ This library is distributed in the hope that it will be useful, but ~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License ~ for more details. ~ ~ You should have received a copy of the GNU Lesser General Public License along ~ with this library; if not, write to Monty Program Ab info@montyprogram.com. ~ ~ This particular MariaDB Client for Java file is work ~ derived from a Drizzle-JDBC. Drizzle-JDBC file which is covered by subject to ~ the following copyright and notice provisions: ~ ~ Copyright (c) 2009-2011, Marcus Eriksson ~ ~ Redistribution and use in source and binary forms, with or without modification, ~ are permitted provided that the following conditions are met: ~ Redistributions of source code must retain the above copyright notice, this list ~ of conditions and the following disclaimer. ~ ~ Redistributions in binary form must reproduce the above copyright notice, this ~ list of conditions and the following disclaimer in the documentation and/or ~ other materials provided with the distribution. ~ ~ Neither the name of the driver nor the names of its contributors may not be ~ used to endorse or promote products derived from this software without specific ~ prior written permission. ~ ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ~ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ~ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, ~ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ~ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR ~ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ~ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ~ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY ~ OF SUCH DAMAGE. ~ */ --> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <packaging>jar</packaging> <name>mariadb-java-client</name> <version>2.1.2</version> <description>JDBC driver for MariaDB and MySQL</description> <url>https://mariadb.com/kb/en/mariadb/about-mariadb-connector-j/</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jna.version>4.2.1</jna.version> <version.template.file>src/main/resources/Version.java.template</version.template.file> <version.file>src/main/java/org/mariadb/jdbc/internal/util/constant/Version.java</version.file> <checkstyleVersion>6.11.2</checkstyleVersion> <checkstyle.plugin.version>2.16</checkstyle.plugin.version> <driver.version.major>2</driver.version.major> <driver.version.minor>1</driver.version.minor> <driver.version.patch>2</driver.version.patch> <driver.version.qualifier></driver.version.qualifier> </properties> <licenses> <license> <name>LGPL-2.1</name> </license> </licenses> <developers> <developer> <id>mariadbJdbcDevelopers</id> <name>mariadb jdbc developers</name> <url>http://mariadb.org/</url> </developer> </developers> <scm> <connection>scm:git:git://github.com/MariaDB/mariadb-connector-j.git</connection> <url>https://github.com/MariaDB/mariadb-connector-j</url> <developerConnection>scm:git:git@github.com:MariaDB/mariadb-connector-j.git</developerConnection> </scm> <issueManagement> <system>JIRA</system> <url>https://mariadb.atlassian.net/browse/CONJ</url> </issueManagement> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.0</version> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgs> <arg>-Xlint:all,-options,-path</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <executions> <execution> <id>attach-javadocs</id> <phase>prepare-package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${checkstyle.plugin.version}</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyleVersion}</version> </dependency> </dependencies> <executions> <execution> <id>process-test-resources</id> <phase>prepare-package</phase> <configuration> <includeTestSourceDirectory>true</includeTestSourceDirectory> <excludes>**/SharedMemorySocket.java,**/UnixDomainSocket.java, **/MySQLDataSource.java </excludes> <configLocation>src/test/resources/style.xml</configLocation> <encoding>UTF-8</encoding> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> </configuration> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>replace</goal> </goals> </execution> </executions> <configuration> <file>${version.template.file}</file> <outputFile>${version.file}</outputFile> <replacements> <replacement> <token>@buildtime</token> <value>${maven.build.timestamp}</value> </replacement> <replacement> <token>@version</token> <value>${project.version}</value> </replacement> <replacement> <token>@majorVersion</token> <value>${driver.version.major}</value> </replacement> <replacement> <token>@minorVersion</token> <value>${driver.version.minor}</value> </replacement> <replacement> <token>@patchVersion</token> <value>${driver.version.patch}</value> </replacement> <replacement> <token>@qualifier</token> <value>${driver.version.qualifier}</value> </replacement> </replacements> </configuration> </plugin> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> </execution> </executions> <configuration> <prefix>git</prefix> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <executions> <execution> <phase>install</phase> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <executable>git</executable> <arguments> <argument>archive</argument> <argument>--format</argument> <argument>tar.gz</argument> <argument>--output</argument> <argument>${project.name}-${git.commit.id.describe}.tar.gz</argument> <argument>${git.branch}</argument> </arguments> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <configuration> <archive> <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> <manifestEntries> <Bundle-Version>${project.version}</Bundle-Version> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-Name>MariaDB JDBC Client</Bundle-Name> <Bundle-SymbolicName>org.mariadb.jdbc</Bundle-SymbolicName> <Export-Package>org.mariadb.jdbc</Export-Package> <Import-Package> javax.net;resolution:=optional,javax.net.ssl;resolution:=optional,javax.sql;resolution:=optional,javax.transaction.xa;resolution:=optional </Import-Package> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <!--package phase--> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.12</version> <executions> <execution> <!--validate phase--> <id>parse-version</id> <phase>generate-sources</phase> <goals> <goal>parse-version</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.6</version> <extensions>true</extensions> <executions> <execution> <phase>deploy</phase> </execution> </executions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.github.dblock.waffle</groupId> <artifactId>waffle-jna</artifactId> <version>1.8.1</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> <version>2.4.7</version> <scope>test</scope> </dependency> <dependency> <groupId>org.threadly</groupId> <artifactId>threadly</artifactId> <version>4.4.3</version> <scope>test</scope> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>${jna.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna-platform</artifactId> <version>${jna.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>[1.4.0,1.7.25]</version> <optional>true</optional> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.3</version> <scope>test</scope> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifactId> <version>1.10.76</version> <scope>test</scope> </dependency> </dependencies> </project>