bucket4j_jdk17-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.bucket4j</groupId>
<artifactId>bucket4j_jdk17-parent</artifactId>
<version>8.18.0</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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bucket4j</groupId>
<version>8.18.0</version>
<artifactId>bucket4j_jdk17-parent</artifactId>
<packaging>pom</packaging>
<name>bucket4j_jdk17-parent</name>
<description>bucket4j - is a java implementation of token bucket algorithm for rate limiting</description>
<url>http://github.com/bucket4j/bucket4j</url>
<distributionManagement>
<snapshotRepository>
<id>bucket4j-ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>bucket4j-ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<modular-name>parent</modular-name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<VERSION-FOR-REVAPI-COMPARISION>4.10.0</VERSION-FOR-REVAPI-COMPARISION>
<benchmark.jar.name>benchmarks</benchmark.jar.name>
<argLine/>
<maven.build.timestamp.format>yyyy-MM-dd HH</maven.build.timestamp.format>
<jcache.version>1.0.0</jcache.version>
<ignite.version>2.16.0</ignite.version>
<hazelcast.4.version>4.1</hazelcast.4.version>
<hazelcast.latest.version>5.3.6</hazelcast.latest.version>
<infinispan.latest.version>15.0.4.Final</infinispan.latest.version>
<ehcache.version>3.8.1</ehcache.version>
<testcontainers.version>1.20.1</testcontainers.version>
<jackson.annotations.version>2.20</jackson.annotations.version>
<lettuce-version>5.0.2.RELEASE</lettuce-version>
<jedis.version>4.4.6</jedis.version>
<redisson.version>3.21.0</redisson.version>
<lettuce.version>6.1.8.RELEASE</lettuce.version>
<vertx.redis.client.version>5.0.8</vertx.redis.client.version>
<glide.version>2.2.1</glide.version>
<caffeine.version>2.9.3</caffeine.version>
<mssql.version>12.4.2.jre8</mssql.version>
<ojdbc.version>23.2.0.0</ojdbc.version>
<junit.jupiter.version>5.10.2</junit.jupiter.version>
<slf4j.version>2.0.9</slf4j.version>
<bnd.version>7.1.0</bnd.version>
<!-- default OSGi bundle symbolic name pattern -->
<osgi.symbolicName>${project.groupId}.${modular-name}</osgi.symbolicName>
<bnd.skip>false</bnd.skip>
</properties>
<scm>
<url>http://github.com/bucket4j/bucket4j</url>
<connection>scm:git:git@github.com:bucket4j/bucket4j</connection>
<developerConnection>scm:git:git@github.com:bucket4j/bucket4j.git</developerConnection>
</scm>
<developers>
<developer>
<id>vladimir-bukhtoyarov</id>
<name>Vladimir Bukhtoyarov</name>
<email>jsecoder@mail.ru</email>
<url>https://github.com/vladimir-bukhtoyarov</url>
<organization>Vkontakte</organization>
<organizationUrl>https://vk.com/</organizationUrl>
<roles>
<role>Software developer</role>
</roles>
</developer>
<developer>
<id>MaxBartkov</id>
<name>Maxim Bartkov</name>
<email>maxgalayoutop@gmail.com</email>
<url>https://github.com/MaxBartkov</url>
<organization>Jaja finance</organization>
<organizationUrl>https://jaja.co.uk</organizationUrl>
<roles>
<role>Java Technical Leader</role>
</roles>
</developer>
</developers>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>${bnd.version}</version>
<executions>
<execution>
<id>osgi-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>${bnd.skip}</skip>
<bnd><![CDATA[
Bundle-SymbolicName: ${osgi.symbolicName}
Bundle-Name: ${project.name}
Bundle-Version: ${project.version}
Automatic-Module-Name: io.github.bucket4j.${modular-name}
# Export your own packages; import everything else
-exportcontents: io.github.bucket4j.*;version="${project.version}";-noimport:=true
Import-Package: *
# Nice-to-have OSGi metadata
Bundle-Vendor: Vladimir Bukhtoyarov
Bundle-Description: ${project.description}
Bundle-DocURL: ${project.url}
-reproducible: true
-noextraheaders: true
]]></bnd>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<!-- IMPORTANT: use the manifest generated by bnd -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compileTests</goal>
</goals>
</execution>
</executions>
<configuration>
<testSources>
<testSource>
<directory>${project.basedir}/src/test/java</directory>
<includes>
<include>**/*.groovy</include>
</includes>
</testSource>
</testSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>
<compilerArgument>-parameters</compilerArgument>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<includes>
<include>**/*Test.class</include>
<include>**/*Specification.class</include>
</includes>
<systemPropertyVariables>
<logback.configurationFile>${basedir}/src/test/resources/logback-test.xml</logback.configurationFile>
</systemPropertyVariables>
<!-- Travis build workaround -->
<argLine>-Xms1024m -Xmx2048m
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<rules>
<banDuplicatePomDependencyVersions/>
<dependencyConvergence/>
</rules>
<fail>false</fail>
</configuration>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>0.12.1</version>
<dependencies>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-java</artifactId>
<version>0.22.0</version>
</dependency>
</dependencies>
<configuration>
<alwaysCheckForReleaseVersion>false</alwaysCheckForReleaseVersion>
<oldArtifacts>
<artifact>${project.groupId}:${project.artifactId}:${VERSION-FOR-REVAPI-COMPARISION}</artifact>
</oldArtifacts>
<newArtifacts>
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
</newArtifacts>
<analysisConfiguration>
</analysisConfiguration>
</configuration>
<executions>
<execution>
<id>verify-compatibility</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- make pluginManagement apply: declare the plugin once -->
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/${env.GITHUB_REPOSITORY}</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/${env.GITHUB_REPOSITORY}</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<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>-->
<ignorePublishedComponents>true</ignorePublishedComponents>
<excludeArtifacts>
<excludeArtifact>bucket4j_jdk17-infinispan-all</excludeArtifact>
<excludeArtifact>bucket4j_jdk17-hazelcast-all</excludeArtifact>
<excludeArtifact>bucket4j_jdk17-redis</excludeArtifact>
<excludeArtifact>bucket4j_jdk17-mongodb</excludeArtifact>
<excludeArtifact>asciidoc</excludeArtifact>
<excludeArtifact>bucket4j_jdk17-benchmarks</excludeArtifact>
<excludeArtifact>lincheck-tests</excludeArtifact>
<excludeArtifact>bucket4j_jdk17-examples</excludeArtifact>
<excludeArtifact>backward-compatibility-tests</excludeArtifact>
<excludeArtifact>backward-compatibility-tests-common</excludeArtifact>
<excludeArtifact>backward-compatibility-tests-current</excludeArtifact>
<excludeArtifact>backward-compatibility-tests-prevoius</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<!-- <licenseName>bucket4_license</licenseName>-->
<!-- <licenseResolver>${project.baseUri}/src/license</licenseResolver>-->
<inceptionYear>2015</inceptionYear>
<organizationName>Vladimir Bukhtoyarov</organizationName>
<projectName>Bucket4j</projectName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<processStartTag>========================LICENSE_START=================================</processStartTag>
<processEndTag>=========================LICENSE_END==================================</processEndTag>
</configuration>
<executions>
<execution>
<id>update-file-license-header</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<licenseName>apache_v2</licenseName>
<roots>
<root>src/main/java</root>
</roots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<additionalOptions>-Xdoclint:none</additionalOptions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<id>javadocs</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<inherited>false</inherited>
<executions>
<execution>
<id>generate HTML</id>
<phase>package</phase>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
<configuration>
<additionalOptions>-Xdoclint:none</additionalOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>2.4-M4-groovy-3.0</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>3.0.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>3.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.gridkit.lab</groupId>
<artifactId>nanocloud</artifactId>
<version>0.8.16</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.3.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.annotations.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.4.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>