geo
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>geo</artifactId>
<version>3.1.2</version>
</dependency><!--
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2020-2025 3A Systems LLC.
-->
<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>
<parent>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>commons</artifactId>
<version>3.1.2</version>
</parent>
<artifactId>geo</artifactId>
<name>${project.groupId}.${project.artifactId}</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
</dependencies>
<build><finalName>${project.groupId}.${project.artifactId}</finalName>
<plugins>
<!-- <plugin> -->
<!-- <groupId>org.openidentityplatform.commons</groupId> -->
<!-- <artifactId>maven-external-dependency-plugin</artifactId> -->
<!-- <version>2.0.7-SNAPSHOT</version> -->
<!-- <inherited>false</inherited> -->
<!-- <configuration> -->
<!-- <stagingDirectory> -->
<!-- ${project.build.directory}/dependencies/ -->
<!-- </stagingDirectory> -->
<!-- <force>false</force> -->
<!-- <install>true</install> -->
<!-- <createChecksum>false</createChecksum> -->
<!-- <skipChecksumVerification>true</skipChecksumVerification> -->
<!-- <artifactItems> -->
<!-- <artifactItem> -->
<!-- <groupId>org.openidentityplatform.commons.geoip</groupId> -->
<!-- <artifactId>GeoLite2-City</artifactId> -->
<!-- <version>${project.version}</version> -->
<!-- <packaging>tar.gz</packaging> -->
<!-- <downloadUrl><![CDATA[ -->
<!-- http://geolite.maxmind.com/download/geoip/database/{artifactId}.{packaging} -->
<!-- ]]></downloadUrl> -->
<!-- </artifactItem> -->
<!-- <artifactItem> -->
<!-- <groupId>org.openidentityplatform.commons.geoip</groupId> -->
<!-- <artifactId>GeoLite2-ASN</artifactId> -->
<!-- <version>${project.version}</version> -->
<!-- <packaging>tar.gz</packaging> -->
<!-- <downloadUrl><![CDATA[ -->
<!-- http://geolite.maxmind.com/download/geoip/database/{artifactId}.{packaging} -->
<!-- ]]></downloadUrl> -->
<!-- </artifactItem> -->
<!-- </artifactItems> -->
<!-- </configuration> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <id>clean-external-dependencies</id> -->
<!-- <phase>clean</phase> -->
<!-- <goals> -->
<!-- <goal>clean-external</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- <execution> -->
<!-- <id>resolve-install-external-dependencies</id> -->
<!-- <phase>generate-resources</phase> -->
<!-- <goals> -->
<!-- <goal>resolve-external</goal> -->
<!-- <goal>install-external</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- <execution> -->
<!-- <id>deploy-external-dependencies</id> -->
<!-- <phase>deploy</phase> -->
<!-- <goals> -->
<!-- <goal>deploy-external</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->
<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-dependency-plugin</artifactId> -->
<!-- <configuration> -->
<!-- <stripVersion>true</stripVersion> -->
<!-- </configuration> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <id>extract **/*.mmdb</id> -->
<!-- <phase>generate-resources</phase> -->
<!-- <goals> -->
<!-- <goal>unpack</goal> -->
<!-- </goals> -->
<!-- <configuration> -->
<!-- <artifactItems> -->
<!-- <artifactItem> -->
<!-- <groupId>org.openidentityplatform.commons.geoip</groupId> -->
<!-- <artifactId>GeoLite2-City</artifactId> -->
<!-- <version>${project.version}</version> -->
<!-- <type>tar.gz</type> -->
<!-- <includes>**/*.mmdb</includes> -->
<!-- </artifactItem> -->
<!-- <artifactItem> -->
<!-- <groupId>org.openidentityplatform.commons.geoip</groupId> -->
<!-- <artifactId>GeoLite2-ASN</artifactId> -->
<!-- <version>${project.version}</version> -->
<!-- <type>tar.gz</type> -->
<!-- <includes>**/*.mmdb</includes> -->
<!-- </artifactItem> -->
<!-- </artifactItems> -->
<!-- </configuration> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->
<!-- <plugin> -->
<!-- <artifactId>maven-antrun-plugin</artifactId> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <id>copy **/*.mmdb</id> -->
<!-- <phase>generate-resources</phase> -->
<!-- <configuration> -->
<!-- <target> -->
<!-- <copy todir="src/main/resources" flatten="true"> -->
<!-- <fileset dir="target/dependency"> -->
<!-- <include name="**/*.mmdb"/> -->
<!-- </fileset> -->
<!-- </copy> -->
<!-- </target> -->
<!-- </configuration> -->
<!-- <goals> -->
<!-- <goal>run</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->
</plugins>
</build>
</project>