Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project git-merge-repos: An exception occured while executing the Java class. null: InvocationTargetException: Invalid remote
octasimo opened this issue · 3 comments
octasimo commented
Hello @robinst!
I'm trying to merge 2 distinct repositories and although the command for preserving the history for paths worked well, I'm hitting the error in the title. I've attached a debug image with my terminal. Any idea what could be the fix for this?
Thank you!
Deleted user commented
Stupid me... Apparently the script doesn't work with relative paths. I had to use the absolute paths and all it's ok now. Thanks, anyway!
robinst commented
Relative paths are a bit of a pain to make work with the wrapper script. I made it a bit more clear in the instructions now, thanks for reporting!
Deleted user commented
No problem. I'll help anytime when possible!