java - Adding maven dependencies -


i trying create basic archetype maven , moment know how create architecture mvn archetype:generate , toadd dependencies throughout mvn console.

is possibile add dependencies command line not pom file?

i make because interesting option create simple architecture .bat file.

there nothing out there in official documentation @ least. dependencies coming in generated pom.xml determined archetypeartifactid option. example, -darchetypeartifactid=maven-archetype-j2ee-simple or -darchetypeartifactid=maven-archetype-webapp or other archetype

example

project generated using -darchetypeartifactid=maven-archetype-webapp pom.xml comes junit dependency


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -