Skip to content

Commit

Permalink
Build cleanups (#4)
Browse files Browse the repository at this point in the history
* Fix javadoc error so javadoc JAR can be built

* Add source & javadoc build plugins. Set source encoding
  • Loading branch information
tfmorris authored Jul 28, 2020
1 parent 653dc6f commit 018e6af
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
33 changes: 33 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<developerConnection>scm:git:https://github.com/OpenRefine/simile-vicino.git</developerConnection>
<url>https://github.com/OpenRefine/simile-vicino</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.wcohen</groupId>
Expand All @@ -51,4 +54,34 @@
<version>20050911</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
6 changes: 3 additions & 3 deletions src/edu/mit/simile/vicino/vptree/NodeSorter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 018e6af

Please sign in to comment.