title: Make front- and backend (Angular 2 and Spring) Maven Multimodule Project
body: <p>How do I create a Maven multimodule project with a Spring backend and Angular2 front-end? Using spring initializr (<a href="https://start.spring.io" rel="noreferrer">https://start.spring.io</a>) and angular cli separately seems to be straightforward, but how do I organize that as a multi-module Maven project with linked but separate pom-files? With what values and in what order should I create and initialize those? I can use Intellij IDEA if it makes things easier, but i am also fine with CMD (I'm on windows).</p>
  
  <p>The only tutorial I found on this is here: <a href="https://blog.jdriven.com/2016/12/angular2-spring-boot-getting-started/" rel="noreferrer">https://blog.jdriven.com/2016/12/angular2-spring-boot-getting-started/</a> but the guy uses some self-written "frontend-maven-plugin" which I do not want. Can someone explain the steps or link me to a tutorial that doesn't use third-party-resources but just clean Spring and Angular2, please?</p>
  
  <blockquote>
    <p>EDIT: when I posted this question, WebDevelopment was for the most part new to me. The below solution worked at the beginning, but for better scalability we decided to make separate projects later on: one FE project containing multiple Angular apps and many FE-libs (check out <a href="https://github.com/nrwl/nx" rel="noreferrer">NRWL's NX</a> for that). And one project for each BE-Microservice, each deployable separately in the CI-Pipelines. Google themselves go with the approach of one project for all the FEs and BEs, but they do have special requirements (all libs have to work with each other in the latest version) and they use the ABC-stack (Angular + Bazel + Closure) stack for that, which is not yet fully available for the public, but is worth keeping an eye on: <a href="https://github.com/angular/angular/issues/19058" rel="noreferrer">https://github.com/angular/angular/issues/19058</a></p>
  </blockquote>