|
@@ -65,7 +65,7 @@
|
|
|
</modules>
|
|
|
|
|
|
<scm>
|
|
|
- <connection>scm:git:git://git.apache.org/zookeeper.git</connection>
|
|
|
+ <connection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</connection>
|
|
|
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</developerConnection>
|
|
|
<url>https://gitbox.apache.org/repos/asf/zookeeper.git</url>
|
|
|
</scm>
|
|
@@ -237,6 +237,12 @@
|
|
|
<email>andor@apache.org</email>
|
|
|
<timezone>+1</timezone>
|
|
|
</developer>
|
|
|
+ <developer>
|
|
|
+ <id>lvfangmin</id>
|
|
|
+ <name>Allan Lyu</name>
|
|
|
+ <email>fangmin@apache.org</email>
|
|
|
+ <timezone>-8</timezone>
|
|
|
+ </developer>
|
|
|
</developers>
|
|
|
|
|
|
<profiles>
|
|
@@ -442,6 +448,11 @@
|
|
|
<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>
|
|
@@ -452,6 +463,33 @@
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>3.0.1</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>3.0.1</version>
|
|
|
+ <configuration>
|
|
|
+ <doclint>none</doclint>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-release-plugin</artifactId>
|
|
|
+ <version>2.5.3</version>
|
|
|
+ <configuration>
|
|
|
+ <releaseProfiles>apache-release</releaseProfiles>
|
|
|
+ <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
@@ -476,6 +514,7 @@
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
<version>2.2.5</version>
|
|
|
+ <inherited>false</inherited>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
@@ -504,6 +543,35 @@
|
|
|
</pluginManagement>
|
|
|
|
|
|
<plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>pl.project13.maven</groupId>
|
|
|
+ <artifactId>git-commit-id-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>find-current-git-revision</id>
|
|
|
+ <goals>
|
|
|
+ <goal>revision</goal>
|
|
|
+ </goals>
|
|
|
+ <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>
|
|
|
<artifactId>clover-maven-plugin</artifactId>
|
|
@@ -527,22 +595,118 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>validate</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>run</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <exportAntProperties>true</exportAntProperties>
|
|
|
+ <target>
|
|
|
+ <property environment="env"/>
|
|
|
+ <exec executable="hostname" outputproperty="host.name"/>
|
|
|
+ </target>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>Jar Tests Package</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>test-jar</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <includes>
|
|
|
+ <include>org/**</include>
|
|
|
+ <include>META_INF/**</include>
|
|
|
+ </includes>
|
|
|
+ <skipIfEmpty>true</skipIfEmpty>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-sources</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-javadocs</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>source-package</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>
|
|
|
+ single
|
|
|
+ </goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <descriptors>
|
|
|
+ <descriptor>${project.basedir}/source-package.xml</descriptor>
|
|
|
+ </descriptors>
|
|
|
+ <finalName>zookeeper-${project.version}</finalName>
|
|
|
+ <tarLongFileMode>gnu</tarLongFileMode>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
- <groupId>org.owasp</groupId>
|
|
|
- <artifactId>dependency-check-maven</artifactId>
|
|
|
- <configuration>
|
|
|
- <format>ALL</format>
|
|
|
- <failBuildOnCVSS>0</failBuildOnCVSS>
|
|
|
- <suppressionFiles>
|
|
|
- <suppressionsFile>owaspSuppressions.xml</suppressionsFile>
|
|
|
- </suppressionFiles>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
+ <groupId>org.owasp</groupId>
|
|
|
+ <artifactId>dependency-check-maven</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <format>ALL</format>
|
|
|
+ <failBuildOnCVSS>0</failBuildOnCVSS>
|
|
|
+ <suppressionFiles>
|
|
|
+ <suppressionsFile>owaspSuppressions.xml</suppressionsFile>
|
|
|
+ </suppressionFiles>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>${project.basedir}src/main/java/resources</directory>
|
|
|
+ <excludes>
|
|
|
+ <exclude>**/*.*</exclude>
|
|
|
+ </excludes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
</build>
|
|
|
|
|
|
<reporting>
|