You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri Sankaran <Sr...@sas.com> on 2008/03/18 16:50:13 UTC
Archetype using artifactId for package name
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org