The mvn install ran successfully. However, when I do a mvn cargo:run in javaee8 folder, I get this error.
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.7.9:run (default-cli) on project glassfish-samples-parent: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.7.9:run failed: Failed to unpack [latest-glassfish.zip]: Error while expanding /var/folders/kp/q6f59rr15_d28h37c7zwt3yc_twsrn/T/cargo/installs/latest-glassfish.zip: archive is not a ZIP archive -> [Help 1]
If you're facing this same issue, you may want to try and fix it via editing property in the parent file pom.xml to use HTTPS instead of HTTP. E.g.
ws/jakartaee9/pom.xml:
<cargo.maven.containerUrl>https://download.oracle.com/glassfish/5.0/promoted/latest-glassfish.zip</cargo.maven.containerUrl>
The
mvn install
ran successfully. However, when I do amvn cargo:run
injavaee8
folder, I get this error.What is missing?