1 <?xml version="1.0" encoding="UTF-8" ?>
3 ~ Copyright 2017-2020 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"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.holmes.engine-management</groupId>
24 <artifactId>holmes-engine-parent</artifactId>
25 <version>1.3.8-SNAPSHOT</version>
28 <artifactId>holmes-engine-d</artifactId>
29 <name>holmes-engine-d-service</name>
30 <packaging>jar</packaging>
33 <main-class>org.onap.holmes.engine.EngineDActiveApp</main-class>
39 <directory>src/main/java</directory>
41 <include>**/*.properties</include>
45 <directory>src/main/resources</directory>
47 <exclude>swagger.json</exclude>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-maven-plugin</artifactId>
55 <version>${springboot.version}</version>
59 <goal>repackage</goal>
64 <mainClass>${main-class}</mainClass>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-compiler-plugin</artifactId>
70 <version>3.8.1</version>
77 <artifactId>maven-surefire-plugin</artifactId>
78 <version>3.1.2</version>
81 --add-opens=java.base/java.lang=ALL-UNNAMED
82 --add-opens=java.base/java.net=ALL-UNNAMED
83 --add-opens=java.base/java.util=ALL-UNNAMED
84 --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
85 --add-opens=java.base/java.util.stream=ALL-UNNAMED
86 --add-opens=java.base/java.io=ALL-UNNAMED
87 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
92 <groupId>org.jacoco</groupId>
93 <artifactId>jacoco-maven-plugin</artifactId>
94 <version>${jacoco.version}</version>
97 <id>prepare-agent</id>
99 <goal>prepare-agent</goal>
108 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
109 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
122 <groupId>io.swagger</groupId>
123 <artifactId>swagger-jersey2-jaxrs</artifactId>
124 <version>1.5.0</version>
130 <groupId>com.github.kongchen</groupId>
131 <artifactId>swagger-maven-plugin</artifactId>
132 <version>3.1.1</version>
136 <springmvc>false</springmvc>
137 <locations>org.onap.holmes.engine.resources</locations>
138 <basePath>/api/holmes-engine-mgmt/v1/</basePath>
140 <title>API Descriptions for Holmes Engine Management</title>
141 <version>v1</version>
143 This page shows all the APIs available in the Holmes engine management
147 http://www.github.com/kongchen/swagger-maven-plugin
150 <email>fu.guangrong@zte.com.cn</email>
151 <name>Guangrong Fu</name>
154 <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
155 <name>Apache 2.0</name>
158 <securityDefinitions>
159 </securityDefinitions>
160 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
166 <phase>compile</phase>
168 <goal>generate</goal>
174 <groupId>io.swagger</groupId>
175 <artifactId>swagger-hibernate-validations</artifactId>
176 <version>1.5.6</version>