mvn dependency:tree
shows the same error
Code:
Failed to resolve artifact
Missing:
----------
1) org.springframework.roo.wrapping:org.springframework.roo.wrapping.bcprov-jdk15:jar:1.45.0.0001
I checked the dependency hierarchy in my pom file. This dependency is required by org.springframework.uaa.client:1.0.2.RELEASE which is required by org.springframework.roo.project:1.1.4.RELEASE which is required by org.springframework.roo.addon.web.mvc.controller.
1.1.4.RELEASE pom file doesn't specify the version of org.springframework.uaa.client but I guess it might just get the latest version of it because I found the latest version of org.springframework.uaa.client is 1.0.2.RELEASE in Spring's repository.
The orignal pom didn't have this org.springframework.roo.addon.web.mvc.controller dependency. Maybe this org.springframework.roo.addon.web.mvc.controller dependency is the one that causes the problem. I'll remove it and see how it goes.
I have removed org.springframework.roo.addon.web.mvc.controller and the build is smooth now. Thank you.