-
Notifications
You must be signed in to change notification settings - Fork 282
/
Copy pathpom.xml
110 lines (97 loc) · 3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>com.tmobile.cloud</groupId>
<artifactId>webapp</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>PacBot UI</name>
<description>Build for T-Mobile PacBot UI SPA - Angular</description>
<url>https://github.com/tmobile/pacman/webapp</url>
<licenses>
<license>
<name>Apache</name>
<url>https://github.com/tmobile/pacman/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>PacBot Team</id>
<name>PacBot Team</name>
<email>[email protected]</email>
</developer>
</developers>
<organization>
<name>T-Mobile</name>
<url>https://www.t-mobile.com</url>
</organization>
<scm>
<connection>scm:git:git://github.com/tmobile/pacman.git</connection>
<developerConnection>scm:git:ssh://github.com/tmobile/pacman.git</developerConnection>
<url>https://github.com/tmobile/pacman/tree/master</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install-node-and-npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-resources</phase>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>npm run ng build -- --env=prod --output-hashing=all</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run ng build -- --env=prod --output-hashing=all</arguments>
</configuration>
</execution>
</executions>
<configuration>
<nodeVersion>v8.12.0</nodeVersion>
<npmVersion>6.4.1</npmVersion>
<workingDirectory>${pom.parent.basedir}</workingDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<copy todir="../dist/pacmanspa">
<fileset dir="dist" includes="**/*" />
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>