Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Any
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/${myVar}/${artifactId}/trunk
Which would translate to:
<scm>
<developersConnection>https://example.com/foo/myValue/my-foo/trunk
Attachments
Issue Links
- is related to
-
ARCHETYPE-247 Maven properties are not filtered correctly
- Closed
-
ARCHETYPE-318 <requiredProperty> <defaultValue> not correctly filtered
- Closed