Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
essiembre committed Aug 26, 2016
2 parents f5a060f + be3fa22 commit 99d9094
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 25 deletions.
69 changes: 54 additions & 15 deletions norconex-collector-filesystem/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2013-2015 Norconex Inc.
Copyright 2013-2016 Norconex Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.norconex.collectors</groupId>
<artifactId>norconex-collector-filesystem</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
<name>Norconex Filesystem Collector</name>

<properties>
Expand Down Expand Up @@ -60,20 +60,40 @@
<dependency>
<groupId>com.norconex.collectors</groupId>
<artifactId>norconex-collector-core</artifactId>
<version>1.5.0</version>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.2</version>
<version>2.9.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs2</artifactId>
<version>2.0</version>
<version>2.1</version>
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.norconex.commons</groupId>
<artifactId>norconex-commons-lang</artifactId>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<resources>
<resource>
Expand Down Expand Up @@ -202,9 +222,20 @@
<configuration>
<overview>${basedir}/src/main/javadoc/overview.html</overview>
<show>protected</show>
<detectLinks>false</detectLinks>
<nodeprecated>false</nodeprecated>
<source>1.7</source>
<detectLinks>false</detectLinks>
<links>
<link>https://www.norconex.com/product/commons-lang/apidocs/</link>
<link>https://www.norconex.com/jef/api/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/importer/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/committer-core/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/collector-core/latest/apidocs/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.4/</link>
<link>https://commons.apache.org/proper/commons-vfs/apidocs/</link>
<link>https://commons.apache.org/proper/commons-configuration/javadocs/v1.10/apidocs/</link>
<link>http://www.joda.org/joda-time/apidocs/</link>
</links>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -347,7 +378,7 @@
<header><![CDATA[
<style>div.aboutLanguage .siteLink {font-size: 2em;}</style>
<span class="siteLink">
<a href="http://www.norconex.com/collectors/collector-filesystem">Norconex Filesystem Collector</a>
<a href="https://www.norconex.com/collectors/collector-filesystem">Norconex Filesystem Collector</a>
</span>
]]>
</header>
Expand All @@ -365,16 +396,24 @@
</script>
<a style="font-size: 1.4em;" href="https://github.com/norconex/collector-filesystem/issues">Submit an Issue</a>
&nbsp;&nbsp;|&nbsp;&nbsp;
<a style="font-size: 1.4em;" href="http://www.norconex.com">www.norconex.com</a>
<a style="font-size: 1.4em;" href="https://www.norconex.com">www.norconex.com</a>
]]>
</footer>
<show>protected</show>
<detectLinks>false</detectLinks>
<nodeprecated>false</nodeprecated>
<source>1.7</source>
<detectLinks>false</detectLinks>
<links>
<link>http://db.apache.org/derby/docs/10.9/publishedapi/jdbc4/</link>
</links>
<link>https://www.norconex.com/product/commons-lang/apidocs/</link>
<link>https://www.norconex.com/jef/api/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/importer/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/committer-core/latest/apidocs/</link>
<link>https://www.norconex.com/collectors/collector-core/latest/apidocs/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.4/</link>
<link>https://commons.apache.org/proper/commons-vfs/apidocs/</link>
<link>https://commons.apache.org/proper/commons-configuration/javadocs/v1.10/apidocs/</link>
<link>http://www.joda.org/joda-time/apidocs/</link>
</links>
</configuration>
<reportSets>
<reportSet>
Expand All @@ -392,9 +431,9 @@

<organization>
<name>Norconex Inc.</name>
<url>http://www.norconex.com</url>
<url>https://www.norconex.com</url>
</organization>
<url>http://www.norconex.com/collectors/collector-filesystem</url>
<url>https://www.norconex.com/collectors/collector-filesystem</url>
<description>Norconex Filesystem Collector walks through directories and files and extracts their content for integration into any target repository. It aims to be very flexible, easy to extend, and portable</description>
<issueManagement>
<system>GitHub</system>
Expand All @@ -412,7 +451,7 @@
<name>Pascal Essiembre</name>
<email>[email protected]</email>
<organization>Norconex Inc.</organization>
<organizationUrl>http://www.norconex.com</organizationUrl>
<organizationUrl>https://www.norconex.com</organizationUrl>
<roles>
<role>project leader</role>
<role>developer</role>
Expand All @@ -424,7 +463,7 @@
<name>Pascal Dimassimo</name>
<email>[email protected]</email>
<organization>Norconex Inc.</organization>
<organizationUrl>http://www.norconex.com</organizationUrl>
<organizationUrl>https://www.norconex.com</organizationUrl>
<roles>
<role>developer</role>
</roles>
Expand Down
17 changes: 13 additions & 4 deletions norconex-collector-filesystem/src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@
</properties>
<body>

<release version="2.6.0" date="2016-08-25" description="Feature release">
<action dev="essiembre" type="update">
Dependency updates: Norconex Collector Core 1.6.0,
Apache Commons VFS 2.1, Joda Time 2.9.4, JSoup 1.8.3, and Norconex
Importer 2.6.0, which introduces new document parsing/manipulation
features.
</action>
</release>

<release version="2.5.0" date="2016-06-03" description="Minor release">
<action dev="essiembre" type="update">
MVStore is now the default URL crawl store.
</action>
<action dev="essiembre" type="update">
Maven dependency updates: Norconex Collector Core 1.5.0.
Dependency updates: Norconex Collector Core 1.5.0.
</action>
<action dev="essiembre" type="update">
JDBCCrawlDataStoreFactory now deprecated in favor of
Expand All @@ -30,14 +39,14 @@
installation root directory.
</action>
<action dev="essiembre" type="update">
Maven dependency updates: Norconex Collector Core 1.4.0,
Dependency updates: Norconex Collector Core 1.4.0,
Joda Time 2.9.2.
</action>
</release>

<release version="2.3.0" date="2015-11-06" description="Feature release">
<action dev="essiembre" type="update">
Maven dependency updates: Norconex Collector Core 1.3.0 and Norconex
Dependency updates: Norconex Collector Core 1.3.0 and Norconex
Importer 2.4.0, which introduces many new features.
</action>
</release>
Expand All @@ -57,7 +66,7 @@
specifications entries (matching Maven pom.xml).
</action>
<action dev="essiembre" type="update">
Maven dependency updates: Norconex Collector Core 1.2.0.
Dependency updates: Norconex Collector Core 1.2.0.
</action>
<action dev="essiembre" type="update">
Improved/fixed javadoc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2013-2014 Norconex Inc.
/* Copyright 2013-2016 Norconex Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,7 +29,6 @@

import com.norconex.collector.core.checksum.IMetadataChecksummer;
import com.norconex.collector.core.crawler.AbstractCrawlerConfig;
import com.norconex.collector.core.data.store.impl.mvstore.MVStoreCrawlDataStoreFactory;
import com.norconex.collector.fs.checksum.impl.FileMetadataChecksummer;
import com.norconex.collector.fs.doc.IFileDocumentProcessor;
import com.norconex.commons.lang.config.ConfigurationUtil;
Expand Down Expand Up @@ -59,7 +58,6 @@ public class FilesystemCrawlerConfig extends AbstractCrawlerConfig {

public FilesystemCrawlerConfig() {
super();
setCrawlDataStoreFactory(new MVStoreCrawlDataStoreFactory());
}

public String[] getStartPaths() {
Expand Down
4 changes: 2 additions & 2 deletions norconex-collector-filesystem/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<div style="text-align: center; font-weight: bold;">
&nbsp;&nbsp;&nbsp;&nbsp;
<a target="_top" href="http://www.norconex.com/collectors/collector-filesystem/">Web Site</a>
<a target="_top" href="https://www.norconex.com/collectors/collector-filesystem/">Web Site</a>
&nbsp;&nbsp;|&nbsp;&nbsp;
<a target="_top" href="http://www.norconex.com/collectors/collector-filesystem/support">Support</a>
<a target="_top" href="https://www.norconex.com/collectors/collector-filesystem/support">Support</a>
&nbsp;&nbsp;|&nbsp;&nbsp;
<a target="_top" href="https://github.com/norconex/collector-filesystem/issues">Issues</a>
</div>
Expand Down
10 changes: 9 additions & 1 deletion norconex-collector-filesystem/src/main/scripts/collector-fs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/bin/sh

cd $(dirname $0)
export ROOT_DIR=$(dirname $0)
export ROOT_DIR=$(realpath $(dirname $0))

# Third-party libraries sometimes have to create and write to temporary files.
# By default those are created in your system "temp" folder
# (usually /tmp/ under Linux/Unix).
# To change the temporary location those libraries will use, add the
# following to the java command below (replacing the path):
#
# -Djava.io.tmpdir=/path/to/tmp

java -Dlog4j.configuration="file:${ROOT_DIR}/log4j.properties" -Dfile.encoding=UTF8 -cp "./lib/*:./classes" com.norconex.collector.fs.FilesystemCollector "$@"

0 comments on commit 99d9094

Please sign in to comment.