Correct compile errors due to wrong dependencies

While compiling the Cookbook I got following error:

[INFO] chapter4-recipe10 ................................. SUCCESS [0.004s]
[INFO] chapter4-recipe10-web ............................. FAILURE [0.030s]
[INFO] chapter4-recipe10-bundle .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.950s
[INFO] Finished at: Sat Jul 12 22:06:10 CEST 2014
[INFO] Final Memory: 24M/626M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project chapter4-recipe10-web: Could not resolve dependencies for project com.packt:chapter4-recipe10-web:bundle:1.0.0-SNAPSHOT: Could not find artifact com.packt:chapter5-recipe9-bundle:jar:1.0.0-SNAPSHOT -> [Help 1]

Similar error occurs in chapter 6