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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -