Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No plugin found for prefix 'install' in the current project

I want to add jdbc oracle to maven repository since it is not in repository, I have to run this command:

mvn install:install-file
-Dfile=D:\Temp\ojdbc6.jar 
-DgroupId=com.oracle 
-DartifactId=ojdbc6 -
 Dversion=11.2.0 -Dpackaging=jar

and run into this error:

[ERROR] No plugin found for prefix 'install' in the current project and in the p
lugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the re
positories [local ({my repository path}), central (https://repo.maven.
apache.org/maven2)] 

any help would be appropriated.

like image 878
Narges Avatar asked Nov 05 '14 08:11

Narges


1 Answers

I recently got the same error and I tried this command. It worked.

export MAVEN_OPTS=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
like image 69
Manish Carpenter Avatar answered Sep 21 '22 11:09

Manish Carpenter