You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by jn...@apache.org on 2011/06/04 21:21:52 UTC
svn commit: r1131472 - in /nutch/trunk: CHANGES.txt build.xml
default.properties ivy/ivy-2.1.0.jar ivy/ivy-2.2.0.jar ivy/ivy.xml
ivy/mvn.template pom.xml
Author: jnioche
Date: Sat Jun 4 19:21:52 2011
New Revision: 1131472
URL: http://svn.apache.org/viewvc?rev=1131472&view=rev
Log:
NUTCH-995 Generate POM file using the Ivy makepom task
Added:
nutch/trunk/ivy/ivy-2.2.0.jar (with props)
nutch/trunk/ivy/mvn.template
Removed:
nutch/trunk/ivy/ivy-2.1.0.jar
Modified:
nutch/trunk/CHANGES.txt
nutch/trunk/build.xml
nutch/trunk/default.properties
nutch/trunk/ivy/ivy.xml
nutch/trunk/pom.xml
Modified: nutch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1131472&r1=1131471&r2=1131472&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Sat Jun 4 19:21:52 2011
@@ -2,6 +2,8 @@ Nutch Change Log
Release 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)
Modified: nutch/trunk/build.xml
URL: http://svn.apache.org/viewvc/nutch/trunk/build.xml?rev=1131472&r1=1131471&r2=1131472&view=diff
==============================================================================
--- nutch/trunk/build.xml (original)
+++ nutch/trunk/build.xml Sat Jun 4 19:21:52 2011
@@ -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" />
Modified: nutch/trunk/default.properties
URL: http://svn.apache.org/viewvc/nutch/trunk/default.properties?rev=1131472&r1=1131471&r2=1131472&view=diff
==============================================================================
--- nutch/trunk/default.properties (original)
+++ nutch/trunk/default.properties Sat Jun 4 19:21:52 2011
@@ -1,4 +1,3 @@
-Name=Nutch
name=nutch
version=2.0-dev
final.name=${name}-${version}
@@ -44,7 +43,7 @@ runtime.dir=./runtime
runtime.deploy=${runtime.dir}/deploy
runtime.local=${runtime.dir}/local
-ivy.version=2.1.0
+ivy.version=2.2.0
ivy.dir=${basedir}/ivy
ivy.file=${ivy.dir}/ivy.xml
ivy.jar=${ivy.dir}/ivy-${ivy.version}.jar
Added: nutch/trunk/ivy/ivy-2.2.0.jar
URL: http://svn.apache.org/viewvc/nutch/trunk/ivy/ivy-2.2.0.jar?rev=1131472&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nutch/trunk/ivy/ivy-2.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: nutch/trunk/ivy/ivy.xml
URL: http://svn.apache.org/viewvc/nutch/trunk/ivy/ivy.xml?rev=1131472&r1=1131471&r2=1131472&view=diff
==============================================================================
--- nutch/trunk/ivy/ivy.xml (original)
+++ nutch/trunk/ivy/ivy.xml Sat Jun 4 19:21:52 2011
@@ -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>
Added: nutch/trunk/ivy/mvn.template
URL: http://svn.apache.org/viewvc/nutch/trunk/ivy/mvn.template?rev=1131472&view=auto
==============================================================================
--- nutch/trunk/ivy/mvn.template (added)
+++ nutch/trunk/ivy/mvn.template Sat Jun 4 19:21:52 2011
@@ -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>ab@apache.org</email>
+ </developer>
+ <developer>
+ <id>mattmann</id>
+ <name>Chris A. Mattmann</name>
+ <email>mattmann@apache.org</email>
+ </developer>
+ <developer>
+ <id>kubes</id>
+ <name>Dennis Kubes</name>
+ <email>kubes@apache.org</email>
+ </developer>
+ <developer>
+ <id>dogacan</id>
+ <name>Dogacan Güney</name>
+ <email>dogacan@apache.org</email>
+ </developer>
+ <developer>
+ <id>jnioche</id>
+ <name>Julien Nioche</name>
+ <email>jnioche@apache.org</email>
+ </developer>
+ <developer>
+ <id>otis</id>
+ <name>Otis GospodnetiÄ</name>
+ <email>otis@apache.org</email>
+ </developer>
+ <developer>
+ <id>siren</id>
+ <name>Sami Siren</name>
+ <email>siren@apache.org</email>
+ </developer>
+ <developer>
+ <id>markus</id>
+ <name>Markus Jelsma</name>
+ <email>markus@apache.org</email>
+ </developer>
+ <developer>
+ <id>alexis</id>
+ <name>Alexis Detlegrode</name>
+ <email>alexis@apache.org</email>
+ </developer>
+ </developers>
+ <build>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+ <testResources>
+ <testResource>
+ <directory>src/testresources</directory>
+ </testResource>
+ </testResources>
+ </build>
+</project>
+
Modified: nutch/trunk/pom.xml
URL: http://svn.apache.org/viewvc/nutch/trunk/pom.xml?rev=1131472&r1=1131471&r2=1131472&view=diff
==============================================================================
--- nutch/trunk/pom.xml (original)
+++ nutch/trunk/pom.xml Sat Jun 4 19:21:52 2011
@@ -15,33 +15,28 @@
See the License for the specific language governing permissions and
limitations 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>siren@apache.org</email>
</developer>
+ <developer>
+ <id>markus</id>
+ <name>Markus Jelsma</name>
+ <email>markus@apache.org</email>
+ </developer>
+ <developer>
+ <id>alexis</id>
+ <name>Alexis Detlegrode</name>
+ <email>alexis@apache.org</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>
+