Closed pulkitsinghal closed 10 years ago
I ran the command with -Dwagon.git.debug=true
and here's the relevant gist: https://gist.github.com/pulkitsinghal/8074867
Please try again removing this directory manually first: /var/folders/bl/hw7sxsj97vjdqvtjqn1707wh0000gr/T/wagon-git-88479be8483e93e05585a29708d4f7dad413f4ef
That seems to have done the trick! What was it about?
In order to avoid downloading the target repository over and over, the wagon computes a hash on the remote address and uses it as a the name of the local directory.
Somehow, your directory looks like being in an inconsistent state (created, but no git repo inside).
In my case it was a different directory: /var/folders/hy/n1d29m9x7qv5st1yj_dpw1gw0000gn/T/wagon-git-**
I had everything working with wagon-git perfectly for a few days, given the following config:
So I'm not quite sure what changed after a reboot, perhaps a session expired that I should have configured explicitly ... I don't know ... this is what I see now when I run
mvn clean deploy
now:Any suggestions as to what could be wrong? Is this a bug? I had NOT configured
~/.m2/settings.xml
last time for publishing when it all just worked ... and now when I try configuring it ... the error show up with or without it.