You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marcelo Romulo Fernandes (JIRA)" <ji...@codehaus.org> on 2008/07/17 20:11:26 UTC

[jira] Created: (ARCHETYPE-196) Default value like property 'version' at 2.0-alpha-3

Default value like property 'version' at 2.0-alpha-3
----------------------------------------------------

                 Key: ARCHETYPE-196
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-196
             Project: Maven Archetype
          Issue Type: New Feature
         Environment: windows xp sp2; java sun 1.6.0_07; maven 2.0.9
            Reporter: Marcelo Romulo Fernandes


     If I define a requiredProperty at archetype-metadata.xml without a defaultValue (example: <requiredProperty key="copyright"/>), the value of the property is prompted when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate. If I input nothing (just hit an enter), the process fails.
     If I define a requiredProperty at archetype-metadata.xml with a defaultValue (example: <requiredProperty key="copyright" defaultValue="Basegen 2008"/>), when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate the value of the property is not prompted anymore and process assumes the defaultValue.
     I wish a way to the command mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate prompt a value to the requiredProperty and a default value is assumed if nothing is typed (just hit an enter). At version 2.0-alpha-3, this happens with property 'version': if i just press enter, the process assumes the value '1.0-SNAPSHOT'.


-- 
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

        

[jira] Commented: (ARCHETYPE-196) Default value like property 'version' at 2.0-alpha-3

Posted by "ant elder (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182615#action_182615 ] 

ant elder commented on ARCHETYPE-196:
-------------------------------------

Sounds like another http://jira.codehaus.org/browse/ARCHETYPE-200

> Default value like property 'version' at 2.0-alpha-3
> ----------------------------------------------------
>
>                 Key: ARCHETYPE-196
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-196
>             Project: Maven Archetype
>          Issue Type: New Feature
>         Environment: windows xp sp2; java sun 1.6.0_07; maven 2.0.9
>            Reporter: Marcelo Romulo Fernandes
>
>      If I define a requiredProperty at archetype-metadata.xml without a defaultValue (example: <requiredProperty key="copyright"/>), the value of the property is prompted when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate. If I input nothing (just hit an enter), the process fails.
>      If I define a requiredProperty at archetype-metadata.xml with a defaultValue (example: <requiredProperty key="copyright" defaultValue="Basegen 2008"/>), when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate the value of the property is not prompted anymore and process assumes the defaultValue.
>      I wish a way to the command mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate prompt a value to the requiredProperty and a default value is assumed if nothing is typed (just hit an enter). At version 2.0-alpha-3, this happens with property 'version': if i just press enter, the process assumes the value '1.0-SNAPSHOT'.

-- 
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

        

[jira] Closed: (ARCHETYPE-196) Default value like property 'version' at 2.0-alpha-3

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/ARCHETYPE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed ARCHETYPE-196.
-----------------------------------

    Resolution: Duplicate

> Default value like property 'version' at 2.0-alpha-3
> ----------------------------------------------------
>
>                 Key: ARCHETYPE-196
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-196
>             Project: Maven Archetype
>          Issue Type: New Feature
>         Environment: windows xp sp2; java sun 1.6.0_07; maven 2.0.9
>            Reporter: Marcelo Romulo Fernandes
>
>      If I define a requiredProperty at archetype-metadata.xml without a defaultValue (example: <requiredProperty key="copyright"/>), the value of the property is prompted when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate. If I input nothing (just hit an enter), the process fails.
>      If I define a requiredProperty at archetype-metadata.xml with a defaultValue (example: <requiredProperty key="copyright" defaultValue="Basegen 2008"/>), when I run mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate the value of the property is not prompted anymore and process assumes the defaultValue.
>      I wish a way to the command mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate prompt a value to the requiredProperty and a default value is assumed if nothing is typed (just hit an enter). At version 2.0-alpha-3, this happens with property 'version': if i just press enter, the process assumes the value '1.0-SNAPSHOT'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira