Hi,
I have a simple working Lagom recipe with Cassandra. mvn lagom:runAll works fine.
But when I add the fabric8 or spotify Docker plugin I get a build error.
An example with the fabric8 plugin is here.https://github.com/lagom/lagom-recipes/blob/master/kubernetes-deployment/hello-kubernetes-java-mvn/pom.xml
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ hello-api —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\AWS\ReactiveMicroServices\Elasticity\hello-api\src\main\resources
[INFO]
[INFO] — maven-compiler-plugin:3.8.1:compile (default-compile) @ hello-api —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to D:\AWS\ReactiveMicroServices\Elasticity\hello-api\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Elasticity 1.0-SNAPSHOT:
[INFO]
[INFO] Elasticity … SUCCESS [ 39.315 s]
[INFO] hello-api … FAILURE [ 2.794 s]
[INFO] hello-impl … SKIPPED
[INFO] stream-api … SKIPPED
[INFO] stream-impl … SKIPPED
[INFO] integration-test … SKIPPED
[INFO] cassandra-config … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.764 s
[INFO] Finished at: 2019-06-10T16:16:53+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hello-api: Compilation failure -> [Help 1]
The command I use is mvn package docker:build. Why does this fail only in this case ?
Thanks,
Mohan