[ 
https://issues.apache.org/jira/browse/NUTCH-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966818#action_12966818
 ] 

Eugen Paraschiv commented on NUTCH-825:
---------------------------------------

I'm also in the process of integrating Nutch into a personal Maven based 
project. I've been looking at the repository and I see that only Nutch 2.0 has 
Maven support, so I've been trying to use that (unsuccessfully). 
The issue seems to be the gora-core and gora-sql dependencies, which I cannot 
find anywhere. I've looked in the Apache Nexus instance (including Apache 
snapshots) and still nothing. 
Also, I'm using both Maven 2.2.1 as well as Maven 3.0.1 to build. The errors 
are different (Maven 3.3.1 fails faster). 
I understand that this is the trunk and things are not meant to be stable, but 
this seems to be more than just stability, as I am effectively unable to either 
build it. 
Of course, I may be missing something. 
Any feedback is appreciated. 

I will attach the Maven output (although it's pretty standard): 



[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.gora:gora-core:jar:0.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.gora -DartifactId=gora-core 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.gora -DartifactId=gora-core 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
        1) org.apache.nutch:nutch:jar:2.0-dev
        2) org.gora:gora-core:jar:0.1

2) org.gora:gora-sql:jar:0.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.gora -DartifactId=gora-sql 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.gora -DartifactId=gora-sql 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
        1) org.apache.nutch:nutch:jar:2.0-dev
        2) org.gora:gora-sql:jar:0.1

----------
2 required artifacts are missing.

for artifact: 
  org.apache.nutch:nutch:jar:2.0-dev

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)





Thanks. 
Eugen. 



> Publish nutch artifacts to central maven repository
> ---------------------------------------------------
>
>                 Key: NUTCH-825
>                 URL: https://issues.apache.org/jira/browse/NUTCH-825
>             Project: Nutch
>          Issue Type: New Feature
>            Reporter: Enis Soztutar
>            Assignee: Chris A. Mattmann
>             Fix For: 2.0
>
>
> As per the discussion at NUTCH-821, publishing nutch artifacts to maven will 
> be nice. NUTCH-821 already introduces dependency management with ivy. As for 
> the remaining, ant task for generating pom files should be developed, and 
> artifacts should be published to maven repo by a committer after a release. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to