Repository: flink Updated Branches: refs/heads/release-1.0 3adc51487 -> a79521fba
[hotfix] Make 'force-shading' deployable Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/a79521fb Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/a79521fb Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/a79521fb Branch: refs/heads/release-1.0 Commit: a79521fba60407ff5a800ec78fcfeee750d826d6 Parents: 3adc514 Author: Robert Metzger <rmetz...@apache.org> Authored: Thu Mar 3 09:32:40 2016 +0100 Committer: Robert Metzger <rmetz...@apache.org> Committed: Thu Mar 3 09:32:40 2016 +0100 ---------------------------------------------------------------------- tools/force-shading/pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/a79521fb/tools/force-shading/pom.xml ---------------------------------------------------------------------- diff --git a/tools/force-shading/pom.xml b/tools/force-shading/pom.xml index ee8b09e..ec9ea4d 100644 --- a/tools/force-shading/pom.xml +++ b/tools/force-shading/pom.xml @@ -22,6 +22,12 @@ under the License. <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>14</version> + </parent> + <!--- This module is used a dependency in the root pom. It activates shading for all sub modules through an include rule in the shading configuration. This assures that Maven always generates @@ -36,4 +42,63 @@ under the License. <packaging>jar</packaging> + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.4</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + <executions> + <execution> + <id>enforce-maven</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <!-- maven version must be lower than 3.3. See FLINK-3158 --> + <version>(,3.3)</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>2.1</version> + <configuration> + <mavenExecutorId>forked-path</mavenExecutorId> + <useReleaseProfile>false</useReleaseProfile> + <arguments>${arguments} -Psonatype-oss-release</arguments> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> + </project>