I have access to maven through Netbeans IDE, but am trying to install Maven 3.5.0 separate so I could install custom jar files into local .m2 repo through command line in cmd.
I have downloaded the zip file for Maven 3.5.0 from http://maven.apache.org/download.cgi
file : apache-maven-3.5.0-src.zip
When I tried executing the command
mvn -v
getting this error..
Error: Could not find or load main class org.codehaus.plexus.classwolrds.launcher.Launcher
I have already tried various environment variable settings such as
finally when I tried to run mvn -v from apache maven bin direct
c:\Program Files\apache-maven-3.5.0\apache-maven\src\bin>mvn -v
still got the same issue, I figure there is a conflict in installation itself.