1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 Copyright (C) 2019 Nordix Foundation.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.oran.nearric</groupId>
27 <artifactId>nearric-simulator</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
30 <artifactId>nearric-service</artifactId>
31 <name>${project.artifactId}</name>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <okhttp-version>2.7.5</okhttp-version>
36 <gson-version>2.8.1</gson-version>
37 <dockerfile-maven-version>1.4.2</dockerfile-maven-version>
41 <groupId>org.oran.nearric</groupId>
42 <artifactId>a1-med-api</artifactId>
43 <version>1.0.0-SNAPSHOT</version>
46 <groupId>org.springframework.boot</groupId>
47 <artifactId>spring-boot-starter-web</artifactId>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-starter-logging</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-data-jpa</artifactId>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-actuator</artifactId>
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-test</artifactId>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-devtools</artifactId>
71 <scope>runtime</scope>
74 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
79 <groupId>io.swagger</groupId>
80 <artifactId>swagger-jaxrs</artifactId>
81 <version>1.5.0</version>
84 <groupId>org.apache.directory.studio</groupId>
85 <artifactId>org.apache.commons.io</artifactId>
86 <version>2.4</version>
89 <groupId>com.googlecode.json-simple</groupId>
90 <artifactId>json-simple</artifactId>
91 <version>1.1.1</version>
95 <groupId>io.springfox</groupId>
96 <artifactId>springfox-swagger-ui</artifactId>
97 <version>2.6.1</version>
98 <scope>compile</scope>
101 <groupId>io.springfox</groupId>
102 <artifactId>springfox-swagger2</artifactId>
103 <version>2.6.1</version>
104 <scope>compile</scope>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-databind</artifactId>
111 <groupId>com.h2database</groupId>
112 <artifactId>h2</artifactId>
114 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
116 <groupId>commons-beanutils</groupId>
117 <artifactId>commons-beanutils</artifactId>
118 <version>1.9.3</version>
121 <groupId>org.modelmapper</groupId>
122 <artifactId>modelmapper</artifactId>
123 <version>2.3.0</version>
126 <groupId>com.squareup.okio</groupId>
127 <artifactId>okio</artifactId>
128 <version>1.13.0</version>
131 <groupId>com.squareup.okhttp</groupId>
132 <artifactId>okhttp</artifactId>
133 <version>${okhttp-version}</version>
136 <groupId>com.squareup.okhttp</groupId>
137 <artifactId>logging-interceptor</artifactId>
138 <version>${okhttp-version}</version>
141 <groupId>com.google.code.gson</groupId>
142 <artifactId>gson</artifactId>
143 <version>${gson-version}</version>
146 <groupId>com.github.java-json-tools</groupId>
147 <artifactId>json-schema-validator</artifactId>
148 <version>2.2.11</version>
154 <groupId>org.springframework.boot</groupId>
155 <artifactId>spring-boot-maven-plugin</artifactId>
157 <mainClass>org.onap.nearric.simulator.config.NearRicApplication</mainClass>
162 <goal>repackage</goal>
168 <groupId>io.fabric8</groupId>
169 <artifactId>docker-maven-plugin</artifactId>
170 <version>0.30.0</version>
172 <verbose>true</verbose>
173 <!-- environment variables supplied by Jenkins -->
174 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
177 <!-- Specify a tag to avoid default tag "latest" -->
178 <!-- Avoid maven artifact name here -->
179 <name>o-ran-sc/nonrtric-nearric-simulator:${project.version}</name>
181 <from>openjdk:11-jre-slim</from>
183 <!-- Add tag with build number -->
184 <tag>${project.version}</tag>
187 <descriptorRef>artifact</descriptorRef>
190 <!-- Include maven dir on classpath for prop files -->
196 <arg>maven:maven/${project.artifactId}-${project.version}.${project.packaging}</arg>
197 <arg>-Dloader.main=org.onap.nearric.simulator.config.NearRicApplication</arg>
198 <arg>-Djava.security.egd=file:/dev/./urandom</arg>
199 <arg>org.springframework.boot.loader.PropertiesLauncher</arg>
206 <!-- build Docker images in install phase, push in deploy phase -->
217 <groupId>javax.activation</groupId>
218 <artifactId>activation</artifactId>
219 <version>1.1.1</version>