You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org> on 2008/06/04 22:45:56 UTC

[jira] Closed: (ARCHETYPE-172) calling mvn archetype:generate -DinteractiveMode=false still prompts user "Y:"

     [ http://jira.codehaus.org/browse/ARCHETYPE-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphaël Piéroni closed ARCHETYPE-172.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-4

Fixed since revision 663372
The old way to call non interactive mode before this commit was -Darchetype.interactive 
It changed to -DinteractiveMode

Please notice that -B (for batch mode) was usable in 2.0-alpha-3 and still remains
as the main way to achieve non interactiveness.

> calling mvn archetype:generate -DinteractiveMode=false still prompts user "Y:"
> ------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-172
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-172
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 2.0-alpha-2, 2.0-alpha-3
>            Reporter: Jeff Campbell
>             Fix For: 2.0-alpha-4
>
>
> I have a simple script that calls maven archetype from the command line with the full archetype command-line.  The script hangs because the archetype:generate prompts for the user to hit Y: at the command prompt even thought I specified -DinteractiveMode=false in the script.
> Expected Results:  Maven archetype:generate executes with-out prompting the user for any input when using -DinteractiveMode=false

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira