the archetype-metadata.xml file is read using mvn archetype:generate goal Regards,
Raphaël 2008/7/31, Alexandre Touret <[EMAIL PROTECTED]>: > > Hello, > I m currently trying to inject a custom property in the execution of the > creation of a project my an archetype. I'd like to maven resolves this > property like groupId or artifactId in a pom file. > > I tried to both inject the property in the command line (eg.: -Dmyproperty ) > and the settings file. I already have the same result. > Then I also tried to create an archetype-metadata.xml file and parameterize > a required property --> same result. > > Is my wish possible ?If yes , how to inject a property in the execution of > archetype:create ? > > Thanks in advance for your help > > > Regards, > Alexandre > > > > > > -- > View this message in context: > http://www.nabble.com/Custom-properties-injected-within-the-execution-of-archetype%3Acreate-tp18756993p18756993.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] > >
