Hi all,

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.


Abhijit

did you try to google for it?
What about this solution...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.