As this is a multi-module maven project first build it from the top level.
After that you should be fine going to a specific module.
From: jakartaee-examples-dev <jakartaee-examples-dev-bounces@xxxxxxxxxxx>
On Behalf Of Zahid Rahman
Sent: Wednesday, March 3, 2021 1:35 AM
To: jakartaee-examples-dev@xxxxxxxxxxx
Subject: [jakartaee-examples-dev] mvn install error
(base) zahid@kub20:~/glassfish6/jakartaee-examples-master/jsf/ajax$ java -version
java version "15.0.2" 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)
I have only downloaded and extracted jakartaee-master-examples on Ubuntu 20.04 linux.
all the examples are giving me the same error message when I run
the command maven install.
(base) zahid@kub20:~/glassfish6/jakartaee-examples-master/jsf/ajax$ mvn clean package install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< jakartaee.examples.jsf:jsfAjax >-------------------
[INFO] Building A f:ajax example 8-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for jakartaee.examples:utils:jar:8-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.574 s
[INFO] Finished at: 2021-03-03T08:18:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jsfAjax: Could not resolve dependencies for project jakartaee.examples.jsf:jsfAjax:war:8-SNAPSHOT: Could not find artifact jakartaee.examples:utils:jar:8-SNAPSHOT -> [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/DependencyResolutionException
(base) zahid@kub20:~/glassfish6/jakartaee-examples-master/jsf/ajax$