Hi all,
I am creating a new maven project from an eclipse plugin. As it seems to me a bad idea to hardcode pom.xml to my plugin. Is there any way to generate this programmatically such that the plugin will be more maintainable ?
Also creating the maven project structure from the plugin on my own seems to be a bad idea too ! Is there any api to do this tast ? (creating a maven project, adding my dependency to it)
What I am currently doing is to create folders, write a .classpath file (hardcoded) , injecting maven nature to .project file and now trying to generate the pom.xml. Seeing a pom.xml I thought writing one plugin for th ecurrent version of maven won't do a good job.