Failed to deploy artifacts/metadata: No connector available to access repository

2,574 views
Skip to first unread message

Felipe Reis

unread,
Aug 21, 2013, 4:05:06 PM8/21/13
to maven-jgit...@googlegroups.com
I'm trying to run mvn jgitflow:release-finish but I keep getting the following error:

Failed to deploy artifacts/metadata: No connector available to access repository

My remote repo is in bitbucket and I use SSH to perform commits, fetchs etc. I'm using Maven 3, by the way...

I have included the following in my pom, with no success:

<distributionManagement>
<repository>
<id>bitbucket</id>
</repository>
</distributionManagement>

<pluginRepositories>
<pluginRepository>
<id>synergian-repo</id>
</pluginRepository>
</pluginRepositories>

<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.4</version>
</extension>
</extensions>
</build>

Jonathan Doklovic

unread,
Aug 21, 2013, 4:10:38 PM8/21/13
to maven-jgit...@googlegroups.com
The distributionManagement and pluginRepositories are for telling maven where to push/pull your final artifacts which need to be maven repositories, NOT source repositories.

I've never tried using bitbucket or github as maven repositories and so I'm not sure where the issue is here.

- JD

Felipe Reis

unread,
Aug 21, 2013, 4:39:27 PM8/21/13
to maven-jgit...@googlegroups.com
Great Jonathan! Thanks for your explanation. Now I have a better understanding about what distributionManagement is.
Reply all
Reply to author
Forward
0 new messages