Deployment Angular: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
cd /home/martin/git/AngularRestTestCombo/
cd /home/martin/git/AngularRestTestCombo/
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=angular-rest-test
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=angular-rest-test
</pre>
<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>
<properties>
<junit-version>4.12<junit-version>
<java.version>1.11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
</pre>
<pre>
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=service
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=service
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=webapp
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=webapp

Version vom 28. April 2019, 11:23 Uhr

Noch in Bearbeitung


Mulitmodule Maven Project

cd /home/martin/git/AngularRestTestCombo/
mvn archetype:generate -DgroupId=at.or.kirner  -DartifactId=angular-rest-test
<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>

	<properties>
		<junit-version>4.12<junit-version>
		<java.version>1.11</java.version>
		<maven.compiler.source>${java.version}</maven.compiler.source>
		<maven.compiler.target>${java.version}</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit-version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
</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