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) Y module-author: <nameoftheauthor> (on entering N , i should terminate the asking process and the rest of the project build should be completed) N . . Project Build Success Full ---------------------------------------------------------------------------------------------- Is this possible with ArchetypeCreationQueryer ? .. i guess i got an example source file here http://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.0/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeCreationQueryer.java 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: http://maven.40175.n5.nabble.com/Help-in-customizing-maven-archetype-tp4497629p4497629.html Sent from the Maven Developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org