Apache Nutch is an extensible and scalable web crawler
NUTCH-995 Generate POM file using the Ivy makepom task
Julien Nioche8ea9f22267c0
diff --git a/CHANGES.txt b/CHANGES.txtindex 431f95e50..c0f54331e 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogRelease 2.0 - Current Development+* NUTCH-995 Generate POM file using the Ivy makepom task (mattmann, jnioche, Gabriele Kahlout)+* NUTCH-1003 task 'package' does not reflect the new organisation of the code (jnioche)* NUTCH-994 Fine tune Solr schema (markus)diff --git a/build.xml b/build.xmlindex 10145cadb..33f016126 100644--- a/build.xml+++ b/build.xml@@ -205,6 +205,13 @@<!-- --><!-- ================================================================== --><target name="deploy" depends="release" description="deploy to Apache Nexus">++ <!-- generate a pom file -->+ <ivy:makepom ivyfile="${ivy.file}" pomfile="${basedir}/pom.xml" templatefile="ivy/mvn.template">+ <mapping conf="default" scope="compile"/>+ <mapping conf="runtime" scope="runtime"/>+ </ivy:makepom>+<!-- sign and deploy the main artifact --><artifact:mvn><arg value="org.apache.maven.plugins:maven-gpg-plugin:1.1:sign-and-deploy-file" />diff --git a/default.properties b/default.propertiesindex ade4abccb..22a34b7fa 100644--- a/default.properties+++ b/default.properties@@ -1,4 +1,3 @@-Name=Nutchname=nutchversion=2.0-devfinal.name=${name}-${version}@@ -44,7 +43,7 @@ runtime.dir=./runtimeruntime.deploy=${runtime.dir}/deployruntime.local=${runtime.dir}/local-ivy.version=2.1.0+ivy.version=2.2.0ivy.dir=${basedir}/ivyivy.file=${ivy.dir}/ivy.xmlivy.jar=${ivy.dir}/ivy-${ivy.version}.jardiff --git a/ivy/ivy-2.1.0.jar b/ivy/ivy-2.2.0.jarsimilarity index 51%rename from ivy/ivy-2.1.0.jarrename to ivy/ivy-2.2.0.jarindex 3902b6fdc..7e73dab66 100644Binary files a/ivy/ivy-2.1.0.jar and b/ivy/ivy-2.2.0.jar differdiff --git a/ivy/ivy.xml b/ivy/ivy.xmlindex bb6a69af3..ea6dd0407 100644--- a/ivy/ivy.xml+++ b/ivy/ivy.xml@@ -12,12 +12,12 @@language governing permissions and limitations under the License. --><ivy-module version="1.0">- <info organisation="org.apache.nutch" module="${ant.project.name}">- <license name="Apache 2.0" />+ <info organisation="org.apache.nutch" module="nutch">+ <license name="Apache 2.0" url="http://www.apache.org/licenses/LICENSE-2.0.txt/"/><ivyauthor name="Apache Nutch Team" url="http://nutch.apache.org" />- <description>- Apache Nutch- </description>+ <description homepage="http://nutch.apache.org">Nutch is an open source web-search software. It builds on+ Hadoop, Tika and Solr, adding web-specifics, such as a crawler, a link-graph database etc.+ </description></info><configurations>diff --git a/ivy/mvn.template b/ivy/mvn.templatenew file mode 100644index 000000000..4ed7af4f6--- /dev/null+++ b/ivy/mvn.template@@ -0,0 +1,97 @@+<?xml version="1.0"?>+<!--+ 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/maven-v4_0_0.xsd">++ <modelVersion>4.0.0</modelVersion>+ <groupId>${ivy.pom.groupId}</groupId>+ <artifactId>${ivy.pom.artifactId}</artifactId>+ <packaging>${ivy.pom.packaging}</packaging>+ <version>${version}</version>+ <name>Apache Nutch</name>+ <description>${ivy.pom.description}</description>+ <url>${ivy.pom.url}</url>+ <licenses>+ <license>+ <name>The Apache Software License, Version 2.0</name>+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>+ <distribution>repo</distribution>+ </license>+ </licenses>+ <scm>+ <url>http://svn.apache.org/viewvc/nutch</url>+ <connection>http://svn.apache.org/viewvc/nutch</connection>+ </scm>+ <developers>+ <developer>+ <id>ab</id>+ <name>Andrzej Bialecki</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>mattmann</id>+ <name>Chris A. Mattmann</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>kubes</id>+ <name>Dennis Kubes</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>dogacan</id>+ <name>Dogacan Güney</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>jnioche</id>+ <name>Julien Nioche</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>otis</id>+ <name>Otis Gospodnetić</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>siren</id>+ <name>Sami Siren</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>markus</id>+ <name>Markus Jelsma</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>alexis</id>+ <name>Alexis Detlegrode</name>+ <email>[email protected]</email>+ </developer>+ </developers>+ <build>+ <sourceDirectory>src/java</sourceDirectory>+ <testSourceDirectory>src/test</testSourceDirectory>+ <testResources>+ <testResource>+ <directory>src/testresources</directory>+ </testResource>+ </testResources>+ </build>+</project>+diff --git a/pom.xml b/pom.xmlindex fff64a6cd..c69e37a96 100644--- a/pom.xml+++ b/pom.xml@@ -15,33 +15,28 @@See the License for the specific language governing permissions andlimitations under the License.-->-<project>- <modelVersion>4.0.0</modelVersion>- <groupId>org.apache.nutch</groupId>- <artifactId>nutch</artifactId>- <packaging>jar</packaging>- <name>Apache Nutch</name>- <version>2.0-dev</version>- <description>Nutch is open source web-search software. It builds on- Lucene and Solr, adding web-specifics, such as a crawler, a link-graph- database, parsers for HTML and other document formats, etc.- </description>- <url>http://maven.apache.org</url>- <licenses>- <license>- <name>The Apache Software License, Version 2.0</name>- <url>http://www.apache.org/licenses/LICENSE-2.0.txt- </url>- <distribution>repo</distribution>- </license>- </licenses>- <scm>- <url>http://svn.apache.org/viewvc/nutch- </url>- <connection>http://svn.apache.org/viewvc/nutch- </connection>- </scm>- <developers>+<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/maven-v4_0_0.xsd">++ <modelVersion>4.0.0</modelVersion>+ <groupId>org.apache.nutch</groupId>+ <artifactId>nutch</artifactId>+ <packaging>jar</packaging>+ <version>2.0-dev</version>+ <name>Apache Nutch</name>+ <url>http://nutch.apache.org</url>+ <licenses>+ <license>+ <name>The Apache Software License, Version 2.0</name>+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>+ <distribution>repo</distribution>+ </license>+ </licenses>+ <scm>+ <url>http://svn.apache.org/viewvc/nutch</url>+ <connection>http://svn.apache.org/viewvc/nutch</connection>+ </scm>+ <developers><developer><id>ab</id><name>Andrzej Bialecki</name>@@ -77,245 +72,183 @@<name>Sami Siren</name><email>[email protected]</email></developer>+ <developer>+ <id>markus</id>+ <name>Markus Jelsma</name>+ <email>[email protected]</email>+ </developer>+ <developer>+ <id>alexis</id>+ <name>Alexis Detlegrode</name>+ <email>[email protected]</email>+ </developer></developers>- <dependencies>- <dependency>- <groupId>org.apache.solr</groupId>- <artifactId>solr-solrj</artifactId>- <version>1.4.1</version>- </dependency>- <dependency>- <groupId>org.slf4j</groupId>- <artifactId>slf4j-log4j12</artifactId>- <version>1.5.11</version>- </dependency>- <dependency>- <groupId>org.apache.hadoop</groupId>- <artifactId>avro</artifactId>- <version>1.3.2</version>- <exclusions>- <exclusion>- <groupId>ant</groupId>- </exclusion>- </exclusions>- </dependency>- <dependency>- <groupId>commons-lang</groupId>- <artifactId>commons-lang</artifactId>- <version>2.4</version>- </dependency>- <dependency>- <groupId>commons-collections</groupId>- <artifactId>commons-collections</artifactId>- <version>3.1</version>- </dependency>- <dependency>- <groupId>commons-httpclient</groupId>- <artifactId>commons-httpclient</artifactId>- <version>3.1</version>- </dependency>- <dependency>- <groupId>commons-codec</groupId>- <artifactId>commons-codec</artifactId>- <version>1.3</version>- </dependency>- <dependency>- <groupId>org.apache.hadoop</groupId>- <artifactId>hadoop-core</artifactId>- <version>0.20.2</version>- <exclusions>- <exclusion>- <groupId>hsqldb</groupId>- <artifactId>hsqldb</artifactId>- </exclusion>- <exclusion>- <groupId>net.sf.kosmosfs</groupId>- <artifactId>kfs</artifactId>- </exclusion>- <exclusion>- <groupId>net.java.dev.jets3t</groupId>- <artifactId>jets3t</artifactId>- </exclusion>- <exclusion>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jsp</artifactId>- </exclusion>- <exclusion>- <groupId>org.eclipse.jdt</groupId>- <artifactId>core</artifactId>- </exclusion>- </exclusions>- </dependency>- <dependency>- <groupId>com.ibm.icu</groupId>- <artifactId>icu4j</artifactId>- <version>4.0.1</version>- </dependency>- <dependency>- <groupId>org.apache.lucene</groupId>- <artifactId>lucene-misc</artifactId>- <version>3.0.2</version>- </dependency>- <dependency>- <groupId>org.apache.lucene</groupId>- <artifactId>lucene-core</artifactId>- <version>3.0.2</version>- </dependency>- <dependency>- <groupId>org.apache.tika</groupId>- <artifactId>tika-core</artifactId>- <version>0.7</version>- </dependency>- <dependency>- <groupId>org.apache.tika</groupId>- <artifactId>tika-parsers</artifactId>- <version>0.7</version>- <exclusions>- <exclusion>- <groupId>org.sun.jdmk</groupId>- </exclusion>- <exclusion>- <groupId>com.sun.jmx</groupId>- </exclusion>- <exclusion>- <groupId>javax.jms</groupId>- </exclusion>- </exclusions>- </dependency>- <dependency>- <groupId>org.gora</groupId>- <artifactId>gora-core</artifactId>- <version>0.1</version>- <exclusions>- <exclusion>- <groupId>org.sun.jdmk</groupId>- </exclusion>- <exclusion>- <groupId>com.sun.jmx</groupId>- </exclusion>- <exclusion>- <groupId>javax.jms</groupId>- </exclusion>- </exclusions>- </dependency>- <dependency>- <groupId>log4j</groupId>- <artifactId>log4j</artifactId>- <version>1.2.15</version>- <exclusions>- <exclusion>- <groupId>org.sun.jdmk</groupId>- </exclusion>- <exclusion>- <groupId>com.sun.jmx</groupId>- </exclusion>- <exclusion>- <groupId>javax.jms</groupId>- </exclusion>- </exclusions>- </dependency>- <dependency>- <groupId>xerces</groupId>- <artifactId>xmlParserAPIs</artifactId>- <version>2.6.2</version>- </dependency>- <dependency>- <groupId>xerces</groupId>- <artifactId>xercesImpl</artifactId>- <version>2.6.2</version>- </dependency>- <dependency>- <groupId>oro</groupId>- <artifactId>oro</artifactId>- <version>2.0.8</version>- </dependency>- <dependency>- <groupId>com.healthmarketscience.sqlbuilder</groupId>- <artifactId>sqlbuilder</artifactId>- <version>2.0.6</version>- </dependency>- <dependency>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jetty</artifactId>- <version>6.1.22</version>- <scope>test</scope>- </dependency>- <dependency>- <groupId>junit</groupId>- <artifactId>junit</artifactId>- <version>3.8.1</version>- <scope>test</scope>- </dependency>- <dependency>- <groupId>org.apache.hadoop</groupId>- <artifactId>hadoop-test</artifactId>- <version>0.20.2</version>- <exclusions>- <exclusion>- <groupId>hsqldb</groupId>- <artifactId>hsqldb</artifactId>- </exclusion>- <exclusion>- <groupId>net.sf.kosmosfs</groupId>- <artifactId>kfs</artifactId>- </exclusion>- <exclusion>- <groupId>net.java.dev.jets3t</groupId>- <artifactId>jets3t</artifactId>- </exclusion>- <exclusion>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jsp</artifactId>- </exclusion>- <exclusion>- <groupId>org.eclipse.jdt</groupId>- <artifactId>core</artifactId>- </exclusion>- </exclusions>- <scope>test</scope>- </dependency>- <dependency>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jetty</artifactId>- <version>6.1.22</version>- <scope>test</scope>- </dependency>- <dependency>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jetty-util</artifactId>- <version>6.1.22</version>- <scope>test</scope>- </dependency>- <dependency>- <groupId>org.mortbay.jetty</groupId>- <artifactId>jetty-client</artifactId>- <version>6.1.22</version>- </dependency>- <dependency>- <groupId>org.hsqldb</groupId>- <artifactId>hsqldb</artifactId>- <version>2.0.0</version>- </dependency>- <dependency>- <groupId>org.jdom</groupId>- <artifactId>jdom</artifactId>- <version>1.1</version>- </dependency>- <dependency>- <groupId>org.gora</groupId>- <artifactId>gora-sql</artifactId>- <version>0.1</version>- <exclusions>- <exclusion>- <groupId>com.sun.jdmk</groupId>- </exclusion>- <exclusion>- <groupId>com.sun.jmx</groupId>- </exclusion>- <exclusion>- <groupId>javax.jms</groupId>- </exclusion>- </exclusions>- </dependency>- </dependencies>+ <build>+ <sourceDirectory>src/java</sourceDirectory>+ <testSourceDirectory>src/test</testSourceDirectory>+ <testResources>+ <testResource>+ <directory>src/testresources</directory>+ </testResource>+ </testResources>+ </build>+ <dependencies>+ <dependency>+ <groupId>org.apache.solr</groupId>+ <artifactId>solr-solrj</artifactId>+ <version>3.1.0</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.slf4j</groupId>+ <artifactId>slf4j-log4j12</artifactId>+ <version>1.5.5</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>commons-lang</groupId>+ <artifactId>commons-lang</artifactId>+ <version>2.4</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>commons-collections</groupId>+ <artifactId>commons-collections</artifactId>+ <version>3.1</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>commons-httpclient</groupId>+ <artifactId>commons-httpclient</artifactId>+ <version>3.1</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>commons-codec</groupId>+ <artifactId>commons-codec</artifactId>+ <version>1.3</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.apache.hadoop</groupId>+ <artifactId>hadoop-core</artifactId>+ <version>0.20.2</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>com.ibm.icu</groupId>+ <artifactId>icu4j</artifactId>+ <version>4.0.1</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>org.apache.tika</groupId>+ <artifactId>tika-core</artifactId>+ <version>0.9</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>org.apache.gora</groupId>+ <artifactId>gora-core</artifactId>+ <version>0.2-incubating</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>log4j</groupId>+ <artifactId>log4j</artifactId>+ <version>1.2.15</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>xerces</groupId>+ <artifactId>xercesImpl</artifactId>+ <version>2.9.1</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>xerces</groupId>+ <artifactId>xmlParserAPIs</artifactId>+ <version>2.6.2</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>oro</groupId>+ <artifactId>oro</artifactId>+ <version>2.0.8</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>com.healthmarketscience.sqlbuilder</groupId>+ <artifactId>sqlbuilder</artifactId>+ <version>2.0.6</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.jdom</groupId>+ <artifactId>jdom</artifactId>+ <version>1.1</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>junit</groupId>+ <artifactId>junit</artifactId>+ <version>3.8.1</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.apache.hadoop</groupId>+ <artifactId>hadoop-test</artifactId>+ <version>0.20.2</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.mortbay.jetty</groupId>+ <artifactId>jetty</artifactId>+ <version>6.1.22</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.mortbay.jetty</groupId>+ <artifactId>jetty-util</artifactId>+ <version>6.1.22</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.mortbay.jetty</groupId>+ <artifactId>jetty-client</artifactId>+ <version>6.1.22</version>+ <scope>compile</scope>+ </dependency>+ <dependency>+ <groupId>org.hsqldb</groupId>+ <artifactId>hsqldb</artifactId>+ <version>2.0.0</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.jdom</groupId>+ <artifactId>jdom</artifactId>+ <version>1.1</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.apache.gora</groupId>+ <artifactId>gora-sql</artifactId>+ <version>0.2-incubating</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.restlet.jse</groupId>+ <artifactId>org.restlet</artifactId>+ <version>2.0.5</version>+ <optional>true</optional>+ </dependency>+ <dependency>+ <groupId>org.restlet.jse</groupId>+ <artifactId>org.restlet.ext.jackson</artifactId>+ <version>2.0.5</version>+ <optional>true</optional>+ </dependency>+ </dependencies></project>+