maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARCHETYPE-415) inconsistent behavior in batch mode
Date Sun, 06 Sep 2015 20:46:07 GMT

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

Michael Osipov closed ARCHETYPE-415.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> inconsistent behavior in batch mode
> -----------------------------------
>
>                 Key: ARCHETYPE-415
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-415
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 2.2
>         Environment: {noformat}
> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
> Maven home: C:\Program Files\apache-maven-3.0.3\bin\..
> Java version: 1.5.0_22, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files (x86)\Java\jdk1.5.0_22\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> {noformat}
>            Reporter: Shaun
>
> Steps to reproduce:
> # Create a basic archetype.
> # Alter the archetype-metadata.xml (see below)
> # Run the generate goal in interactive mode, the template value will get filled in
> # Run the generate goal in batch mode, the template value will not get filled in
> Example default value:
> {noformat}
> 		<requiredProperty key="package">
> 			<defaultValue>${groupId}</defaultValue>
> 		</requiredProperty>
> {noformat}
> It seems to be half resolving:
> {noformat}
> [INFO] Parameter: groupId, Value: company.foo.site
> [INFO] Parameter: artifactId, Value: ${siteName}
> [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
> [INFO] Parameter: package, Value: ${groupId}
> [INFO] Parameter: packageInPathFormat, Value: ${groupId}
> May 30, 2012 1:01:59 PM org.apache.velocity.runtime.log.JdkLogChute log
> INFO: FileResourceLoader : adding path '.'
> [INFO] Parameter: package, Value: company.foo.site
> [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
> [INFO] Parameter: groupId, Value: company.foo.site
> [INFO] Parameter: systemName, Value: System
> [INFO] Parameter: siteId, Value: 1234
> [INFO] Parameter: siteName, Value: My Test Site
> [INFO] Parameter: artifactId, Value: My Test Site
> {noformat}



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

Mime
View raw message