RehanRaza | 553523f | 2019-11-12 13:39:40 +0100 | [diff] [blame] | 1 | <?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 | --> |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 21 | |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 23 | 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> |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 31 | |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 32 | <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> |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 38 | |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 39 | <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> |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 44 | |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 45 | <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> |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 56 | |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 57 | <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> |