Skip to content

Commit

Permalink
fix static angular app plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Manna Mahmud committed Apr 26, 2021
1 parent c642888 commit 19c96fc
Show file tree
Hide file tree
Showing 50 changed files with 62,306 additions and 52 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,5 @@ systemqc-api/package-lock.json
systemqc-api/node/
systemqc-api/node_modules/
systemqc-api/node_temp/
systemqc-api/target/
systemqc-api/target/
edge/letsencrypt/acme.json
6 changes: 6 additions & 0 deletions frontends/frontend1/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontends/frontend1/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
88 changes: 51 additions & 37 deletions frontends/frontend1/pom.xml
Original file line number Diff line number Diff line change
@@ -1,65 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.0-SNAPSHOT</version>
<relativePath /> <!-- lookup parent from repository -->
<groupId>com.kareegar.trainings</groupId>
<artifactId>frontends</artifactId>
<version>0.0.1.SNAPSHOT</version>
</parent>
<groupId>com.kareegar.frontend1</groupId>
<artifactId>frontend1</artifactId>
<version>1</version>
<packaging>jar</packaging>
<name>frontend1</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>
<jib-maven-plugin.version>2.4.0</jib-maven-plugin.version>
<node.version>v12.16.1</node.version>
<npm.version>6.14.5</npm.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<spring-boot.version>2.4.5</spring-boot.version>
<maven-war-plugin.version>3.2.3</maven-war-plugin.version>
<mapstruct.version>1.3.1.Final</mapstruct.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring-boot.version}</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>ng</executable>
<workingDirectory>src/main/resources/webapp</workingDirectory>
<arguments>
<argument>build</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.10.0</version>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kareegar.frontend2.main;
package com.kareegar.frontend1.main;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
13 changes: 13 additions & 0 deletions frontends/frontend1/src/main/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Webapp</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.css"></head>
<body>
<app-root></app-root>
<script src="runtime.js" defer></script><script src="polyfills.js" defer></script><script src="vendor.js" defer></script><script src="main.js" defer></script></body>
</html>
216 changes: 216 additions & 0 deletions frontends/frontend1/src/main/public/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontends/frontend1/src/main/public/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 19c96fc

Please sign in to comment.