I would like to create an archetype of a Java project where the package name
of the Java files is predicated on the artifactId specified  when
"archetype:create" is invoked.

IOW, the archetype-resources directory needs to look something like this:

archetype-resources
 |
 `--src
     |
     `--main
        |
        `--java
            |
            `--com
                |
                `--acme
                    |
                    `--${artifactId}

Needless to say, this does not work.  I have even tried ${packageName}.  The
attendant question is, how do I refer to these files in the archetype.xml
file?

Thanks

Sri

-- 
View this message in context: 
http://www.nabble.com/Archetype-using-artifactId-for-package-name-tp16124185s177p16124185.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to