-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Description
I can't figure out if this is as designed or not, but with the plugin listed in pom.xml, Eclipse invokes "Maven Project Builder" once every second, seemingly only to update the timestamp in the git.properties file. I tried adding a phase tag to the plugin, but it didn't help. Here's what I'm using:
<!-- Git build helper -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.1.9</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/../.git</dotGitDirectory>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
<failOnNoGitDirectory>true</failOnNoGitDirectory>
</configuration>
</plugin>