You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by jq...@apache.org on 2021/03/29 09:57:26 UTC

[flink-ml] 04/05: [FLINK-21976] Update pom.xml

This is an automated email from the ASF dual-hosted git repository.

jqin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-ml.git

commit 8e2415bfb2ddb00074dc5a44ffd9c828d63af9c7
Author: Dong Lin <li...@gmail.com>
AuthorDate: Sun Mar 28 16:51:46 2021 +0800

    [FLINK-21976] Update pom.xml
---
 flink-ml-api/pom.xml       |   6 +-
 flink-ml-lib/pom.xml       |  14 +-
 flink-ml-uber/.pom.xml.swo | Bin 12288 -> 0 bytes
 flink-ml-uber/pom.xml      |   8 +-
 pom.xml                    | 578 ++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 586 insertions(+), 20 deletions(-)

diff --git a/flink-ml-api/pom.xml b/flink-ml-api/pom.xml
index dd7863d..81fdcc7 100644
--- a/flink-ml-api/pom.xml
+++ b/flink-ml-api/pom.xml
@@ -25,17 +25,17 @@ under the License.
   <parent>
     <groupId>org.apache.flink</groupId>
     <artifactId>flink-ml-parent</artifactId>
-    <version>1.13-SNAPSHOT</version>
+    <version>0.1-SNAPSHOT</version>
   </parent>
 
   <artifactId>flink-ml-api</artifactId>
-  <name>Flink : ML : API</name>
+  <name>Flink ML : API</name>
 
   <dependencies>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-table-api-java</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
diff --git a/flink-ml-lib/pom.xml b/flink-ml-lib/pom.xml
index d6ca639..bd5f3ac 100644
--- a/flink-ml-lib/pom.xml
+++ b/flink-ml-lib/pom.xml
@@ -23,41 +23,41 @@ under the License.
   <parent>
     <groupId>org.apache.flink</groupId>
     <artifactId>flink-ml-parent</artifactId>
-    <version>1.13-SNAPSHOT</version>
+    <version>0.1-SNAPSHOT</version>
   </parent>
 
   <artifactId>flink-ml-lib_${scala.binary.version}</artifactId>
-  <name>Flink : ML : Lib</name>
+  <name>Flink ML : Lib</name>
 
   <dependencies>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-ml-api</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-table-api-java</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-table-api-java-bridge_${scala.binary.version}</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-table-planner_${scala.binary.version}</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-clients_${scala.binary.version}</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
diff --git a/flink-ml-uber/.pom.xml.swo b/flink-ml-uber/.pom.xml.swo
deleted file mode 100644
index 6d87542..0000000
Binary files a/flink-ml-uber/.pom.xml.swo and /dev/null differ
diff --git a/flink-ml-uber/pom.xml b/flink-ml-uber/pom.xml
index f28a27f..ae9850b 100644
--- a/flink-ml-uber/pom.xml
+++ b/flink-ml-uber/pom.xml
@@ -23,11 +23,11 @@ under the License.
   <parent>
     <groupId>org.apache.flink</groupId>
     <artifactId>flink-ml-parent</artifactId>
-    <version>1.13-SNAPSHOT</version>
+    <version>0.1-SNAPSHOT</version>
   </parent>
 
   <artifactId>flink-ml-uber_${scala.binary.version}</artifactId>
-  <name>Flink : ML : Uber</name>
+  <name>Flink ML : Uber</name>
   <description>
     This module contains both the api and libraries for writing Flink ML programs.
   </description>
@@ -38,12 +38,12 @@ under the License.
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-ml-api</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.flink</groupId>
       <artifactId>flink-ml-lib_${scala.binary.version}</artifactId>
-      <version>${project.version}</version>
+      <version>${flink.version}</version>
     </dependency>
   </dependencies>
 
diff --git a/pom.xml b/pom.xml
index d5a5018..0e9479a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,20 +23,586 @@ under the License.
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.apache.flink</groupId>
-    <artifactId>flink-parent</artifactId>
-    <version>1.13-SNAPSHOT</version>
-    <relativePath>..</relativePath>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>23</version>
   </parent>
 
   <artifactId>flink-ml-parent</artifactId>
-  <name>Flink : ML : </name>
-
+  <groupId>org.apache.flink</groupId>
+  <name>Flink ML</name>
+  <version>0.1-SNAPSHOT</version>
   <packaging>pom</packaging>
 
+  <url>http://flink.apache.org</url>
+  <inceptionYear>2019</inceptionYear>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <url>https://github.com/apache/flink-ml</url>
+    <connection>git@github.com:apache/flink-ml.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/flink-ml.git</developerConnection>
+  </scm>
+
   <modules>
     <module>flink-ml-api</module>
     <module>flink-ml-lib</module>
     <module>flink-ml-uber</module>
   </modules>
+
+  <properties>
+    <flink.shaded.version>12.0</flink.shaded.version>
+    <scala.binary.version>2.11</scala.binary.version>
+    <jackson.version>2.10.1</jackson.version>
+    <target.java.version>1.8</target.java.version>
+    <spotless.version>2.4.2</spotless.version>
+    <junit.version>4.12</junit.version>
+    <flink.forkCount>1C</flink.forkCount>
+    <flink.reuseForks>true</flink.reuseForks>
+    <flink.version>1.12.1</flink.version>
+
+    <!-- Can be set to any value to reproduce a specific build. -->
+    <test.randomization.seed/>
+    <test.unit.pattern>**/*Test.*</test.unit.pattern>
+  </properties>
+
+
+  <dependencies>
+    <!-- test dependencies -->
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <type>jar</type>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.apache.flink</groupId>
+        <artifactId>flink-shaded-jackson</artifactId>
+        <version>${jackson.version}-${flink.shaded.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <activation>
+        <property>
+          <name>release</name>
+        </property>
+      </activation>
+      <properties>
+        <target.java.version>1.8</target.java.version>
+      </properties>
+      <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>
+            <executions>
+              <execution>
+                <id>enforce-maven</id>
+                <goals>
+                  <goal>enforce</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <requireJavaVersion>
+                      <version>1.8.0</version>
+                    </requireJavaVersion>
+                  </rules>
+                </configuration>
+              </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>
+        </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>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version><!--$NO-MVN-MAN-VER$-->
+        <configuration>
+          <archive>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.13</version>
+        <inherited>false</inherited>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <excludeSubProjects>false</excludeSubProjects>
+          <numUnapprovedLicenses>0</numUnapprovedLicenses>
+          <licenses>
+            <!-- Enforce this license:
+              Licensed to the Apache Software Foundation (ASF) under one
+              or more contributor license agreements.  See the NOTICE file
+              distributed with this work for additional information
+              regarding copyright ownership.  The ASF licenses this file
+              to you under the Apache License, Version 2.0 (the
+              "License"); you may not use this file except in compliance
+              with the License.  You may obtain a copy of the License at
+                http://www.apache.org/licenses/LICENSE-2.0
+              Unless required by applicable law or agreed to in writing,
+              software distributed under the License is distributed on an
+              "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+              KIND, either express or implied.  See the License for the
+              specific language governing permissions and limitations
+              under the License.
+            -->
+            <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+              <licenseFamilyCategory>AL2 </licenseFamilyCategory>
+              <licenseFamilyName>Apache License 2.0</licenseFamilyName>
+              <notes />
+              <patterns>
+                <pattern>Licensed to the Apache Software Foundation (ASF) under one</pattern>
+              </patterns>
+            </license>
+          </licenses>
+          <licenseFamilies>
+            <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+              <familyName>Apache License 2.0</familyName>
+            </licenseFamily>
+          </licenseFamilies>
+          <excludes>
+            <!-- Additional files like .gitignore etc.-->
+            <exclude>**/.*/**</exclude>
+            <exclude>**/*.prefs</exclude>
+            <exclude>**/*.log</exclude>
+            <!-- Administrative files in the main trunk. -->
+            <exclude>**/README.md</exclude>
+            <exclude>**/CODE_OF_CONDUCT.md</exclude>
+            <exclude>.github/**</exclude>
+            <!-- IDE files. -->
+            <exclude>**/*.iml</exclude>
+            <exclude>**/.idea/**</exclude>
+            <!-- Generated content -->
+            <exclude>**/target/**</exclude>
+            <!-- Bundled license files -->
+            <exclude>**/LICENSE*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>com.diffplug.spotless</groupId>
+        <artifactId>spotless-maven-plugin</artifactId>
+      </plugin>
+
+      <!--surefire for unit tests and integration tests-->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.22.1</version>
+        <configuration>
+          <forkCount>${flink.forkCount}</forkCount>
+          <reuseForks>${flink.reuseForks}</reuseForks>
+          <trimStackTrace>false</trimStackTrace>
+          <systemPropertyVariables>
+            <forkNumber>0${surefire.forkNumber}</forkNumber>
+            <checkpointing.randomization>true</checkpointing.randomization>
+            <project.basedir>${project.basedir}</project.basedir>
+            <!--suppress MavenModelInspection -->
+            <test.randomization.seed>${test.randomization.seed}</test.randomization.seed>
+          </systemPropertyVariables>
+          <argLine>-Xms256m -Xmx2048m -Dmvn.forkNumber=${surefire.forkNumber} -XX:+UseG1GC</argLine>
+        </configuration>
+        <executions>
+          <!--execute all the unit tests-->
+          <execution>
+            <id>default-test</id>
+            <phase>test</phase>
+            <goals>
+              <goal>test</goal>
+            </goals>
+            <configuration>
+              <includes>
+                <include>${test.unit.pattern}</include>
+              </includes>
+            </configuration>
+          </execution>
+          <!--execute all the integration tests-->
+          <execution>
+            <id>integration-tests</id>
+            <phase>integration-test</phase>
+            <goals>
+              <goal>test</goal>
+            </goals>
+            <configuration>
+              <includes>
+                <include>**/*.*</include>
+              </includes>
+              <excludes>
+                <exclude>${test.unit.pattern}</exclude>
+              </excludes>
+              <reuseForks>false</reuseForks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <!-- enforce at least mvn version 3.1.1 (see FLINK-12447) -->
+                  <version>[3.1.1,)</version>
+                </requireMavenVersion>
+                <requireJavaVersion>
+                  <version>${target.java.version}</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>ban-unsafe-snakeyaml</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <bannedDependencies>
+                  <excludes>
+                    <exclude>org.yaml:snakeyaml:(,1.26]</exclude>
+                  </excludes>
+                  <includes>
+                    <!-- Snakeyaml is pulled in by many modules without using it in production,
+                      so there's no benefit in us investing time into bumping these. -->
+                    <include>org.yaml:snakeyaml:(,1.26]:*:test</include>
+                  </includes>
+                </bannedDependencies>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>ban-unsafe-jackson</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <bannedDependencies>
+                  <excludes>
+                    <exclude>com.fasterxml.jackson*:*:(,2.12.0]</exclude>
+                  </excludes>
+                </bannedDependencies>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>forbid-log4j-1</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <bannedDependencies>
+                  <excludes>
+                    <exclude>log4j:log4j</exclude>
+                    <exclude>org.slf4j:slf4j-log4j12</exclude>
+                  </excludes>
+                </bannedDependencies>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>dependency-convergence</id>
+            <!-- disabled by default as it interacts badly with shade-plugin -->
+            <phase>none</phase>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <dependencyConvergence/>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>shade-flink</id>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <shadeTestJar>true</shadeTestJar>
+              <shadedArtifactAttached>false</shadedArtifactAttached>
+              <createDependencyReducedPom>true</createDependencyReducedPom>
+              <dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
+              <!-- Filters MUST be appended; merging filters does not work properly, see MSHADE-305 -->
+              <filters combine.children="append">
+                <!-- Globally exclude log4j.properties from our JAR files. -->
+                <filter>
+                  <artifact>*</artifact>
+                  <excludes>
+                    <exclude>log4j.properties</exclude>
+                    <exclude>log4j2.properties</exclude>
+                    <exclude>log4j-test.properties</exclude>
+                    <exclude>log4j2-test.properties</exclude>
+                  </excludes>
+                </filter>
+                <!-- drop entries into META-INF and NOTICE files for the dummy artifact -->
+                <filter>
+                  <artifact>org.apache.flink:force-shading</artifact>
+                  <excludes>
+                    <exclude>**</exclude>
+                  </excludes>
+                </filter>
+                <!-- io.netty:netty brings its own LICENSE.txt which we don't need -->
+                <filter>
+                  <artifact>io.netty:netty</artifact>
+                  <excludes>
+                    <exclude>META-INF/LICENSE.txt</exclude>
+                  </excludes>
+                </filter>
+              </filters>
+              <artifactSet>
+                <includes>
+                  <!-- Unfortunately, the next line is necessary for now to force the execution
+                  of the Shade plugin upon all sub modules. This will generate effective poms,
+                  i.e. poms which do not contain properties which are derived from this root pom.
+                  In particular, the Scala version properties are defined in the root pom and without
+                  shading, the root pom would have to be Scala suffixed and thereby all other modules.
+                  -->
+                  <include>org.apache.flink:force-shading</include>
+                </includes>
+              </artifactSet>
+              <transformers combine.children="append">
+                <!-- The service transformer is needed to merge META-INF/services files -->
+                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+                <!-- The ApacheNoticeResourceTransformer collects and aggregates NOTICE files -->
+                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
+                  <projectName>Apache Flink</projectName>
+                  <encoding>UTF-8</encoding>
+                </transformer>
+              </transformers>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.8.0</version>
+          <configuration>
+            <source>${target.java.version}</source>
+            <target>${target.java.version}</target>
+            <!-- The semantics of this option are reversed, see MCOMPILER-209. -->
+            <useIncrementalCompilation>false</useIncrementalCompilation>
+            <compilerArgs>
+              <!-- Prevents recompilation due to missing package-info.class, see MCOMPILER-205 -->
+              <arg>-Xpkginfo:always</arg>
+            </compilerArgs>
+          </configuration>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <version>2.17</version>
+          <dependencies>
+            <dependency>
+              <groupId>com.puppycrawl.tools</groupId>
+              <artifactId>checkstyle</artifactId>
+              <!-- Note: match version with docs/flinkDev/ide_setup.md -->
+              <version>8.14</version>
+            </dependency>
+          </dependencies>
+          <executions>
+            <execution>
+              <id>validate</id>
+              <phase>validate</phase>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <suppressionsLocation>/tools/maven/suppressions.xml</suppressionsLocation>
+            <includeTestSourceDirectory>true</includeTestSourceDirectory>
+            <configLocation>/tools/maven/checkstyle.xml</configLocation>
+            <logViolationsToConsole>true</logViolationsToConsole>
+            <failOnViolation>true</failOnViolation>
+          </configuration>
+        </plugin>
+
+        <plugin>
+          <groupId>com.diffplug.spotless</groupId>
+          <artifactId>spotless-maven-plugin</artifactId>
+          <version>${spotless.version}</version>
+          <configuration>
+            <java>
+              <googleJavaFormat>
+                <version>1.7</version>
+                <style>AOSP</style>
+              </googleJavaFormat>
+
+              <!-- \# refers to the static imports -->
+              <importOrder>
+                <order>org.apache.flink,org.apache.flink.shaded,,javax,java,scala,\#</order>
+              </importOrder>
+
+              <removeUnusedImports />
+            </java>
+          </configuration>
+          <executions>
+            <execution>
+              <id>spotless-check</id>
+              <phase>validate</phase>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.9.1</version><!--$NO-MVN-MAN-VER$-->
+          <configuration>
+            <quiet>true</quiet>
+            <detectOfflineLinks>false</detectOfflineLinks>
+            <additionalJOptions combine.children="append">
+              <additionalJOption>-Xdoclint:none</additionalJOption>
+            </additionalJOptions>
+          </configuration>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>3.0.0-M1</version>
+        </plugin>
+
+        <!-- Pin the version of the maven shade plugin -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-shade-plugin</artifactId>
+          <version>3.1.1</version>
+        </plugin>
+
+        <plugin>
+          <!-- Inherited from Apache parent, but not actually used. Disable to reduce noise. -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>attach-descriptor</id>
+              <phase>none</phase>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
 </project>