diff --git a/.gitignore b/.gitignore index da9c0b8..58078c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.iml /out/ +/target/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..bc35c7c --- /dev/null +++ b/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + org.zabuzard.closy + closy + 1.1 + + + 9 + 9 + UTF-8 + + + \ No newline at end of file diff --git a/de.zabuza.closy/src/module-info.java b/src/main/java/module-info.java similarity index 61% rename from de.zabuza.closy/src/module-info.java rename to src/main/java/module-info.java index 46787cb..05845d9 100644 --- a/de.zabuza.closy/src/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 de.zabuza.closy { - exports de.zabuza.closy.external; +module org.zabuzard.closy { + exports org.zabuzard.closy.external; } \ No newline at end of file diff --git a/de.zabuza.closy/src/de/zabuza/closy/external/Metric.java b/src/main/java/org/zabuzard/closy/external/Metric.java similarity index 96% rename from de.zabuza.closy/src/de/zabuza/closy/external/Metric.java rename to src/main/java/org/zabuzard/closy/external/Metric.java index 4e1b7a4..f876f1b 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/external/Metric.java +++ b/src/main/java/org/zabuzard/closy/external/Metric.java @@ -1,4 +1,4 @@ -package de.zabuza.closy.external; +package org.zabuzard.closy.external; /** * Interface for a metric defined on a given type of objects. diff --git a/de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputation.java b/src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java similarity index 98% rename from de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputation.java rename to src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java index b46aba0..4c83abc 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputation.java +++ b/src/main/java/org/zabuzard/closy/external/NearestNeighborComputation.java @@ -1,4 +1,4 @@ -package de.zabuza.closy.external; +package org.zabuzard.closy.external; import java.util.Collection; import java.util.Optional; diff --git a/de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputations.java b/src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java similarity index 91% rename from de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputations.java rename to src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java index 27d666e..4d94727 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/external/NearestNeighborComputations.java +++ b/src/main/java/org/zabuzard/closy/external/NearestNeighborComputations.java @@ -1,6 +1,6 @@ -package de.zabuza.closy.external; +package org.zabuzard.closy.external; -import de.zabuza.closy.internal.CoverTree; +import org.zabuzard.closy.internal.CoverTree; /** * Provides utility methods for nearest neighbor computations. diff --git a/de.zabuza.closy/src/de/zabuza/closy/external/package-info.java b/src/main/java/org/zabuzard/closy/external/package-info.java similarity index 68% rename from de.zabuza.closy/src/de/zabuza/closy/external/package-info.java rename to src/main/java/org/zabuzard/closy/external/package-info.java index f2452d2..40d1f56 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/external/package-info.java +++ b/src/main/java/org/zabuzard/closy/external/package-info.java @@ -1,4 +1,4 @@ /** * Public interface for nearest neighbor computations offered by Closy. */ -package de.zabuza.closy.external; \ No newline at end of file +package org.zabuzard.closy.external; \ No newline at end of file diff --git a/de.zabuza.closy/src/de/zabuza/closy/internal/CoverTree.java b/src/main/java/org/zabuzard/closy/internal/CoverTree.java similarity index 99% rename from de.zabuza.closy/src/de/zabuza/closy/internal/CoverTree.java rename to src/main/java/org/zabuzard/closy/internal/CoverTree.java index c9ae2d7..223ef84 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/internal/CoverTree.java +++ b/src/main/java/org/zabuzard/closy/internal/CoverTree.java @@ -1,7 +1,7 @@ -package de.zabuza.closy.internal; +package org.zabuzard.closy.internal; -import de.zabuza.closy.external.Metric; -import de.zabuza.closy.external.NearestNeighborComputation; +import org.zabuzard.closy.external.Metric; +import org.zabuzard.closy.external.NearestNeighborComputation; import java.util.*; import java.util.stream.Collectors; diff --git a/de.zabuza.closy/src/de/zabuza/closy/internal/Node.java b/src/main/java/org/zabuzard/closy/internal/Node.java similarity index 98% rename from de.zabuza.closy/src/de/zabuza/closy/internal/Node.java rename to src/main/java/org/zabuzard/closy/internal/Node.java index 2bdb7e5..d97bb80 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/internal/Node.java +++ b/src/main/java/org/zabuzard/closy/internal/Node.java @@ -1,4 +1,4 @@ -package de.zabuza.closy.internal; +package org.zabuzard.closy.internal; import java.util.ArrayList; import java.util.Collections; diff --git a/de.zabuza.closy/src/de/zabuza/closy/internal/package-info.java b/src/main/java/org/zabuzard/closy/internal/package-info.java similarity index 77% rename from de.zabuza.closy/src/de/zabuza/closy/internal/package-info.java rename to src/main/java/org/zabuzard/closy/internal/package-info.java index 17e61e4..2e5325b 100644 --- a/de.zabuza.closy/src/de/zabuza/closy/internal/package-info.java +++ b/src/main/java/org/zabuzard/closy/internal/package-info.java @@ -1,4 +1,4 @@ /** * Internal interface for nearest neighbor computations offered by Closy, contains the underlying implementation. */ -package de.zabuza.closy.internal; \ No newline at end of file +package org.zabuzard.closy.internal; \ No newline at end of file