You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When used in a git worktree, the plugin fails to find the ref HEAD :
[ERROR] Exception during Partial Build execution: Git rev str 'HEAD' not found. -> [Help 1]
org.apache.maven.MavenExecutionException: Exception during Partial Build execution: Git rev str 'HEAD' not found.
at com.lesfurets.maven.partial.extension.MavenLifecycleParticipant.afterProjectsRead(MavenLifecycleParticipant.java:36)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.IllegalArgumentException: Git rev str 'HEAD' not found.
at com.lesfurets.maven.partial.core.DifferentFiles.getBranchHead(DifferentFiles.java:120)
at com.lesfurets.maven.partial.core.DifferentFiles.get(DifferentFiles.java:40)
at com.lesfurets.maven.partial.core.ChangedProjects.get(ChangedProjects.java:29)
at com.lesfurets.maven.partial.core.UnchangedProjectsRemover.act(UnchangedProjectsRemover.java:38)
at com.lesfurets.maven.partial.extension.MavenLifecycleParticipant.afterProjectsRead(MavenLifecycleParticipant.java:31)
... 14 more
The text was updated successfully, but these errors were encountered:
When used in a git worktree, the plugin fails to find the ref HEAD :
[ERROR] Exception during Partial Build execution: Git rev str 'HEAD' not found. -> [Help 1]
org.apache.maven.MavenExecutionException: Exception during Partial Build execution: Git rev str 'HEAD' not found.
at com.lesfurets.maven.partial.extension.MavenLifecycleParticipant.afterProjectsRead(MavenLifecycleParticipant.java:36)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.IllegalArgumentException: Git rev str 'HEAD' not found.
at com.lesfurets.maven.partial.core.DifferentFiles.getBranchHead(DifferentFiles.java:120)
at com.lesfurets.maven.partial.core.DifferentFiles.get(DifferentFiles.java:40)
at com.lesfurets.maven.partial.core.ChangedProjects.get(ChangedProjects.java:29)
at com.lesfurets.maven.partial.core.UnchangedProjectsRemover.act(UnchangedProjectsRemover.java:38)
at com.lesfurets.maven.partial.extension.MavenLifecycleParticipant.afterProjectsRead(MavenLifecycleParticipant.java:31)
... 14 more
The text was updated successfully, but these errors were encountered: