nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Kahlout (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-995) Generate POM file using the Ivy makepom task
Date Sun, 05 Jun 2011 07:06:48 GMT

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

Gabriele Kahlout commented on NUTCH-995:
----------------------------------------

Sorry, to stick in the gullet but this doesn't quite work yet.
$ ant deploy (and release) work for me too, but the next command (the purpose of this from
a non-committer prospective) $ mvn install fails.
{code}
$ mvn install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Nutch 1.3
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
Downloading: http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.127s
[INFO] Finished at: Sun Jun 05 08:44:38 CEST 2011
[INFO] Final Memory: 4M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nutch: Could not resolve dependencies for project
org.apache.nutch:nutch:jar:1.3: The following artifacts could not be resolved: javax.jms:jms:jar:1.1,
com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1: Could not transfer artifact
javax.jms:jms:jar:1.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository):
No connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository)
of type legacy using the available factories WagonRepositoryConnectorFactory -> [Help 1]
{code}

I've tried 'mvn dependency:get -DrepoUrl=http://download.java.net/maven/2/ -Dartifact=com.sun.jdmk:jmxtools'
and even that doesn't get the dependency. [Looking it up in maven central|http://search.maven.org/#artifactdetails%7Ccom.sun.jdmk%7Cjmxtools%7C1.2.1%7Cjar]
no jar is indeed distributed for the artifact.

The trouble comes from log4j dependency, which depends on those special jars.


> Generate POM file using the Ivy makepom task 
> ---------------------------------------------
>
>                 Key: NUTCH-995
>                 URL: https://issues.apache.org/jira/browse/NUTCH-995
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Julien Nioche
>            Assignee: Chris A. Mattmann
>             Fix For: 1.3
>
>         Attachments: NUTCH-955-1.3.patch, NUTCH-997.branch-1.3.v2.patch, mvn-template-build.patch
>
>
> We currently have a pom.xml file in the SVN repository and use it for publishing our
artefacts. The trouble with this is that we need to keep its content in sync with our ivy
file. Instead we could use the makepom task (http://ant.apache.org/ivy/history/2.2.0/use/makepom.html)
to generate the pom.xml automatically.
> The existing pom.xml for 1.3 needs fixing anyway as it declares dependencies to GORA
and has the wrong versions for some dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message