I am using maven for building deployable artifacts. Whenever I run mvn deploy command, error occurs. I am also using nexus for the actual artifact deployment.
Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
Both pom.xml and settings.xml are modified accordingly. No issue about it. But still I am getting this error. If anyone has faced this problem and if you have got any clue, please let me know. Thank you very much.