-
Notifications
You must be signed in to change notification settings - Fork 37
/
pom.xml
106 lines (99 loc) · 4.79 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
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-health-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
</parent>
<artifactId>smallrye-health-ui</artifactId>
<name>SmallRye Health: UI</name>
<properties>
<bootstrap.version>4.5.0</bootstrap.version>
<jquery.version>3.5.1</jquery.version>
</properties>
<build>
<!-- Copy all web content files META-INF folder, and push it through a filter to replace maven properties -->
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${basedir}/src/main/webapp</directory>
<targetPath>${project.build.directory}/classes/META-INF/resources</targetPath>
<filtering>true</filtering>
<includes>
<include>**/*.css</include>
<include>**/*.html</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/webapp</directory>
<targetPath>${project.build.directory}/classes/META-INF/resources</targetPath>
<filtering>false</filtering>
<excludes>
<exclude>**/*.css</exclude>
<exclude>**/*.html</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- So we don't have to keep a version of these javascript libs in our repo -->
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.13.0</version>
<executions>
<execution>
<id>install-bootstrap-css</id>
<phase>generate-sources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://unpkg.com/bootstrap@${bootstrap.version}/dist/css/bootstrap.min.css</url>
<unpack>false</unpack>
<outputDirectory>${project.build.directory}/classes/META-INF/resources/health-ui</outputDirectory>
<md5>3afe15e976734d9daac26310110c4594</md5>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
<readTimeOut>10000</readTimeOut>
</configuration>
</execution>
<execution>
<id>install-bootstrap-js</id>
<phase>generate-sources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://unpkg.com/bootstrap@${bootstrap.version}/dist/js/bootstrap.min.js</url>
<unpack>false</unpack>
<outputDirectory>${project.build.directory}/classes/META-INF/resources/health-ui</outputDirectory>
<md5>6bea60c34c5db6797150610dacdc6bce</md5>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
<readTimeOut>10000</readTimeOut>
</configuration>
</execution>
<execution>
<id>install-query</id>
<phase>generate-sources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://unpkg.com/jquery@${jquery.version}/dist/jquery.min.js</url>
<unpack>false</unpack>
<outputDirectory>${project.build.directory}/classes/META-INF/resources/health-ui</outputDirectory>
<md5>dc5e7f18c8d36ac1d3d4753a87c98d0a</md5>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
<readTimeOut>10000</readTimeOut>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>