|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <groupId>com.example</groupId> |
7 | | - <artifactId>angular-maven</artifactId> |
8 | | - <version>0.0.1-SNAPSHOT</version> |
9 | | - <packaging>jar</packaging> |
| 6 | + <groupId>com.example</groupId> |
| 7 | + <artifactId>angular-maven</artifactId> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + <packaging>jar</packaging> |
10 | 10 |
|
11 | | - <name>demo</name> |
12 | | - <description>Demo project for Spring Boot</description> |
| 11 | + <name>demo</name> |
| 12 | + <description>Demo project for Spring Boot</description> |
13 | 13 |
|
14 | | - <parent> |
15 | | - <groupId>org.springframework.boot</groupId> |
16 | | - <artifactId>spring-boot-starter-parent</artifactId> |
17 | | - <version>1.5.8.RELEASE</version> |
18 | | - <relativePath/> <!-- lookup parent from repository --> |
19 | | - </parent> |
| 14 | + <parent> |
| 15 | + <groupId>org.springframework.boot</groupId> |
| 16 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 17 | + <version>1.5.8.RELEASE</version> |
| 18 | + <relativePath /> <!-- lookup parent from repository --> |
| 19 | + </parent> |
20 | 20 |
|
21 | | - <properties> |
22 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
24 | | - <java.version>1.8</java.version> |
25 | | - </properties> |
| 21 | + <properties> |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 24 | + <java.version>1.8</java.version> |
| 25 | + </properties> |
26 | 26 |
|
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>org.springframework.boot</groupId> |
30 | | - <artifactId>spring-boot-starter-web</artifactId> |
31 | | - </dependency> |
| 27 | + <dependencies> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-starter-web</artifactId> |
| 31 | + </dependency> |
32 | 32 |
|
33 | | - <dependency> |
34 | | - <groupId>org.springframework.boot</groupId> |
35 | | - <artifactId>spring-boot-starter-test</artifactId> |
36 | | - <scope>test</scope> |
37 | | - </dependency> |
38 | | - </dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>org.springframework.boot</groupId> |
| 35 | + <artifactId>spring-boot-starter-test</artifactId> |
| 36 | + <scope>test</scope> |
| 37 | + </dependency> |
| 38 | + </dependencies> |
39 | 39 |
|
40 | | - <build> |
41 | | - <plugins> |
42 | | - <plugin> |
43 | | - <groupId>org.springframework.boot</groupId> |
44 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
45 | | - </plugin> |
| 40 | + <build> |
| 41 | + <plugins> |
| 42 | + <plugin> |
| 43 | + <groupId>org.springframework.boot</groupId> |
| 44 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 45 | + </plugin> |
46 | 46 | <plugin> |
47 | 47 | <groupId>com.github.eirslett</groupId> |
48 | 48 | <artifactId>frontend-maven-plugin</artifactId> |
|
66 | 66 | <arguments>install</arguments> |
67 | 67 | </configuration> |
68 | 68 | </execution> |
| 69 | + <execution> |
| 70 | + <id>npm-build</id> |
| 71 | + <goals> |
| 72 | + <goal>npm</goal> |
| 73 | + </goals> |
| 74 | + <configuration> |
| 75 | + <arguments>run-script build</arguments> |
| 76 | + </configuration> |
| 77 | + </execution> |
69 | 78 | </executions> |
70 | 79 | </plugin> |
71 | | - </plugins> |
72 | | - </build> |
| 80 | + </plugins> |
| 81 | + </build> |
73 | 82 |
|
74 | 83 |
|
75 | 84 | </project> |
0 commit comments