Commit 565ab013 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added new dependencies for the 'package javax.xml.bind.annotation does not exist' error

parent 51163715
File mode changed from 100644 to 100755
......@@ -36,7 +36,8 @@
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.13</version>
<configuration>
<repository>${docker.image.prefix}/${project.artifactId}</repository>
<!-- <repository>${docker.image.prefix}/${project.artifactId}</repository>-->
<repository>${project.artifactId}</repository>
<tag>${project.version}</tag>
</configuration>
</plugin>
......@@ -74,11 +75,21 @@
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<!--We need this for java 11. Otherwise we get: javax.xml.bind.annotation does not exist-->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.1</version>
</dependency>
<!--SpringFox dependencies -->
<dependency>
<groupId>io.springfox</groupId>
......
......@@ -107,7 +107,8 @@
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.13</version>
<configuration>
<repository>${docker.image.prefix}/${project.artifactId}</repository>
<!-- <repository>${docker.image.prefix}/${project.artifactId}</repository>-->
<repository>${project.artifactId}</repository>
<tag>${project.version}</tag>
</configuration>
</plugin>
......
......@@ -6,7 +6,7 @@ echo "----------Building drip-provisioner Docker--------------"
cd drip-provisioner && mvn -Dmaven.test.skip=true dockerfile:build
cd ../
echo "----------Building sure_tosca-flask-server Docker--------------"
cd sure_tosca-flask-server && docker build -t deth53/sure-tosca:3.0.0 .
cd sure_tosca-flask-server && docker build -t sure-tosca:3.0.0 .
echo "----------Building drip-planner Docker--------------"
cd ../
cd drip-planner && docker build -t deth53/drip-planner:3.0.0 .
cd drip-planner && docker build -t drip-planner:3.0.0 .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment