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

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


{code}
BUILD FAILED
/Users/simpatico/NetBeansProjects/Experiments/test/nutch/build.xml:216: 
Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:mvn
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

The definitions in the namespace antlib:org.apache.maven.artifact.ant are:
    install-provider
    localRepository
    remoteRepository
    dependencies
    pom
    authentication
    install
    proxy
    deploy
Total time: 1 minute 31 seconds

{code}

This is what's in build.xml:220:
{code}
        <artifact:mvn>
                <arg 
value="org.apache.maven.plugins:maven-gpg-plugin:1.1:sign-and-deploy-file" />
                <arg value="-Durl=${maven-repository-url}" />
                <arg value="-DrepositoryId=${maven-repository-id}" />
                <arg value="-DpomFile=pom.xml" />
                <arg value="-Dfile=${maven-jar}" />
                       <arg value="-Papache-release" />
        </artifact:mvn>
{code}

Steps to reproduce:
{code}
$ svn co http://svn.apache.org/repos/asf/nutch/branches/branch-1.3 nutch
$ cd nutch ; patch -p0 -i $PATH_TO_DOWNLOADED_PATCH/NUTCH-955-1.3.patch
$ ant deploy
{code}



> 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
>
>
> 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

Reply via email to