maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@codehaus.org>
Subject [jira] (ARCHETYPE-457) Clarify documentation around module.name and module.dir
Date Mon, 03 Feb 2014 16:34:57 GMT
Konrad Windszus created ARCHETYPE-457:
-----------------------------------------

             Summary: Clarify documentation around module.name and module.dir
                 Key: ARCHETYPE-457
                 URL: https://jira.codehaus.org/browse/ARCHETYPE-457
             Project: Maven Archetype
          Issue Type: Bug
            Reporter: Konrad Windszus


>From the reference at https://maven.apache.org/archetype/archetype-models/archetype-descriptor/archetype-descriptor.html#class_module
is is unclear how the attribute name is evaluated. For me the following behaviour would make
sense
- dir: the name of the source directory (from which the new module will be created)
- name: the name of the module directory (destination). Usually is equivalent to artifactId.
Currently the name does not seem to be evaluated at all.

That way no placeholder replacement on the weird syntax __<property>__ would need to
take place on the dir entry, but rather that would just specify from where to copy the files
for the module (this can always be hardcoded). The placeholder mechanism (i.e. the regular
one with the $ syntax would then only be necessary on id and name attributes.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message