org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision com.sample.test-wcm-bundle [397.825] because it is exposed to package 'org.apache.commons.lang.math' from bundle revisions com.sample.test-wcm-dependencies-bundle [398.824] and com.day.commons.osgi.wrapper.commons-lang2 [45.0] via two dependency chains.
com.day.commons.osgi.wrapper.commons-lang2 has commons-lang version 2.5,
My bundle com.sample.test-wcm-dependencies-bundle needs commons-lang version 2.6.
If you build to your local AEM, you could see that sideadmin won't respond and errors in the error.log. If anyone could resolve the errors by adjusting the pom files, I really appreciate. I use AEM 6.0 SP2.