Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.02 KB

multi-module-maven-project

Testing mult-module project with Maven

Creating your first application with Maven

mvn archetype:generate
  -DgroupId=com.mycompany.app
  -DartifactId=my-app
  -DarchetypeArtifactId=maven-archetype-quickstart
  -DinteractiveMode=false

Example

mvn archetype:generate -DgroupId=org.elementalsource.register -DartifactId=register-service -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Commands to update your project

  • mvn versions:set -DgenerateBackupPoms=false -DnewVersion=your_new_version
  • mvn -N versions:update-child-modules
  • mvn versions:display-dependency-updates Displays all dependencies that have newer versions available
  • mvn versions:use-latest-versions
  • mvn versions:commit
  • mvn dependency:tree

References