<?xml version="1.0" encoding="UTF-8"?>
<!--<![CDATA[
========================LICENSE_START=================================
-ORAN-OSC
+O-RAN-SC
%%
Copyright (C) 2019 AT&T Intellectual Property and Nokia
%%
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.oranosc.ric.portal.dashboard</groupId>
+ <groupId>org.o-ran-sc.portal.ric-dashboard</groupId>
<artifactId>ric-dash-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.5-SNAPSHOT</version>
</parent>
<artifactId>ric-dash-be</artifactId>
<name>RIC Dashboard Webapp backend</name>
<properties>
<java.version>1.8</java.version>
<springfox.version>2.9.2</springfox.version>
- <docker.push.registry>${env.NEXUS3_PUSH_REGISTRY}</docker.push.registry>
+ <!-- Set by Jenkins -->
+ <build.number>0</build.number>
</properties>
<dependencies>
+ <!-- xApps -->
<dependency>
- <groupId>org.oranosc.ric.e2mgr.client</groupId>
- <artifactId>e2-mgr-client</artifactId>
- <version>0.0.1-SNAPSHOT</version>
+ <groupId>org.o-ran-sc.ric.xapp.anr.client</groupId>
+ <artifactId>anr-xapp-client</artifactId>
+ <version>0.0.8-SNAPSHOT</version>
+ </dependency>
+ <!-- Platform components -->
+ <dependency>
+ <groupId>org.o-ran-sc.ric.plt.a1med.client</groupId>
+ <artifactId>a1-med-client</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.oranosc.ric.xappmgr.client</groupId>
- <artifactId>xapp-mgr-client</artifactId>
- <version>0.0.10-SNAPSHOT</version>
+ <groupId>org.o-ran-sc.ric.plt.appmgr.client</groupId>
+ <artifactId>app-mgr-client</artifactId>
+ <version>0.1.5-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.o-ran-sc.ric.plt.e2mgr.client</groupId>
+ <artifactId>e2-mgr-client</artifactId>
+ <version>20190703-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
</dependencies>
<build>
<plugins>
- <!-- do not deploy a jar or pom file -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <!-- spring sets the <version>2.8</version> -->
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+ <!-- Require Java 1.8 -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <!-- Spring sets the <version></version> -->
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ </configuration>
+ </plugin>
+ <!-- Add the build number to the jar manifest. Spring-Boot uses a complex
+ packaging process that makes access to the original Manifest.MF very difficult.
+ However, Java provides access to the implementation version for a package,
+ so cram the build number into there. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <!-- Spring sets the <version>2.5</version> -->
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <Implementation-Version>${project.version}-b${build.number}</Implementation-Version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<!-- spring-boot sets the <version>3.1.0</version> -->
</execution>
</executions>
</plugin>
+ <!-- do not deploy a jar or pom file -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <!-- spring sets the <version>2.8</version> -->
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
<!-- https://stackoverflow.com/questions/39126226/fabric8-springboot-full-example -->
<plugin>
<groupId>io.fabric8</groupId>
<version>0.28.0</version>
<configuration>
<verbose>true</verbose>
- <!-- Not supplied to all jobs; e.g., Javadoc -->
- <docker.pull.registry>nexus3.oran-osc.org:10001</docker.pull.registry>
- <pushRegistry>${docker.push.registry}</pushRegistry>
+ <!-- environment variables supplied by Jenkins -->
+ <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
+ <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
<images>
<image>
<!-- Specify a tag to avoid default tag "latest" -->