This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
pom.xml
162 lines (158 loc) · 6.62 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<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"
>
<parent>
<groupId>org.teiid</groupId>
<artifactId>komodo-parent</artifactId>
<version>0.0.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<!-- ================================================================== -->
<!-- Self -->
<!-- ================================================================== -->
<modelVersion>4.0.0</modelVersion>
<artifactId>beetle-studio</artifactId>
<description>Web tooling supporting the Teiid project.</description>
<name>BeETLe Studio</name>
<packaging>pom</packaging>
<version>0.0.5-SNAPSHOT</version>
<!-- ================================================================== -->
<!-- Developers -->
<!-- ================================================================== -->
<developers>
<developer>
<name>Mark Drilling</name>
<id>mdrillin</id>
<email>mdrillin@redhat.com</email>
<organization>Red Hat</organization>
<roles>
<role>Project Lead</role>
<role>Developer</role>
</roles>
<timezone>-6</timezone>
</developer>
<developer>
<name>Dan Florian</name>
<id>elvisisking</id>
<email>dflorian@redhat.com</email>
<organization>Red Hat</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>-6</timezone>
</developer>
<developer>
<name>Ted Jones</name>
<id>tejones</id>
<email>tejones@redhat.com</email>
<organization>Red Hat</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>-6</timezone>
</developer>
</developers>
<!-- ================================================================== -->
<!-- Properties -->
<!-- ================================================================== -->
<properties>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<version.exec-maven-plugin>1.5.0</version.exec-maven-plugin>
<version.maven-antrun-plugin>1.8</version.maven-antrun-plugin>
<version.maven-clean-plugin>3.0.0</version.maven-clean-plugin>
<version.maven-compiler-plugin>3.5.1</version.maven-compiler-plugin>
<version.maven-resources-plugin>2.7</version.maven-resources-plugin>
<version.maven-war-plugin>2.6</version.maven-war-plugin>
<finalName>beetle-studio</finalName>
</properties>
<!-- ================================================================== -->
<!-- Build -->
<!-- ================================================================== -->
<build>
<finalName>${finalName}</finalName>
<plugins>
<!-- Copy the Angular UI sources to target to build. -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>${version.maven-resources-plugin}</version>
<executions>
<execution>
<id>copy-angular-sources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target</outputDirectory>
<resources>
<resource>
<directory>${basedir}</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/node_modules/**</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<installDirectory>target</installDirectory>
<workingDirectory>target</workingDirectory>
</configuration>
<executions>
<!-- Install Node and Yarn -->
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>v8.12.0</nodeVersion>
<yarnVersion>v1.12.1</yarnVersion>
</configuration>
</execution>
<!-- Install npm/yarn dependencies -->
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<!-- Build the app -->
<execution>
<id>ng build</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>build</arguments>
</configuration>
</execution>
<execution>
<id>javascript tests</id>
<goals>
<goal>karma</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>