ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 396 forks source link

Maven fatal error: Not a git repository #184

Closed OuchMyFaceyHole closed 6 years ago

OuchMyFaceyHole commented 6 years ago

It seems that every single time without failure that I try to run this server I get this error. I've been able to fix it in the past but I can't seem to fix it this time. Running git init also does not work and produces ambiguous argument errors.

Linux Mint 19 Cinnamon

devgianlu commented 6 years ago

What command are you running? Should be git clone https://github.com/ajanata/PretendYoureXyzzy.git.

OuchMyFaceyHole commented 6 years ago

Running that and adding the remote repo gave a permission denied error :/

devgianlu commented 6 years ago

If you cloned the repo that way you don't need to add a remote. The permission denied error probably means you tried to push to this repo.

On Sat, Aug 4, 2018, 20:22 Hunter259 notifications@github.com wrote:

Running that and adding the remote repo gave a permission denied error :/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ajanata/PretendYoureXyzzy/issues/184#issuecomment-410468261, or mute the thread https://github.com/notifications/unsubscribe-auth/AOI-8X4MUwBL7Rntdt4NF8IApVNmnpnZks5uNeZIgaJpZM4VvE7k .

OuchMyFaceyHole commented 6 years ago

Maven asked to add it when running the in the new cloned server folder

devgianlu commented 6 years ago

What command did you run?

OuchMyFaceyHole commented 6 years ago

mvn clean package war:exploded jetty:run The error I get is a git pull.

devgianlu commented 6 years ago

You should run mvn clean package war:exploded jetty:run -Dmaven.buildNumber.doCheck=false -Dmaven.buildNumber.doUpdate=false

OuchMyFaceyHole commented 6 years ago

That did it. No idea why I could get it working in the past without doing that. Thank you!

ajanata commented 6 years ago

I probably should just disable those plugins, they seem to cause more trouble than they're worth.