Skip to content

Commit

Permalink
rolling back fix for heritrix version, hardcode it
Browse files Browse the repository at this point in the history
  • Loading branch information
bnfklm committed Oct 11, 2016
1 parent 5170e81 commit 1bfe6b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions common/common-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,6 @@
<groupId>org.netpreserve.commons</groupId>
<artifactId>webarchive-commons</artifactId>
</dependency>

<dependency>
<groupId>org.archive.heritrix</groupId>
<artifactId>heritrix-engine</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public final class Constants {
private static final String HERITRIX_VERSION = "1.14.4";

/** Current version of Heritrix 3 used by netarkivet-code. */
private static String HERITRIX3_VERSION;
private static final String HERITRIX3_VERSION = "3.3.0-LBS-2016-02";

/**
* Read this much data when copying data from a file channel. Note that due to a bug in java, this should never be
Expand Down Expand Up @@ -154,9 +154,6 @@ public static SimpleDateFormat getIsoDateFormatter() {
public static final String PROJECT_WEBSITE = "https://sbforge.org/display/NAS";

public static String getHeritrix3VersionString() {
if (HERITRIX3_VERSION == null) {
HERITRIX3_VERSION = org.archive.net.UURI.class.getPackage().getSpecificationVersion();
}
return HERITRIX3_VERSION;
}
}

0 comments on commit 1bfe6b7

Please sign in to comment.