You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2013/01/03 12:31:13 UTC

[jira] (ARCHETYPE-395) Basedir variable is not passed to archetype

    [ https://jira.codehaus.org/browse/ARCHETYPE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316546#comment-316546 ] 

Anders Hammar commented on ARCHETYPE-395:
-----------------------------------------

I don't understand the use case. You want the property to be resolved to a hard-coded url in the resolved project? That sounds like a very bad idea as the project will then not be portable, which is a main theme of Maven.
                
> Basedir variable is not passed to archetype
> -------------------------------------------
>
>                 Key: ARCHETYPE-395
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-395
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Creator
>    Affects Versions: 2.1
>         Environment: Linux: Ubuntu 11.10 64b, maven 3.0.3
>            Reporter: Romain Sertelon
>             Fix For: 2.3
>
>
> The property basedir is not replaced in archetype files.
> For instance, I'd like to use ${basedir} in one of my archetype's files, but it is not replaced.
> I'll check if I can fix the problem, but I wanted you to be noticed :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira