-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for multiple Maven projects inside one Git repository #8
Comments
Thanks. I'll have a look at it next time we start a new project. |
Have you uploaded 0.3.2 to Maven Central with this fix? |
No sorry, I'll probably release this with an updated JGit dependency soon. |
Version 0.3.2 was just released. It should be available from Maven Central soon. |
I have a project that is laid out in a similar way. I've just tried 0.3.2 and get the following error: [ERROR] Failed to execute goal com.github.koraktor:mavanagaiata:0.3.2:commit (git-commit) on project webapp: Unable to read Git commit information: Missing unknown On directory structure: /parent Executing mvn from /parent/subdir/ Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown |
What does |
It seems happy enough: commit -diff contents here- |
Strange. What happens when you set: <properties>
<mavanagaiata.gitDir>/path/to/parent</mavanagaiata.gitDir>
</properties> |
No difference. I've tried via the maven tag, the plugin configuration element and by passing I'm running git 1.6.5.7 on OS X 10.6.8 if that helps in the slightest. |
I guess it's either a (in some way) broken repository or a JGit problem. What happens when you clone the repo? Oh, and you might also want to try this: <properties>
<mavanagaiata.gitDir>/path/to/parent/.git</mavanagaiata.gitDir>
</properties> |
Pointing explicitly to the Many thanks. |
Hmm, interesting. It seems I'll definitely try to reproduce this. |
Cool. Let me know if you need any more info from me to help. |
I just pushed b5b2b90 which should fix the problem. It was indeed a problem caused by JGit, which finds |
The problem is fixed in 0.3.3 which should be available from Central soon. |
See comments in #1.
Mavanagaiata should be able to search for the Git repository directory, i.e.
.git
when it is one (or more) levels above thepom.xml
.The text was updated successfully, but these errors were encountered: