If I were you, I would just use copy command to generate (copy) pom.xml after preparing your desired pom.xml. The maven-archetype-archetype just increases complexity in your case and it seems outdated.
Regards, Tomo On Sun, Apr 2, 2023 at 02:33 divine chelladurai <cdivine...@live.com> wrote: > Hi Team, > > i need your help to understand the query posted below > > i have a bunch of java projects that have to be migrated to maven > projects. I have to automate this process. > > I came across `mvn archetype:generate` , I read about it and this would > help me in the migration process. > > i found the `mvn archetype:generate` command in this website > <https://maven.apache.org/archetypes/maven-archetype-archetype/> > > i executed the command `mvn archetype:generate -DarchetypeGroupId=org. > apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-archetype - > DarchetypeVersion=1.4` in my laptop , it generated the maven archetype > project successfully. > > -DarchetypeVersion=1.4 --- I want to know if 1.4 is the latest version. > Below screenshot shows my generated pom.xml . I don't see version1.4 in > the pom.xml , where can I find it in the project which I generated using > the `mvn archetype:generate` command ? if i change 1.4 to some other > version, then where in the project should i verify if that version is > installed correctly? > > > > > > Please help me to understand this. Thank you > > > Regards, > Divine > > -- Regards, Tomo