Deployment Angular: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 3: | Zeile 3: | ||
== Mulitmodule Maven Project == | == Mulitmodule Maven Project == | ||
=== Parent POM === | |||
<pre> | <pre> | ||
mvn archetype:generate -DgroupId=at.or.kirner -DartifactId=angular-rest-test | mvn archetype:generate -DgroupId=at.or.kirner -DartifactId=angular-rest-test | ||
</pre> | </pre> | ||
Als Filter <code>org.codehaus.mojo.archetypes:pom-root</code> verwewnden: | |||
<pre> | <pre> | ||
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: | |||
</pre> | |||
Dadurch generierte POM-Datei: | |||
<pre> | |||
<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> | </project> | ||
</pre> | </pre> |
Version vom 28. April 2019, 12:16 Uhr
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
Als Sub-Module
Links
https://github.com/eirslett/frontend-maven-plugin
https://dzone.com/articles/building-a-web-app-using-spring-boot-angular-6-and
Zurück zu Angular