Could not deploy maven project, no connectors available

I am trying to deploy a maven project, but I am getting this error:

------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.745 s [INFO] Finished at: 2014-07-14T00:52:07+04:00 [INFO] Final Memory: 12M/222M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project myProject: Failed to deploy artifacts/metadata: No connector available to access repository myRepo (jdbc:mysql://localhost:3306/) of type default using the available factories AetherRepositoryConnectorFactory, WagonRepositoryConnectorFactory -> [Help 1] 

** My plugins / extensions include the following:

maven-compiler-plugin 3.1

maven-war-plugin 2.1.1

jboss-as-maven-plugin 7.1.1

maven-deploy-plugin 2.5

wagon-ssh 1.0-beta-7

** I created the main com / mysql / main folder in the modules, and I modified the module file to include the mySQL connector name. Did I miss something?

I appreciate your help.

+1
source share

Source: https://habr.com/ru/post/1235980/


All Articles