I have the same error, I was deploying snapshot and snapshotRepository settings was not included in my main pom's distributionManagement.
fix by adding snapshotRepository
snapshots
libs-snapshot
http://artifactory.private-apps.com/artifactory/libs-snapshot-local