|
@@ -526,11 +526,6 @@
|
|
|
<build>
|
|
|
<pluginManagement>
|
|
|
<plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>properties-maven-plugin</artifactId>
|
|
|
- <version>1.0.0</version>
|
|
|
- </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
@@ -552,6 +547,13 @@
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifestEntries>
|
|
|
+ <Implementation-Build>${mvngit.commit.id}</Implementation-Build>
|
|
|
+ </manifestEntries>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
@@ -602,10 +604,12 @@
|
|
|
<version>1.6.0</version>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
- <groupId>pl.project13.maven</groupId>
|
|
|
- <artifactId>git-commit-id-plugin</artifactId>
|
|
|
- <version>2.2.5</version>
|
|
|
- <inherited>false</inherited>
|
|
|
+ <groupId>com.github.koraktor</groupId>
|
|
|
+ <artifactId>mavanagaiata</artifactId>
|
|
|
+ <version>0.9.4</version>
|
|
|
+ <configuration>
|
|
|
+ <skipNoGit>true</skipNoGit>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
@@ -681,33 +685,17 @@
|
|
|
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
- <groupId>pl.project13.maven</groupId>
|
|
|
- <artifactId>git-commit-id-plugin</artifactId>
|
|
|
+ <groupId>com.github.koraktor</groupId>
|
|
|
+ <artifactId>mavanagaiata</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>find-current-git-revision</id>
|
|
|
<goals>
|
|
|
- <goal>revision</goal>
|
|
|
+ <goal>commit</goal>
|
|
|
</goals>
|
|
|
- <phase>generate-resources</phase>
|
|
|
+ <phase>validate</phase>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
- <configuration>
|
|
|
- <skipPoms>false</skipPoms>
|
|
|
- <runOnlyOnce>true</runOnlyOnce>
|
|
|
- <failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
|
- <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
|
|
|
- <prefix>git</prefix>
|
|
|
- <verbose>false</verbose>
|
|
|
- <generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
- <generateGitPropertiesFilename>${project.basedir}/zookeeper-server/src/main/resources/git.properties</generateGitPropertiesFilename>
|
|
|
- <format>properties</format>
|
|
|
- <gitDescribe>
|
|
|
- <skip>false</skip>
|
|
|
- <always>false</always>
|
|
|
- <dirty>-dirty</dirty>
|
|
|
- </gitDescribe>
|
|
|
- </configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.openclover</groupId>
|
|
@@ -848,7 +836,6 @@
|
|
|
<excludes>
|
|
|
<exclude>**/log4j.properties</exclude>
|
|
|
<exclude>**/README.md</exclude>
|
|
|
- <exclude>**/git.properties</exclude>
|
|
|
<exclude>**/findbugsExcludeFile.xml</exclude>
|
|
|
<exclude>**/checkstyle-noframes-sorted.xsl</exclude>
|
|
|
<exclude>**/configure.ac</exclude>
|