This library is distributed under the BSD License. See: https://raw.github.com/RIPE-NCC/ipresource/master/LICENSE.txt
This library contains a representation of IP number resources:
- IPv4 addresses
- IPv6 addresses
- Autonomous System Numbers (AS numbers).
- Ranges of the above (
AsnRange
,IpRange
which both extendIpResourceRange
) - Sets of number resources (
ImmutableResourceSet
andIpResourceSet
)
Finally, an optimised IntervalMap
allows you to keep track of many
number resources including support for querying the (closest)
enclosing resources, more specifics, etc.
To release ipresource to the central maven repositories you should:
- Update the version in
pom.xml
(e.g. 1.50) and commit this onmain
. - Create an annotated tag
ipresource-<version>
(e.g.ipresource-1.50
). - Push to github (
git push
) and then push tags to github (git push --tags
). - The RIPE NCC gitlab CI/CD environment will pick this up and publish to the central maven repositories.
- Once this succeeds, update the
pom.xml
version to the new snapshot version, e.g.1.51-SNAPSHOT
.