1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright 2017-2023 ZTE Corporation.
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
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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.
17 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.onap.holmes.rule-management</groupId>
23 <artifactId>holmes-rulemgt-parent</artifactId>
24 <version>1.3.6-SNAPSHOT</version>
27 <artifactId>holmes-rulemgt</artifactId>
28 <name>holmes-rulemgt-service</name>
29 <packaging>jar</packaging>
32 <main-class>org.onap.holmes.rulemgt.RuleActiveApp</main-class>
33 <sonar.coverage.jacoco.xmlReportPaths>
34 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
35 </sonar.coverage.jacoco.xmlReportPaths>
36 <jacoco.version>0.8.5</jacoco.version>
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-compiler-plugin</artifactId>
44 <version>3.8.1</version>
51 <artifactId>maven-surefire-plugin</artifactId>
52 <version>3.1.2</version>
55 --add-opens=java.base/java.lang=ALL-UNNAMED
56 --add-opens=java.base/java.net=ALL-UNNAMED
57 --add-opens=java.base/java.util=ALL-UNNAMED
58 --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
59 --add-opens=java.base/java.util.stream=ALL-UNNAMED
60 --add-opens=java.base/java.io=ALL-UNNAMED
61 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
66 <groupId>org.jacoco</groupId>
67 <artifactId>jacoco-maven-plugin</artifactId>
68 <version>${jacoco.version}</version>
71 <id>prepare-agent</id>
73 <goal>prepare-agent</goal>
82 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
83 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot-maven-plugin</artifactId>
91 <version>${springboot.version}</version>
95 <goal>repackage</goal>
100 <mainClass>${main-class}</mainClass>
106 <directory>src/main/java</directory>
108 <include>**/*.properties</include>
112 <directory>src/main/resources</directory>
122 <groupId>io.swagger</groupId>
123 <artifactId>swagger-jersey2-jaxrs</artifactId>
124 <version>1.5.3</version>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-databind</artifactId>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-core</artifactId>
140 <groupId>com.github.kongchen</groupId>
141 <artifactId>swagger-maven-plugin</artifactId>
142 <version>3.1.1</version>
146 <springmvc>false</springmvc>
147 <locations>org.onap.holmes.rulemgt.resources</locations>
148 <basePath>/api/holmes-rule-mgmt/v1/</basePath>
150 <title>API Descriptions for Holmes Rule Management</title>
151 <version>v1</version>
153 This page shows all the APIs available in the Holmes rule management module.
156 http://www.github.com/kongchen/swagger-maven-plugin
159 <email>fu.guangrong@zte.com.cn</email>
160 <name>Guangrong Fu</name>
163 <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
164 <name>Apache 2.0</name>
167 <securityDefinitions>
168 </securityDefinitions>
169 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
175 <phase>compile</phase>
177 <goal>generate</goal>
183 <groupId>io.swagger</groupId>
184 <artifactId>swagger-hibernate-validations</artifactId>
185 <version>1.5.6</version>