Comments (2)
Solution for me was to either use --unshallow during fetch, or specify a --depth > 1 to be able to capture previous commits.
from maven-gitlog-plugin.
hi , I am having the same error. In my case when i run
mvn release:perform
solved runing
mvn -DscmShallowClone=false release:prepare
mvn -DscmShallowClone=false release:perform
The error i got:
[INFO] [ERROR] Failed to execute goal com.github.danielflower.mavenplugins:gitlog-maven-plugin:1.14.0:generate (default) on project base: Elflower.mavenplugins:gitlog-maven-plugin:1.14.0:generate failed: Walk failure.: Missing commit f529078db59c18853fe7b4aa1aca4e334c370392 ->
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.danielflower.mavenplugins:gitlog-maven-plubase: Execution default of goal com.github.danielflower.mavenplugins:gitlog-maven-plugin:1.14.0:generate failed: Walk failure.
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[INFO] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[INFO] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[INFO] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[INFO] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[INFO] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[INFO] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[INFO] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[INFO] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[INFO] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[INFO] at java.lang.reflect.Method.invoke (Method.java:580)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
[INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
from maven-gitlog-plugin.
Related Issues (20)
- Prefix convention
- gitlog plugin is failing if we do shallow clone HOT 3
- Filtering commits HOT 2
- Layout report HTML : evolution HOT 1
- RfE: Add commit id (with optional link to remote repository) HOT 1
- Have a "commits in last N hours" capability
- Feature : Add Asciidoc support HOT 2
- Aggregator multi-module maven project with multiple git repositories
- Ticket url in generated json changelog
- issueManagementUrl in asciidoc HOT 1
- Including commits only after a certain tag
- Ordering of git tags is wrong
- Author is set to committer and therefore is always considered equal to commiter
- plugin crashes when using <includeCommitsAfter> HOT 2
- Consider adding support for conventional commits HOT 3
- changelog is generated for current working directory rather than project directory
- Log commit parents
- n commits filtered
- Feature request: Group by tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-gitlog-plugin.