Deployment Angular

Aus Tutorials
Zur Navigation springen Zur Suche springen

Noch in Bearbeitung


Mulitmodule Maven Project

Parent POM

mvn archetype:generate -DgroupId=at.or.kirner -DartifactId=angular-rest-test

Als Filter org.codehaus.mojo.archetypes:pom-root verwewnden:

Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 1355: org.codehaus.mojo.archetypes:pom-root
Choose archetype:
1: remote -> org.codehaus.mojo.archetypes:pom-root (Root project archetype for creating multi module projects)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose org.codehaus.mojo.archetypes:pom-root version: 

Dadurch generierte POM-Datei:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>at.or.kirner</groupId>
  <artifactId>angular-rest-test</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>angular-rest-test</name>
</project>


mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=service
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=webapp

Links

https://www.baeldung.com/maven-multi-module

webpack

Aktuell nicht verwendet

webpack

Als Sub-Module

Links

https://github.com/eirslett/frontend-maven-plugin

https://stackoverflow.com/questions/45915379/how-to-setup-angular-4-inside-a-maven-based-java-war-project

https://dzone.com/articles/building-a-web-app-using-spring-boot-angular-6-and


Zurück zu Angular