maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goutham <>
Subject Help in customizing maven-archetype
Date Fri, 17 Jun 2011 04:40:09 GMT
when i run " mvn archetype:generate" it asks for parameters like groupId ,
artifactId , package and version. 
Now i want to ask for an extra parameter like  " module-author " but i want
to ask in this manner

Do you want to enter module-author? ( Y / N)
(on entering Y  , i should ask for the parameter)
module-author: <nameoftheauthor>

(on entering N  , i should terminate the asking process and the rest of the
project build should be completed)

Project Build Success Full 


Is this possible with ArchetypeCreationQueryer ? .. i guess i got an example
source file here
DefaultArchetypeCreationQueryer   but i dont know how to implement it in my
project and run it and see how it works?

Any help will be thank full

View this message in context:
Sent from the Maven Developers mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message