You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by th...@apache.org on 2017/02/25 14:34:53 UTC

[nutch] 02/03: Upstream changes, upgrade to JDK 8, add license header

This is an automated email from the ASF dual-hosted git repository.

thammegowda pushed a commit to branch NUTCH-2292
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit 9c25a8c73c71cadb906624587ce14f4587b4b153
Author: Thamme Gowda <th...@apache.org>
AuthorDate: Fri Feb 24 11:54:34 2017 -0800

    Upstream changes, upgrade to JDK 8, add license header
---
 .gitignore                                           |  6 +++++-
 .../org/apache/nutch/fetcher/FetcherThreadEvent.java |  0
 .../apache/nutch/fetcher/FetcherThreadPublisher.java |  0
 .../org/apache/nutch/publisher/NutchPublisher.java   |  0
 .../org/apache/nutch/publisher/NutchPublishers.java  |  0
 .../java/org/apache/nutch/service/SeedManager.java   |  0
 .../apache/nutch/service/impl/SeedManagerImpl.java   |  0
 pom.xml                                              | 20 ++++++++++++++++++--
 8 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7a70f9d..e0cfd33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,8 @@ logs/
 target/
 nutch-core/target
 nutch-plugins/target
-nutch-plugins/*/target
\ No newline at end of file
+nutch-plugins/*/target
+
+# IntelliJ Idea
+.idea
+**.iml
\ No newline at end of file
diff --git a/src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java b/nutch-core/src/main/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
similarity index 100%
rename from src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
rename to nutch-core/src/main/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
diff --git a/src/java/org/apache/nutch/fetcher/FetcherThreadPublisher.java b/nutch-core/src/main/java/org/apache/nutch/fetcher/FetcherThreadPublisher.java
similarity index 100%
rename from src/java/org/apache/nutch/fetcher/FetcherThreadPublisher.java
rename to nutch-core/src/main/java/org/apache/nutch/fetcher/FetcherThreadPublisher.java
diff --git a/src/java/org/apache/nutch/publisher/NutchPublisher.java b/nutch-core/src/main/java/org/apache/nutch/publisher/NutchPublisher.java
similarity index 100%
rename from src/java/org/apache/nutch/publisher/NutchPublisher.java
rename to nutch-core/src/main/java/org/apache/nutch/publisher/NutchPublisher.java
diff --git a/src/java/org/apache/nutch/publisher/NutchPublishers.java b/nutch-core/src/main/java/org/apache/nutch/publisher/NutchPublishers.java
similarity index 100%
rename from src/java/org/apache/nutch/publisher/NutchPublishers.java
rename to nutch-core/src/main/java/org/apache/nutch/publisher/NutchPublishers.java
diff --git a/src/java/org/apache/nutch/service/SeedManager.java b/nutch-core/src/main/java/org/apache/nutch/service/SeedManager.java
similarity index 100%
rename from src/java/org/apache/nutch/service/SeedManager.java
rename to nutch-core/src/main/java/org/apache/nutch/service/SeedManager.java
diff --git a/src/java/org/apache/nutch/service/impl/SeedManagerImpl.java b/nutch-core/src/main/java/org/apache/nutch/service/impl/SeedManagerImpl.java
similarity index 100%
rename from src/java/org/apache/nutch/service/impl/SeedManagerImpl.java
rename to nutch-core/src/main/java/org/apache/nutch/service/impl/SeedManagerImpl.java
diff --git a/pom.xml b/pom.xml
index a3b9271..ff2147a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -26,8 +42,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
+                    <source>1.8</source>
+                    <target>1.8</target>
                 </configuration>
             </plugin>
             <plugin>

-- 
To stop receiving notification emails like this one, please contact
"commits@nutch.apache.org" <co...@nutch.apache.org>.