Forum Stats

  • 3,768,996 Users
  • 2,252,894 Discussions
  • 7,874,831 Comments

Discussions

MSDataworkshop - STEP 2: Build and push the Docker images

Hello,


Ii'm running the step 2 - STEP 2: Build and push the Docker images - cd $MSDATAWORKSHOP_LOCATION ; ./build.sh


And getting a lot of [INFO] BUILD FAILURE:


Here is the full message of one of the failure:

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 2 source files to /home/oshik_a_av/msdataworkshop-master/supplier-helidon-se/target/classes

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5.460 s

[INFO] Finished at: 2021-01-31T10:37:57Z

[INFO] Final Memory: 20M/208M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project supplier-helidon-se: Fatal error compiling: invalid flag: --release -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

./build.sh: line 18: [: -ne: unary operator expected

The push refers to repository [eu-frankfurt-1.ocir.io/oraseemeail/oshik.avioz/msdataworkshop/supplier-helidon-se]

An image does not exist locally with the tag: eu-frankfurt-1.ocir.io/oraseemeail/oshik.avioz/msdataworkshop/supplier-helidon-se

________________________________________

building and pushing inventory-helidon...

________________________________________

[INFO] Scanning for projects...

Downloading: https://repo.maven.apache.org/maven2/io/helidon/helidon-bom/1.4.2/helidon-bom-1.4.2.pom

Downloaded: https://repo.maven.apache.org/maven2/io/helidon/helidon-bom/1.4.2/helidon-bom-1.4.2.pom (33 kB at 28 kB/s)

Downloading: https://repo.maven.apache.org/maven2/io/helidon/helidon-parent/1.4.2/helidon-parent-1.4.2.pom

Downloaded: https://repo.maven.apache.org/maven2/io/helidon/helidon-parent/1.4.2/helidon-parent-1.4.2.pom (8.3 kB at 267 kB/s)

[INFO] ------------------------------------------------------------------------

[INFO] Detecting the operating system and CPU architecture

[INFO] ------------------------------------------------------------------------


Any help?


Thanks,

Oshik.

Answers