Skip to content

Commit

Permalink
Converted to maven, module/package renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabuzard committed Feb 12, 2021
1 parent d0eecc5 commit 541fbdb
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.iml
/out/
/target/
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>

<groupId>org.zabuzard.closy</groupId>
<artifactId>closy</artifactId>
<version>1.1</version>

<properties>
<maven.compiler.source>9</maven.compiler.source>
<maven.compiler.target>9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.zabuza.closy.external;
package org.zabuzard.closy.external;

import java.util.Collection;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Public interface for nearest neighbor computations offered by Closy.
*/
package de.zabuza.closy.external;
package org.zabuzard.closy.external;
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.zabuza.closy.internal;
package org.zabuzard.closy.internal;

import java.util.ArrayList;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Internal interface for nearest neighbor computations offered by Closy, contains the underlying implementation.
*/
package de.zabuza.closy.internal;
package org.zabuzard.closy.internal;

0 comments on commit 541fbdb

Please sign in to comment.