From 86ddf09f162510afb1107ba22d1a9fc922595f93 Mon Sep 17 00:00:00 2001 From: Zabuzard Date: Fri, 12 Feb 2021 13:00:34 +0100 Subject: [PATCH] Moved group/module/package to io.github.zabuzard, added metadata to pom --- README.md | 4 +-- pom.xml | 32 +++++++++++++++++-- .../zabuzard/closy/external/Metric.java | 2 +- .../external/NearestNeighborComputation.java | 2 +- .../external/NearestNeighborComputations.java | 4 +-- .../zabuzard/closy/external/package-info.java | 2 +- .../zabuzard/closy/internal/CoverTree.java | 6 ++-- .../github}/zabuzard/closy/internal/Node.java | 2 +- .../zabuzard/closy/internal/package-info.java | 2 +- src/main/java/module-info.java | 4 +-- 10 files changed, 44 insertions(+), 16 deletions(-) rename src/main/java/{org => io/github}/zabuzard/closy/external/Metric.java (96%) rename src/main/java/{org => io/github}/zabuzard/closy/external/NearestNeighborComputation.java (97%) rename src/main/java/{org => io/github}/zabuzard/closy/external/NearestNeighborComputations.java (90%) rename src/main/java/{org => io/github}/zabuzard/closy/external/package-info.java (65%) rename src/main/java/{org => io/github}/zabuzard/closy/internal/CoverTree.java (99%) rename src/main/java/{org => io/github}/zabuzard/closy/internal/Node.java (98%) rename src/main/java/{org => io/github}/zabuzard/closy/internal/package-info.java (74%) diff --git a/README.md b/README.md index 9cae3db..3fe90b0 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ Maven: ```xml - org.zabuzard.closy + io.github.zabuzard.closy closy - 1.1 + 1.2 ``` diff --git a/pom.xml b/pom.xml index bc35c7c..807d63d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,9 +4,37 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.zabuzard.closy + io.github.zabuzard.closy closy - 1.1 + 1.2 + jar + + Closy + Closy is a library that provides fast and generic solutions for nearest neighbor search (NNS) + + https://github.com/Zabuzard/Closy + + + + GNU General Public License v3.0 + https://www.gnu.org/licenses/gpl-3.0.en.html + + + + + + Daniel Tischner + zabuza.dev@gmail.com + GitHub/Zabuzard + https://github.com/Zabuzard + + + + + scm:git:git://github.com/Zabuzard/Closy.git + scm:git:ssh://github.com:Zabuzard/Closy.git + http://github.com/Zabuzard/Closy/tree/master + 9 diff --git a/src/main/java/org/zabuzard/closy/external/Metric.java b/src/main/java/io/github/zabuzard/closy/external/Metric.java similarity index 96% rename from src/main/java/org/zabuzard/closy/external/Metric.java rename to src/main/java/io/github/zabuzard/closy/external/Metric.java index f876f1b..b458fa5 100644 --- a/src/main/java/org/zabuzard/closy/external/Metric.java +++ b/src/main/java/io/github/zabuzard/closy/external/Metric.java @@ -1,4 +1,4 @@ -package org.zabuzard.closy.external; +package io.github.zabuzard.closy.external; /** * Interface for a metric defined on a given type of objects. diff --git a/src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java b/src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputation.java similarity index 97% rename from src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java rename to src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputation.java index 4c83abc..43d78a1 100644 --- a/src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java +++ b/src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputation.java @@ -1,4 +1,4 @@ -package org.zabuzard.closy.external; +package io.github.zabuzard.closy.external; import java.util.Collection; import java.util.Optional; diff --git a/src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java b/src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputations.java similarity index 90% rename from src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java rename to src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputations.java index 4d94727..f996906 100644 --- a/src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java +++ b/src/main/java/io/github/zabuzard/closy/external/NearestNeighborComputations.java @@ -1,6 +1,6 @@ -package org.zabuzard.closy.external; +package io.github.zabuzard.closy.external; -import org.zabuzard.closy.internal.CoverTree; +import io.github.zabuzard.closy.internal.CoverTree; /** * Provides utility methods for nearest neighbor computations. diff --git a/src/main/java/org/zabuzard/closy/external/package-info.java b/src/main/java/io/github/zabuzard/closy/external/package-info.java similarity index 65% rename from src/main/java/org/zabuzard/closy/external/package-info.java rename to src/main/java/io/github/zabuzard/closy/external/package-info.java index 40d1f56..34c368d 100644 --- a/src/main/java/org/zabuzard/closy/external/package-info.java +++ b/src/main/java/io/github/zabuzard/closy/external/package-info.java @@ -1,4 +1,4 @@ /** * Public interface for nearest neighbor computations offered by Closy. */ -package org.zabuzard.closy.external; \ No newline at end of file +package io.github.zabuzard.closy.external; \ No newline at end of file diff --git a/src/main/java/org/zabuzard/closy/internal/CoverTree.java b/src/main/java/io/github/zabuzard/closy/internal/CoverTree.java similarity index 99% rename from src/main/java/org/zabuzard/closy/internal/CoverTree.java rename to src/main/java/io/github/zabuzard/closy/internal/CoverTree.java index 223ef84..bd9a5be 100644 --- a/src/main/java/org/zabuzard/closy/internal/CoverTree.java +++ b/src/main/java/io/github/zabuzard/closy/internal/CoverTree.java @@ -1,7 +1,7 @@ -package org.zabuzard.closy.internal; +package io.github.zabuzard.closy.internal; -import org.zabuzard.closy.external.Metric; -import org.zabuzard.closy.external.NearestNeighborComputation; +import io.github.zabuzard.closy.external.Metric; +import io.github.zabuzard.closy.external.NearestNeighborComputation; import java.util.*; import java.util.stream.Collectors; diff --git a/src/main/java/org/zabuzard/closy/internal/Node.java b/src/main/java/io/github/zabuzard/closy/internal/Node.java similarity index 98% rename from src/main/java/org/zabuzard/closy/internal/Node.java rename to src/main/java/io/github/zabuzard/closy/internal/Node.java index d97bb80..13300ee 100644 --- a/src/main/java/org/zabuzard/closy/internal/Node.java +++ b/src/main/java/io/github/zabuzard/closy/internal/Node.java @@ -1,4 +1,4 @@ -package org.zabuzard.closy.internal; +package io.github.zabuzard.closy.internal; import java.util.ArrayList; import java.util.Collections; diff --git a/src/main/java/org/zabuzard/closy/internal/package-info.java b/src/main/java/io/github/zabuzard/closy/internal/package-info.java similarity index 74% rename from src/main/java/org/zabuzard/closy/internal/package-info.java rename to src/main/java/io/github/zabuzard/closy/internal/package-info.java index 2e5325b..a8a1a6a 100644 --- a/src/main/java/org/zabuzard/closy/internal/package-info.java +++ b/src/main/java/io/github/zabuzard/closy/internal/package-info.java @@ -1,4 +1,4 @@ /** * Internal interface for nearest neighbor computations offered by Closy, contains the underlying implementation. */ -package org.zabuzard.closy.internal; \ No newline at end of file +package io.github.zabuzard.closy.internal; \ No newline at end of file diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 05845d9..cc5162a 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -1,6 +1,6 @@ /** * Closy is a library that provides fast and generic solutions for nearest neighbor search (NNS). */ -module org.zabuzard.closy { - exports org.zabuzard.closy.external; +module io.github.zabuzard.closy { + exports io.github.zabuzard.closy.external; } \ No newline at end of file