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 @@ ...@@ -36,7 +36,8 @@
<artifactId>dockerfile-maven-plugin</artifactId> <artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.13</version> <version>1.4.13</version>
<configuration> <configuration>
<repository>${docker.image.prefix}/${project.artifactId}</repository> <!-- <repository>${docker.image.prefix}/${project.artifactId}</repository>-->
<repository>${project.artifactId}</repository>
<tag>${project.version}</tag> <tag>${project.version}</tag>
</configuration> </configuration>
</plugin> </plugin>
...@@ -74,11 +75,21 @@ ...@@ -74,11 +75,21 @@
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
</dependency> </dependency>
<!--We need this for java 11. Otherwise we get: javax.xml.bind.annotation does not exist--> <!--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> <dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId> <artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version> <version>2.3.0.1</version>
</dependency> </dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.1</version>
</dependency>
<!--SpringFox dependencies --> <!--SpringFox dependencies -->
<dependency> <dependency>
<groupId>io.springfox</groupId> <groupId>io.springfox</groupId>
......
...@@ -107,7 +107,8 @@ ...@@ -107,7 +107,8 @@
<artifactId>dockerfile-maven-plugin</artifactId> <artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.13</version> <version>1.4.13</version>
<configuration> <configuration>
<repository>${docker.image.prefix}/${project.artifactId}</repository> <!-- <repository>${docker.image.prefix}/${project.artifactId}</repository>-->
<repository>${project.artifactId}</repository>
<tag>${project.version}</tag> <tag>${project.version}</tag>
</configuration> </configuration>
</plugin> </plugin>
......
...@@ -6,7 +6,7 @@ echo "----------Building drip-provisioner Docker--------------" ...@@ -6,7 +6,7 @@ echo "----------Building drip-provisioner Docker--------------"
cd drip-provisioner && mvn -Dmaven.test.skip=true dockerfile:build cd drip-provisioner && mvn -Dmaven.test.skip=true dockerfile:build
cd ../ cd ../
echo "----------Building sure_tosca-flask-server Docker--------------" 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--------------" echo "----------Building drip-planner Docker--------------"
cd ../ 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