nexus - Creating a Maven Project Programmatically Runtime -
i have created number of java classes using sun code model library. now, create maven project add classes , upload nexus sonatype internal maven repository. know how create maven project programmatically. appreciated.
it not programmatically, maven archetype can generate project squeleton you:
mvn archetype:generate -dgroupid={project-packaging} -dartifactid={project-name} -darchetypeartifactid=maven-archetype-quickstart
you can run :
mvn archetype:generate
and choose archetype list displayed.
once done, can put java file in src/main/java.
https://maven.apache.org/guides/introduction/introduction-to-archetypes.html
Comments
Post a Comment