throttle
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.sdeonvacation</groupId>
<artifactId>throttle</artifactId>
<version>1.0.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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.sdeonvacation</groupId>
<artifactId>throttle</artifactId>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>Throttle</name>
<description>Intelligent throttling for resource-aware task execution in Java</description>
<url>https://github.com/sdeonvacation/throttle</url>
<developers>
<developer>
<id>sdeonvacation</id>
<name>Sambhrant Maurya</name>
<email>maurya.sam@hotmail.com</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/sdeonvacation/throttle.git</connection>
<developerConnection>scm:git:ssh://github.com:sdeonvacation/throttle.git</developerConnection>
<url>https://github.com/sdeonvacation/throttle/tree/main</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/sdeonvacation/throttle/issues</url>
</issueManagement>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<junit.version>4.13.2</junit.version>
<gpg.skip>true</gpg.skip>
<central.publish.skip>true</central.publish.skip>
<!-- Security scanning plugin versions -->
<spotbugs.version>4.9.8.2</spotbugs.version>
<findsecbugs.version>1.14.0</findsecbugs.version>
<dependency-check.version>12.2.0</dependency-check.version>
<dependency-check.skip>true</dependency-check.skip>
<nohttp.version>0.0.10</nohttp.version>
<nohttp.version>0.0.10</nohttp.version>
<centralPublishingMavenPluginVersion>0.10.0</centralPublishingMavenPluginVersion>
<mavenSourcePluginVersion>3.4.0</mavenSourcePluginVersion>
<mavenJavadocPluginVersion>3.12.0</mavenJavadocPluginVersion>
<mavenGpgPluginVersion>3.2.8</mavenGpgPluginVersion>
<mavenCompilerPluginVersion>3.15.0</mavenCompilerPluginVersion>
</properties>
<dependencies>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${mavenCompilerPluginVersion}</version>
<configuration>
<source>17</source>
<target>17</target>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- Source plugin for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${mavenSourcePluginVersion}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc plugin for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${mavenJavadocPluginVersion}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
<!-- SpotBugs with FindSecBugs for security scanning -->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs.version}</version>
<configuration>
<effort>Max</effort>
<threshold>Medium</threshold>
<failOnError>false</failOnError>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>${findsecbugs.version}</version>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
<id>findsecbugs-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- OWASP Dependency Check -->
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check.version}</version>
<configuration>
<failBuildOnCVSS>7</failBuildOnCVSS>
<skipSystemScope>true</skipSystemScope>
<skipTestScope>true</skipTestScope>
<!-- Skip by default for local builds, enable in CI -->
<skip>${dependency-check.skip}</skip>
<!-- NVD API configuration - API key via Maven server settings -->
<nvdApiServerId>nvd-api</nvdApiServerId>
<nvdApiDelay>4000</nvdApiDelay>
<nvdMaxRetryCount>10</nvdMaxRetryCount>
<nvdValidForHours>24</nvdValidForHours>
<connectionTimeout>180000</connectionTimeout>
<suppressionFiles>
<suppressionFile>dependency-check-suppressions.xml</suppressionFile>
</suppressionFiles>
</configuration>
<executions>
<execution>
<id>dependency-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- NoHttp tool to prevent accidental http:// URLs -->
<!-- Note: Runs in CI with Maven Central access -->
<plugin>
<groupId>io.spring.nohttp</groupId>
<artifactId>nohttp-maven-plugin</artifactId>
<version>${nohttp.version}</version>
<executions>
<execution>
<id>nohttp-check</id>
<phase>none</phase> <!-- Disabled locally, enabled in CI -->
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- Profile for release deployment to Maven Central -->
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<gpg.skip>false</gpg.skip>
</properties>
<build>
<plugins>
<!-- GPG Signing for releases -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${mavenGpgPluginVersion}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
<!-- Central Publishing Plugin for releases -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${centralPublishingMavenPluginVersion}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>