Greetings All,
I am receiving the following error when I execute the command:
mvn clean package within Netty In Action's chapter 2 book code as follows:
/netty-in-action-2.0-SNAPSHOT/chapter2# mvn clean package
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Chapter 2. Your First Netty Application - Echo App . SUCCESS [ 2.352 s]
[INFO] Chapter 2. Echo Client ............................. FAILURE [ 2.457 s]
[INFO] Chapter 2. Echo Server ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.936 s
[INFO] Finished at: 2016-09-27T20:36:45-06:00
[INFO] Final Memory: 9M/143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project echo-client: Could not resolve dependencies for project nia:echo-client:jar:2.0-SNAPSHOT: Could not find artifact nia:utils:jar:2.0-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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :echo-client
I am using
maven version 3.3.9 and
oracle java version 1.8.0. Both maven and java were added to my executable PATH. In addition, I downloaded the latest book code from:
https://github.com/normanmaurer/netty-in-action/tree/2.0-SNAPSHOTCan someone tell me how I can resolve this issue and why maven can not find the artifact:
nia:utils:jar:2.0-SNAPSHOT?