blob: 4b666344a5162ec2f2bad294a3d64ed985121dfa [file] [log] [blame]
RehanRaza553523f2019-11-12 13:39:40 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
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.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
elinuxhenrikb033eaf2020-02-03 16:02:21 +010021
Lathish1279d192019-10-10 13:30:07 +010022<project xmlns="http://maven.apache.org/POM/4.0.0"
elinuxhenrikb033eaf2020-02-03 16:02:21 +010023 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.oran.nearric</groupId>
27 <artifactId>nearric-simulator</artifactId>
28 <version>1.0.1-SNAPSHOT</version>
29 <packaging>pom</packaging>
30 <name>${project.artifactId}</name>
Lathish1279d192019-10-10 13:30:07 +010031
elinuxhenrikb033eaf2020-02-03 16:02:21 +010032 <parent>
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-starter-parent</artifactId>
35 <version>2.1.9.RELEASE</version>
36 <relativePath />
37 </parent>
Lathish1279d192019-10-10 13:30:07 +010038
elinuxhenrikb033eaf2020-02-03 16:02:21 +010039 <properties>
40 <spring.boot.version>2.1.9.RELEASE</spring.boot.version>
41 <java.version>11</java.version>
42 <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
43 </properties>
Lathish1279d192019-10-10 13:30:07 +010044
elinuxhenrikb033eaf2020-02-03 16:02:21 +010045 <dependencyManagement>
46 <dependencies>
47 <dependency>
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-dependencies</artifactId>
50 <version>${spring.boot.version}</version>
51 <type>pom</type>
52 <scope>import</scope>
53 </dependency>
54 </dependencies>
55 </dependencyManagement>
Lathish1279d192019-10-10 13:30:07 +010056
elinuxhenrikb033eaf2020-02-03 16:02:21 +010057 <dependencies>
58 <dependency>
59 <groupId>org.springframework</groupId>
60 <artifactId>spring-context</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>org.springframework</groupId>
64 <artifactId>spring-web</artifactId>
65 </dependency>
66 </dependencies>
67 <build>
68 <plugins>
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-compiler-plugin</artifactId>
72 <configuration>
73 <release>${java.version}</release>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>io.fabric8</groupId>
78 <artifactId>docker-maven-plugin</artifactId>
79 <version>${docker-maven-plugin.version}</version>
80 <inherited>false</inherited>
81 <executions>
82 <execution>
83 <id>push-near-rt-ric-simulator-image</id>
84 <goals>
85 <goal>build</goal>
86 <goal>push</goal>
87 </goals>
88 <configuration>
89 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
90 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
91 <images>
92 <image>
93 <name>o-ran-sc/near-rt-ric-simulator:${project.version}</name>
94 <build>
95 <contextDir>${basedir}/ric-plt/a1</contextDir>
96 <dockerFile>Dockerfile</dockerFile>
97 <tags>
98 <tag>${project.version}</tag>
99 </tags>
100 </build>
101 </image>
102 </images>
103 </configuration>
104 </execution>
105 </executions>
106 </plugin>
107 </plugins>
108 </build>
109</project>