Simulator updates
Change-Id: I9b7ac08c190ed10decce7b5ed700905729b565ac
Issue-ID: NONRTRIC-46
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ia79ff05419307d2dfc526d384a232449af3400e5
diff --git a/near-rt-ric-simulator/nearric-simulator/nearric-service/pom.xml b/near-rt-ric-simulator/nearric-simulator/nearric-service/pom.xml
index 383e846..e35337c 100644
--- a/near-rt-ric-simulator/nearric-simulator/nearric-service/pom.xml
+++ b/near-rt-ric-simulator/nearric-simulator/nearric-service/pom.xml
@@ -15,16 +15,23 @@
<java.version>1.8</java.version>
<okhttp-version>2.7.5</okhttp-version>
<gson-version>2.8.1</gson-version>
+ <dockerfile-maven-version>1.4.2</dockerfile-maven-version>
</properties>
<dependencies>
<dependency>
<groupId>org.oran.nearric</groupId>
<artifactId>a1-med-api</artifactId>
- <version>0.10.3-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-logging</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -138,6 +145,27 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>dockerfile-maven-plugin</artifactId>
+ <version>${dockerfile-maven-version}</version>
+ <executions>
+ <execution>
+ <id>default</id>
+ <goals>
+ <goal>build</goal>
+ <goal>push</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <repository>nearric-simulator</repository>
+ <tag>${project.version}</tag>
+ <buildArgs>
+ <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
+ </buildArgs>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>