stone
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.chris2018998</groupId>
<artifactId>stone</artifactId>
<version>2.2.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.chris2018998</groupId>
<artifactId>stone</artifactId>
<version>2.2.2</version>
<name>stone</name>
<url>https://www.github.com/Chris2018998/stone</url>
<description>Java Pools Implementation</description>
<properties>
<skip.gpg>false</skip.gpg>
<skip.test>false</skip.test>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.source.encoding>UTF-8</project.source.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.37</jmh.version>
<junit.version>6.1.0-M1</junit.version>
<logback.version>1.5.32</logback.version>
<slf4j-api.version>2.0.17</slf4j-api.version>
<javassist.version>3.30.2-GA</javassist.version>
<jakarta.transaction-api.version>2.0.1</jakarta.transaction-api.version>
<jakarta.enterprise.cdi-api.version>5.0.0-M1</jakarta.enterprise.cdi-api.version>
<!-- maven plugins-->
<exec-maven-plugin.version>3.6.3</exec-maven-plugin.version><!-- to generate proxy -->
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version><!-- test cover-->
<central-publishing.version>0.10.0</central-publishing.version>
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
</properties>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Chris2018998</name>
<email>Chris2018998@tom.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:Chris2018998/stone.git</connection>
<developerConnection>scm:git:git@github.com:Chris2018998/stone.git</developerConnection>
<url>https://github.com/Chris2018998/stone</url>
</scm>
<issueManagement>
<url>https://github.com/Chris2018998/stone/issues</url>
</issueManagement>
<distributionManagement>
<snapshotRepository>
<id>stone-central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<dependency><!-- generate jdbc proxy objects -->
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
<version>${jakarta.transaction-api.version}</version>
</dependency>
<!--compile,test-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<version>${jakarta.enterprise.cdi-api.version}</version>
<scope>provided</scope>
</dependency>
<!-- test scope -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin><!-- publish to new central repository -->
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>stone-central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin> <!-- compile java code -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${project.source.encoding}</encoding>
<compilerArgs>
<arg>--add-exports=java.base/jdk.internal.misc=org.stone</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin><!-- generate JDBC proxy classes -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies>
<mainClass>org.stone.beecp.pool.ProxyClassesGenerator</mainClass>
<arguments>
<argument>${project.basedir}/target/classes</argument>
</arguments>
</configuration>
</plugin>
<plugin><!-- execute test cases -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>${skip.test}</skipTests>
<runOrder>alphabetical</runOrder>
<testFailureIgnore>true</testFailureIgnore>
<skipAfterFailureCount>0</skipAfterFailureCount>
<!--suppress UnresolvedMavenProperty -->
<argLine>
${itCoverageAgent}
--add-exports java.base/jdk.internal.misc=org.stone
</argLine>
<includes>
<!--this case must be at first -->
<include>org.stone.test.InitTest</include>
<!-- beecp cases -->
<include>org.stone.test.beecp.config.*Test</include>
<include>org.stone.test.beecp.datasource.*Test</include>
<include>org.stone.test.beecp.pool.*Test</include>
<include>org.stone.test.beecp.other.slow.*Test</include>
<!-- beeop cases -->
<include>org.stone.test.beeop.config.*Test</include>
<include>org.stone.test.beeop.objectsource.*Test</include>
</includes>
</configuration>
</plugin>
<plugin> <!-- generate test cover report -->
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<configuration>
<propertyName>itCoverageAgent</propertyName>
<includes>
<include>org/stone/beecp/*</include>
<include>org/stone/beecp/pool/*</include>
<include>org/stone/beeop/*</include>
<include>org/stone/beeop/pool/*</include>
</includes>
<excludes>
<exclude>org/stone/beecp/jta/*</exclude>
<exclude>org/stone/beecp/pool/Proxy*</exclude>
<exclude>org/stone/beecp/*Exception.*</exclude>
<exclude>org/stone/beecp/pool/exception/*</exclude>
<exclude>org/stone/beeop/*Exception.*</exclude>
<exclude>org/stone/beeop/pool/exception/*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<doclint>none</doclint>
<additionalJOptions>
<additionalJOption>
--add-exports=java.base/jdk.internal.misc=org.stone
</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<configuration>
<skip>${skip.gpg}</skip>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>