-
-
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
Unable to read Git commit information: Missing unknown ... #13
Comments
oh, and btw thanks for updating to jgit 2.0. before that it was impossible to get a hold of jgit. |
This seems to be the same bug of 0.3.2 mentioned in issue #8. Can you test the current code in |
i tried to test it but .. im doing it wrong. i downloaded your code via zip file from github. i changed the version in your pom to 0.3.3-SNAPSHOT then made mvn install and copied the resulting jar to my project folder. then i tried to reference the local dependency like that: then i got this error: [WARNING] The POM for com.github.koraktor:mavanagaiata:jar:0.3.3-SNAPSHOT is missing, no dependency information available how should i proceed? |
Why do you copy it (and change the dependecy scope to Remove the scope and |
ok :) |
ok, did as you said and managed to get it to run in my program. so basically you can release a new version based on the current master, that seems to fix it. so thanks for that! |
This is fixed in 0.3.3. It should be available from Central soon. |
Hallo Sebastian, Gibt es eine Abschätzung wann ca. die neue Version 0.4.1 auf Maven Central verfügbar sein wird? Die Versionen dort hören bei 0.3.4 auf. Danke! |
@nemoo: Ist bereits der Fall, siehe http://search.maven.org/#artifactdetails%7Ccom.github.koraktor%7Cmavanagaiata%7C0.4.1%7Cmaven-plugin |
Hi!
When trying to run mavanagaiata i get this error:
[ERROR] Failed to execute goal com.github.koraktor:mavanagaiata:0.3.2:commit (load-git-branch) on project abc: Unable to read Git commit information: Missing unknown f164090b251da87c67077a2476fd0519... -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.koraktor:mavanagaiata:0.3.2:commit (load-git-branch) on project sep: Unable to read Git commit information
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to read Git commit information
at com.github.koraktor.mavanagaiata.GitCommitMojo.execute(GitCommitMojo.java:79)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown f164090b251da87c67077a2476fd051...
at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:125)
at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:228)
at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:812)
at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:725)
at com.github.koraktor.mavanagaiata.AbstractGitMojo.getHead(AbstractGitMojo.java:137)
at com.github.koraktor.mavanagaiata.GitCommitMojo.execute(GitCommitMojo.java:57)
... 21 more
in the pom, i call it somehow like this (cannot display the xml here, is not rendered correctly on github):
mavanagaiata version 0.3.2
execution - id: load-git-branch
goal: commit
Any ideas what this might be about?
thanks!
The text was updated successfully, but these errors were encountered: