maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MINVOKER-201) Can't specify batch mode for invoker target
Date Sat, 26 Mar 2016 10:56:25 GMT

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

Karl Heinz Marbaise commented on MINVOKER-201:
----------------------------------------------

Inside a plugin you can use this:
{code}
        mavenSession.getRequest().isInteractiveMode()
{code}
to identify if you are in batch mode or not...which means isInteractiveMode() is false if
{{--batch-mode}} is given.. For such things it is best to ask on the dev list and don't create
issues for it...

> Can't specify batch mode for invoker target
> -------------------------------------------
>
>                 Key: MINVOKER-201
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-201
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Paul Polishchuk
>
> Tried to use invoker.properties:
> invoker.goals = -B clean verify
> to specify batch mode, but it looks like it is not propagated to the pom being invoked
> Maybe, I've missed something?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message