You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adam Dyga <ad...@tlen.pl> on 2012/01/12 16:51:08 UTC

Required goal not found

Hello,

I have some problems with "goals not found". When I execute:


mvn help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-dependency-plugin


among many goals I get:

...
dependency:get
  Description: Downloads a single artifact transitively from the specified
    remote repositories. Caveat: will always check the central repository
    defined in the super pom. You could use a mirror entry in your settings.xml
...    
dependency:help
  Description: Display help information on maven-dependency-plugin.
    Call
      mvn dependency:help -Ddetail=true -Dgoal=<goal-name>
    to display parameter details.
...


But if I execute "mvn dependency:help" or "mvn dependency:get" I get:


[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: dependency:help in org.apache.maven.plugins:maven-dependency-plugin:2.0


Is this normal? This happens not only with dependency plugin but others too. On the other hand dependency:list (for instance) works fine.
My Maven version is:


Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_30
Java home: c:\xxxx\jdk1.6.0_30\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"


Regards,
AD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Required goal not found

Posted by Stephen Connolly <st...@gmail.com>.
different versions of the plugin.... you need to specify the version
of the plugin you are asking help about as the same version you are
using.... otherwise it answers for thew latest version

On 12 January 2012 15:51, Adam Dyga <ad...@tlen.pl> wrote:
> Hello,
>
> I have some problems with "goals not found". When I execute:
>
>
> mvn help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-dependency-plugin
>
>
> among many goals I get:
>
> ...
> dependency:get
>  Description: Downloads a single artifact transitively from the specified
>    remote repositories. Caveat: will always check the central repository
>    defined in the super pom. You could use a mirror entry in your settings.xml
> ...
> dependency:help
>  Description: Display help information on maven-dependency-plugin.
>    Call
>      mvn dependency:help -Ddetail=true -Dgoal=<goal-name>
>    to display parameter details.
> ...
>
>
> But if I execute "mvn dependency:help" or "mvn dependency:get" I get:
>
>
> [INFO] Searching repository for plugin with prefix: 'dependency'.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Required goal not found: dependency:help in org.apache.maven.plugins:maven-dependency-plugin:2.0
>
>
> Is this normal? This happens not only with dependency plugin but others too. On the other hand dependency:list (for instance) works fine.
> My Maven version is:
>
>
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_30
> Java home: c:\xxxx\jdk1.6.0_30\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
>
> Regards,
> AD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Required goal not found

Posted by Ram <sr...@gmail.com>.
Fezgxzsuf

Sent from my iPhone

On Jan 12, 2012, at 10:51 AM, Adam Dyga <ad...@tlen.pl> wrote:

> Hello,
> 
> I have some problems with "goals not found". When I execute:
> 
> 
> mvn help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-dependency-plugin
> 
> 
> among many goals I get:
> 
> ...
> dependency:get
>  Description: Downloads a single artifact transitively from the specified
>    remote repositories. Caveat: will always check the central repository
>    defined in the super pom. You could use a mirror entry in your settings.xml
> ...    
> dependency:help
>  Description: Display help information on maven-dependency-plugin.
>    Call
>      mvn dependency:help -Ddetail=true -Dgoal=<goal-name>
>    to display parameter details.
> ...
> 
> 
> But if I execute "mvn dependency:help" or "mvn dependency:get" I get:
> 
> 
> [INFO] Searching repository for plugin with prefix: 'dependency'.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Required goal not found: dependency:help in org.apache.maven.plugins:maven-dependency-plugin:2.0
> 
> 
> Is this normal? This happens not only with dependency plugin but others too. On the other hand dependency:list (for instance) works fine.
> My Maven version is:
> 
> 
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_30
> Java home: c:\xxxx\jdk1.6.0_30\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> 
> 
> Regards,
> AD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org