blob: c5b458c88c37ca937fe34ca445e503e99537121b [file] [log] [blame]
waqas.ikram3e9ee092018-08-23 13:26:09 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 SPDX-License-Identifier: Apache-2.0
18 ============LICENSE_END=========================================================
19-->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040022 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.so.monitoring</groupId>
26 <artifactId>so-monitoring</artifactId>
seshukm1c8d0202021-02-15 20:35:29 +053027 <version>1.8.0-SNAPSHOT</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040028 </parent>
29 <artifactId>so-monitoring-service</artifactId>
30 <name>${project.artifactId}</name>
waqas.ikram3e9ee092018-08-23 13:26:09 +010031
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040032 <dependencies>
33 <dependency>
34 <groupId>org.onap.so.monitoring</groupId>
35 <artifactId>so-monitoring-handler</artifactId>
36 <version>${project.version}</version>
37 <exclusions>
38 <exclusion>
39 <groupId>org.springframework.boot</groupId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040040 <artifactId>spring-boot-starter-data-jpa</artifactId>
41 </exclusion>
42 </exclusions>
43 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040044 <dependency>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-web</artifactId>
47 </dependency>
48 <dependency>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-test</artifactId>
51 <scope>test</scope>
52 </dependency>
53 <dependency>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-jersey</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-configuration-processor</artifactId>
60 <scope>compile</scope>
61 </dependency>
62 </dependencies>
waqas.ikram3e9ee092018-08-23 13:26:09 +010063
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040064 <build>
65 <plugins>
66 <plugin>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-maven-plugin</artifactId>
69 <version>${springboot.version}</version>
70 <configuration>
71 <mainClass>org.onap.so.monitoring.rest.api.SoMonitoringApplication</mainClass>
72 </configuration>
73 <executions>
74 <execution>
75 <goals>
76 <goal>repackage</goal>
77 </goals>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-maven-plugin</artifactId>
84 </plugin>
85 <plugin>
86 <artifactId>maven-resources-plugin</artifactId>
87 <version>3.0.2</version>
88 <executions>
89 <execution>
90 <id>copy-resources</id>
91 <phase>validate</phase>
92 <goals>
93 <goal>copy-resources</goal>
94 </goals>
95 <configuration>
96 <outputDirectory>${project.basedir}/target/classes/static/</outputDirectory>
97 <resources>
98 <resource>
99 <directory>${project.basedir}/../so-monitoring-ui/src/main/frontend/dist/ONAP-SO-Monitor/</directory>
100 </resource>
101 </resources>
102 </configuration>
103 </execution>
104 </executions>
105 </plugin>
106 </plugins>
Krzysztof Gajewskiec03ac82020-08-20 13:44:38 +0200107 <resources>
108 <resource>
109 <directory>src/main/resources</directory>
110 <filtering>true</filtering>
111 <excludes>
112 <exclude>**/*.p12</exclude>
113 <exclude>**/*.jks</exclude>
114 </excludes>
115 </resource>
116 <resource>
117 <directory>src/main/resources</directory>
118 <filtering>false</filtering>
119 <includes>
120 <include>**/*.p12</include>
121 <include>**/*.jks</include>
122 </includes>
123 </resource>
124 </resources>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400125 </build>
waqas.ikram3e9ee092018-08-23 13:26:09 +0100126
Rob Daugherty325d4e22018-10-19 15:13:38 -0400127</project>