[ 
https://issues.apache.org/jira/browse/MNG-8245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise updated MNG-8245:
-------------------------------------
    Description: 
If I try to use one of the new life cycle phase via command line like this:
{code}
mvn before:clean
...
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'after' in the current project and in the 
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the 
repositories [local (/Users/khm/.m2/repository), nexus (
{code}

That will fail (from my perspective as expected) because that's a conflict with 
the syntax for calling a goal of a plugin. That means at the moment it's not 
possible to call a thing like {{(before:|after:)$phase}} or 
alike...on command line... 



  was:
If I try to use one of the new life cycle phase via command line like this:
{code}
mvn before:clean
...
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'after' in the current project and in the 
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the 
repositories [local (/Users/khm/.m2/repository), nexus (
{code}

That will fail (from my perspective as expected) because that's a conflict with 
the syntax for calling a goal of a plugin. That means at the moment it's not 
possible to call a thing like {{(before:|after:)$phase}} or alike...on command 
line... 




> Using before:|after:$phase on CLI does not work
> -----------------------------------------------
>
>                 Key: MNG-8245
>                 URL: https://issues.apache.org/jira/browse/MNG-8245
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line, Core
>    Affects Versions: 4.0.0-beta-4
>            Reporter: Karl Heinz Marbaise
>            Priority: Major
>             Fix For: 4.0.0
>
>
> If I try to use one of the new life cycle phase via command line like this:
> {code}
> mvn before:clean
> ...
> [INFO] 
> --------------------------------------------------------------------------------------------------------------------------
> [ERROR] No plugin found for prefix 'after' in the current project and in the 
> plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from 
> the repositories [local (/Users/khm/.m2/repository), nexus (
> {code}
> That will fail (from my perspective as expected) because that's a conflict 
> with the syntax for calling a goal of a plugin. That means at the moment it's 
> not possible to call a thing like {{(before:|after:)$phase}} or 
> alike...on command line... 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to