MVN

com.ip2location : ip2location-java

Maven & Gradle

Apr 28, 2023
1 usages
47 stars

IP2Location Java Component · IP2Location Java Component enables applications to get info from IP address such as the visitor’s country, region, city, latitude, longitude, ZIP code, ISP name, domain name, time zone, connection speed, IDD code, area code, weather station code, weather station name, MCC, MNC, mobile brand name, elevation, usage type, address type, IAB category, district, autonomous system number (ASN) and autonomous system (AS).

<dependency>
    <groupId>com.ip2location</groupId>
    <artifactId>ip2location-java</artifactId>
    <version>8.11.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.ip2location : ip2location-java to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 8.11.1

All Versions

Choose a version of com.ip2location : ip2location-java to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
8.11.x
ip2location-java-8.11.1
ip2location-java-8.11.0
8.10.x
ip2location-java-8.10.0
8.9.x
ip2location-java-8.9.1
ip2location-java-8.9.0
8.8.x
ip2location-java-8.8.0
8.7.x
ip2location-java-8.7.0
8.6.x
ip2location-java-8.6.0
8.5.x
ip2location-java-8.5.2
ip2location-java-8.5.1
ip2location-java-8.5.0
8.4.x
ip2location-java-8.4.0
8.3.x
ip2location-java-8.3.0

How to add a dependency to Maven

Add the following com.ip2location : ip2location-java maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.ip2location</groupId>
    <artifactId>ip2location-java</artifactId>
    <version>8.11.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.ip2location : ip2location-java gradle dependency to your build.gradle file:

implementation 'com.ip2location:ip2location-java:8.11.1'

Gradle Kotlin DSL: Add the following com.ip2location : ip2location-java gradle kotlin dependency to your build.gradle.kts file:

implementation("com.ip2location:ip2location-java:8.11.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.ip2location : ip2location-java sbt scala dependency to your build.sbt file:

libraryDependencies += "com.ip2location" % "ip2location-java" % "8.11.1"