maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gonzo (JIRA)" <>
Subject [jira] Commented: (ARCHETYPE-55) Maven archetype plugin ignores system properties
Date Wed, 06 Feb 2008 13:32:31 GMT


gonzo commented on ARCHETYPE-55:

When will this patch make it into a  final release? I hate patching for such things. Or am
I getting something wrong here?

> Maven archetype plugin ignores system properties
> ------------------------------------------------
>                 Key: ARCHETYPE-55
>                 URL:
>             Project: Maven Archetype
>          Issue Type: New Feature
>          Components: Plugin
>    Affects Versions: 1.0-alpha-4
>            Reporter: Ceki Gulcu
>            Priority: Critical
>         Attachments: optional-system-properties-v2.diff, optional-system-properties.diff
> When it passes a property map to velocity context, the archetype plugin passes the values
of the properties basedir, package,
> packageName, groupId, artifactId, and version ignoring other properties, in particular
system properties. In the context of our
> project, we would like the archetype plugin to substitute the values of system properties
during the file generation based on templates.
> It would take very little effort to add the system properties to the map passed to Velocity
> Moreover, only a single file, namely in maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/
> need to be modified.
> As far as I understand it, the change can be accomplished with a single line of code:
>    map.putAll(System.getProperties());
> Would you consider adding the above line to
> Many thanks in advance,

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message