Compilation error when running mvn clean compile
Hi all, I checked-out the latest version of the branch 'develop', ran 'mvn clean compile' and got the following error:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/stephane/Documents/assembloo/engineering/repositories/stopcovid/robert-server/robert-server-ws-rest/src/main/java/fr/gouv/stopc/robertserver/ws/service/impl/AuthRequestValidationServiceImpl.java:[10,20] package javax.xml.ws does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for robert-server 1.0.0-SNAPSHOT:
[INFO]
[INFO] robert-server ...................................... SUCCESS [ 0.890 s]
[INFO] robert-crypto-grpc-server-messaging ................ SUCCESS [ 3.590 s]
[INFO] robert-server-common ............................... SUCCESS [ 0.492 s]
[INFO] robert-server-database ............................. SUCCESS [ 0.692 s]
[INFO] robert-server-crypto ............................... SUCCESS [ 0.509 s]
[INFO] robert-server-ws-rest .............................. FAILURE [ 1.079 s]
[INFO] robert-server-batch ................................ SKIPPED
[INFO] robert-crypto-grpc-server-storage .................. SKIPPED
[INFO] robert-crypto-grpc-server .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.780 s
[INFO] Finished at: 2020-06-01T07:14:43+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project robert-server-ws-rest: Compilation failure
[ERROR] /home/stephane/Documents/assembloo/engineering/repositories/stopcovid/robert-server/robert-server-ws-rest/src/main/java/fr/gouv/stopc/robertserver/ws/service/impl/AuthRequestValidationServiceImpl.java:[10,20] package javax.xml.ws does not exist
This is related to a missing entry in the pom file
Adding the following dependency to robert-server-ws-rest/pom.xml fixes the issue:
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
</dependency>
For information, I am running Ubuntu 20.04