Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-alpha-4
-
Labels:None
-
Environment:Any
-
Number of attachments :
Description
It would be nice to be able to define a custom variable that would be filtered for created resources just like artifactId or gourpId.
Example
------------
Command line: mvn archetype:create ... -DartifactId=my-foo -DmyVar=myValue
Usage, in archetype-resources pom for example:
<scm>
<developersConnection>https://example.com/foo/$
/$
{artifactId}/trunk
Which would translate to:
<scm>
<developersConnection>https://example.com/foo/myValue/my-foo/trunk
Issue Links
- is related to
-
ARCHETYPE-247
Maven properties are not filtered correctly
-
-
ARCHETYPE-318
<requiredProperty> <defaultValue> not correctly filtered
-
it's allready there? look for <requiredProperties> in metadata.. or am i missing something?