addresses
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>uk.ipfreely</groupId>
<artifactId>addresses</artifactId>
<version>17.1.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>uk.ipfreely</groupId>
<artifactId>addresses</artifactId>
<version>17.1.1</version>
<name>IPFreely.uk</name>
<description>IP address manipulation library</description>
<url>https://ipfreely.uk</url>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.13.4</junit.version>
<maven-jar-plugin>3.4.2</maven-jar-plugin>
<maven-source-plugin>3.3.1</maven-source-plugin>
<maven-javadoc-plugin>3.11.2</maven-javadoc-plugin>
<jacoco-maven-plugin>0.8.13</jacoco-maven-plugin>
<spotbugs-maven-plugin>4.8.6.6</spotbugs-maven-plugin>
<spotbugs.version>4.9.4</spotbugs.version>
<maven-surefire-plugin>3.5.3</maven-surefire-plugin>
<maven-pmd-plugin>3.27.0</maven-pmd-plugin>
<maven-enforcer-plugin>3.6.1</maven-enforcer-plugin>
<requireMavenVersion>3.3.9</requireMavenVersion>
<maven-checkstyle-plugin>3.6.0</maven-checkstyle-plugin>
<maven-jxr-plugin>3.6.0</maven-jxr-plugin>
<maven-gpg-plugin>3.1.0</maven-gpg-plugin>
<central-publishing-maven-plugin>0.8.0</central-publishing-maven-plugin>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<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>
<developers>
<developer>
<email>ipfreely.uk@proton.me</email>
<organizationUrl>https://github.com/ipfreely-uk</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/ipfreely-uk/ipfreely-uk.git</connection>
<developerConnection>scm:git:ssh://github.com:ipfreely-uk/ipfreely.git</developerConnection>
<url>https://github.com/ipfreely-uk/ipfreely/tree/main</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin}</version>
</plugin>
<!-- https://central.sonatype.org/publish/publish-maven/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<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>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<bottom>
<![CDATA[
Copyright 2024-2025
<br>
<a href="https://github.com/ipfreely-uk/java/blob/main/LICENSE" target="_top">https://github.com/ipfreely-uk/java/blob/main/LICENSE</a>
<script>
(() => {
const anchors = document.querySelectorAll("a");
anchors.forEach((a) => {
const href = a.getAttribute("href");
if (href && href.startsWith("https://")) {
a.setAttribute("target", "_top");
}
});
})();
</script>
]]>
</bottom>
<doclint>all</doclint>
<failOnWarnings>true</failOnWarnings>
<serialwarn>true</serialwarn>
<additionalOptions>--allow-script-in-comments</additionalOptions>
</configuration>
</plugin>
<!-- coverage -->
<plugin>
<!-- https://www.jacoco.org/jacoco/trunk/doc/ -->
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>jacoco-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<excludes>
<exclude>uk/ipfreely/**/Validation.*</exclude>
</excludes>
<rules>
<rule>
<element>CLASS</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>1.0</minimum>
</limit>
</limits>
</rule>
<rule>
<element>CLASS</element>
<limits>
<limit>
<counter>METHOD</counter>
<value>COVEREDRATIO</value>
<minimum>1.0</minimum>
</limit>
</limits>
</rule>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.60</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin}</version>
<configuration>
<fork>true</fork>
<effort>Max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<failOnError>true</failOnError>
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>${spotbugs.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven-pmd-plugin}</version>
<configuration>
<printFailingErrors>true</printFailingErrors>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin}</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>${requireMavenVersion}</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin}</version>
<configuration>
<configLocation>google_checks.xml</configLocation>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${maven-jxr-plugin}</version>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>central</id>
<url>https://central.sonatype.com</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</distributionManagement>
<profiles>
<profile>
<!-- https://central.sonatype.org/publish/requirements/ -->
<!-- https://central.sonatype.org/publish/publish-maven/ -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- This is necessary for gpg to not try to use the pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
<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>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>