Description
Hi,
I plugged in the 'git-commit-id-plugin' and it works perfectly on a local build. The pom config is
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <goals> <goal>build-info</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>2.2.2</version> </plugin> </plugins> </build>
When i attempt to deploy my app to heroku the build and deploy failed with this error
remote: [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.2:revision (default) on project salesninja: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]
when i run the basic heroku deploy command of
git push heroku master
has anybody seen or have a workaround for this?