This is an automated email from the ASF dual-hosted git repository. vincentpoon pushed a commit to branch 4.x-HBase-1.4 in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git
commit 57ee4c15e18d3606ff0c1d36313cb0aca2f9e101 Author: Vincent Poon <[email protected]> AuthorDate: Fri Jan 18 17:22:55 2019 -0800 Run sign-artifacts and javadoc-jar only during deploy --- presto-phoenix-shaded/pom.xml | 72 +++++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/presto-phoenix-shaded/pom.xml b/presto-phoenix-shaded/pom.xml index 96cca23..27d475e 100644 --- a/presto-phoenix-shaded/pom.xml +++ b/presto-phoenix-shaded/pom.xml @@ -35,37 +35,43 @@ <module>presto-phoenix-client-shaded</module> </modules> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <executions> - <execution> - <id>javadoc-jar</id> - <phase>package</phase> - <goals> - <goal>jar</goal> - </goals> - <configuration> - <verbose>true</verbose> - <additionalOptions>-Xdoclint:none</additionalOptions> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + + <profiles> + <profile> + <id>deploy</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>javadoc-jar</id> + <phase>package</phase> + <goals> + <goal>jar</goal> + </goals> + <configuration> + <verbose>true</verbose> + <additionalOptions>-Xdoclint:none</additionalOptions> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
