From 018e6af7e0fb2711314ef5562031f8cd737f25d4 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Tue, 28 Jul 2020 02:22:19 -0400 Subject: [PATCH] Build cleanups (#4) * Fix javadoc error so javadoc JAR can be built * Add source & javadoc build plugins. Set source encoding --- pom.xml | 33 +++++++++++++++++++ .../mit/simile/vicino/vptree/NodeSorter.java | 6 ++-- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 16e57f7..8543d9f 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,9 @@ scm:git:https://github.com/OpenRefine/simile-vicino.git https://github.com/OpenRefine/simile-vicino + + UTF-8 + com.wcohen @@ -51,4 +54,34 @@ 20050911 + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + attach-javadocs + + jar + + + + + + diff --git a/src/edu/mit/simile/vicino/vptree/NodeSorter.java b/src/edu/mit/simile/vicino/vptree/NodeSorter.java index 140891c..1e0284a 100755 --- a/src/edu/mit/simile/vicino/vptree/NodeSorter.java +++ b/src/edu/mit/simile/vicino/vptree/NodeSorter.java @@ -10,10 +10,10 @@ public void sort(Node nodes[]) { } /** - * Sort array of Objects using the QuickSort algorithm. + * Sort array of Nodes using the QuickSort algorithm. * - * @param s - * An Object[]. + * @param nodes + * An array of Node * @param lo * The current lower bound. * @param hi