Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The "JavaDemoApplication" page has been changed by Cristian Vulpe.
http://wiki.apache.org/nutch/JavaDemoApplication?action=diff&rev1=9&rev2=10

--------------------------------------------------

  For a standalone application, one might want to use Apache maven (this 
configuration assumes Nutch 1.1). At the moment of writing this note, Nutch 
does not publish its artifacts to maven. However we (members of community) hope 
that maven support will be added soon. In the meantime, just install the 
nutch-1.1.jar to your maven repository. Here is a snippet that will manage the 
dependencies that you need to run this example (note that the 1.1-XXX version 
of Nutch marks the fact that the artifact cannot be found in any public 
repository yet):
  
  {{{
-               <dependency>
+ <dependency>
-                       <groupId>org.apache.nutch</groupId>
+       <groupId>org.apache.nutch</groupId>
-                       <artifactId>nutch</artifactId>
+       <artifactId>nutch</artifactId>
-                       <version>1.1-XXX</version>
+       <version>1.1-XXX</version>
-               </dependency>
+ </dependency>
  
-               <dependency>
+ <dependency>
-                       <groupId>org.apache.hadoop</groupId>
+       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-core</artifactId>
+       <artifactId>hadoop-core</artifactId>
-                       <version>0.20.2</version>
+       <version>0.20.2</version>
-               </dependency>
+ </dependency>
  
-               <dependency>
+ <dependency>
-                       <groupId>org.apache.lucene</groupId>
+       <groupId>org.apache.lucene</groupId>
-                       <artifactId>lucene-core</artifactId>
+       <artifactId>lucene-core</artifactId>
-                       <version>3.0.1</version>
+       <version>3.0.1</version>
-                       <scope>runtime</scope>
+       <scope>runtime</scope>
-               </dependency>
+ </dependency>
  
-               <dependency>
+ <dependency>
-                       <groupId>org.apache.lucene</groupId>
+       <groupId>org.apache.lucene</groupId>
-                       <artifactId>lucene-misc</artifactId>
+       <artifactId>lucene-misc</artifactId>
-                       <version>3.0.1</version>
+       <version>3.0.1</version>
-                       <scope>runtime</scope>
+       <scope>runtime</scope>
-               </dependency>
+ </dependency>
  
-               <dependency>
+ <dependency>
-                       <groupId>commons-lang</groupId>
+       <groupId>commons-lang</groupId>
-                       <artifactId>commons-lang</artifactId>
+       <artifactId>commons-lang</artifactId>
-                       <version>2.1</version>
+       <version>2.1</version>
-                       <scope>runtime</scope>
+       <scope>runtime</scope>
-               </dependency>
+ </dependency>
  }}}
  
  == Sample code ==

Reply via email to