You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by "sachin.kale" <sa...@live.com> on 2012/08/06 18:03:31 UTC

Ant deploy for Nutch release 1.5.1 throws exception 'failed to create task or type antlib:org.apache.maven.artifact.ant:mvn'

I've downloaded latest 
nutch release 1.5.1 

I can perform successfully:
a) Nutch compile and 
b) Nutch release  

However, when try to perform release, I get following error

'ant release'

Problem: failed to create task or type
antlib:org.apache.maven.artifact.ant:mvn

BUILD FAILED
C:\cygwin\dev\apache-nutch-1.5.1\build.xml:241: 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




--
View this message in context: http://lucene.472066.n3.nabble.com/Ant-deploy-for-Nutch-release-1-5-1-throws-exception-failed-to-create-task-or-type-antlib-org-apache--tp3999408.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: Ant deploy for Nutch release 1.5.1 throws exception 'failed to create task or type antlib:org.apache.maven.artifact.ant:mvn'

Posted by Julien Nioche <li...@gmail.com>.
ant release is used by Nutch committers to release a new version and push
the artefacts to mvn public repositories. You should not need to do this,
'ant runtime' is probably what you are after

On 6 August 2012 17:03, sachin.kale <sa...@live.com> wrote:

> I've downloaded latest
> nutch release 1.5.1
>
> I can perform successfully:
> a) Nutch compile and
> b) Nutch release
>
> However, when try to perform release, I get following error
>
> 'ant release'
>
> Problem: failed to create task or type
> antlib:org.apache.maven.artifact.ant:mvn
>
> BUILD FAILED
> C:\cygwin\dev\apache-nutch-1.5.1\build.xml:241: 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
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Ant-deploy-for-Nutch-release-1-5-1-throws-exception-failed-to-create-task-or-type-antlib-org-apache--tp3999408.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>



-- 
*
*Open Source Solutions for Text Engineering

http://digitalpebble.blogspot.com/
http://www.digitalpebble.com
http://twitter.com/digitalpebble

Re: Ant deploy for Nutch release 1.5.1 throws exception 'failed to create task or type antlib:org.apache.maven.artifact.ant:mvn'

Posted by "sachin.kale" <sa...@live.com>.
Thanks so much Julien..

Appreciate your reply.

'ant runtime' executes successfully.

Thanks
Sachin



--
View this message in context: http://lucene.472066.n3.nabble.com/Ant-deploy-for-Nutch-release-1-5-1-throws-exception-failed-to-create-task-or-type-antlib-org-apache--tp3999408p3999576.html
Sent from the Nutch - User mailing list archive at Nabble.com.