amansinha100 closed pull request #1561: DRILL-6751: Upgrade Apache parent POM 
to version 21
URL: https://github.com/apache/drill/pull/1561
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/distribution/pom.xml b/distribution/pom.xml
index 4952ca51aba..4fde4cd5121 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -156,26 +156,40 @@
 
   <build>
     <plugins>
-    <plugin>
+      <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <executions>
-            <execution>
-                <id>distro-assembly</id>
-                <phase>package</phase>
-                <goals>
-                    <goal>single</goal>
-                </goals>
-                <configuration>
-                    <descriptors>
-                        <descriptor>src/assemble/bin.xml</descriptor>
-                    </descriptors>
-                    <appendAssemblyId>false</appendAssemblyId>
-                    <finalName>apache-drill-${project.version}</finalName>
-                    <tarLongFileMode>gnu</tarLongFileMode>
-                </configuration>
-            </execution>
+          <execution>
+            <id>distro-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/assemble/bin-assembly.xml</descriptor>
+              </descriptors>
+              <appendAssemblyId>false</appendAssemblyId>
+              <finalName>apache-drill-${project.version}</finalName>
+            </configuration>
+          </execution>
+          <execution>
+            <id>distro-assembly-not-attached</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <attach>false</attach>
+              <descriptors>
+                <descriptor>src/assemble/bin-assembly-dir.xml</descriptor>
+              </descriptors>
+              <appendAssemblyId>false</appendAssemblyId>
+              <finalName>apache-drill-${project.version}</finalName>
+            </configuration>
+          </execution>
         </executions>
-    </plugin>
+      </plugin>
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
@@ -192,7 +206,6 @@
           </excludes>
         </configuration>
       </plugin>
-
     </plugins>
   </build>
   <profiles>
diff --git a/distribution/src/assemble/bin-assembly-dir.xml 
b/distribution/src/assemble/bin-assembly-dir.xml
new file mode 100644
index 00000000000..f1349626ad0
--- /dev/null
+++ b/distribution/src/assemble/bin-assembly-dir.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+
+    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.
+
+-->
+<assembly
+  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
+  <id>binary-release-directory</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <componentDescriptors>
+    <componentDescriptor>component.xml</componentDescriptor>
+  </componentDescriptors>
+</assembly>
diff --git a/distribution/src/assemble/bin-assembly.xml 
b/distribution/src/assemble/bin-assembly.xml
new file mode 100644
index 00000000000..5cd3636469e
--- /dev/null
+++ b/distribution/src/assemble/bin-assembly.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+
+    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.
+
+-->
+<assembly
+  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
+  <id>binary-release</id>
+  <formats>
+    <format>tar.gz</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <componentDescriptors>
+    <componentDescriptor>component.xml</componentDescriptor>
+  </componentDescriptors>
+</assembly>
diff --git a/distribution/src/assemble/bin.xml 
b/distribution/src/assemble/component.xml
similarity index 72%
rename from distribution/src/assemble/bin.xml
rename to distribution/src/assemble/component.xml
index 85a4d5be538..2b60299542b 100644
--- a/distribution/src/assemble/bin.xml
+++ b/distribution/src/assemble/component.xml
@@ -18,27 +18,115 @@
     limitations under the License.
 
 -->
-<assembly
-  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-  
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
-  <id>binary-release</id>
-  <formats>
-    <format>tar.gz</format>
-    <format>dir</format>
-  </formats>
-  <includeBaseDirectory>true</includeBaseDirectory>
+<component 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+           
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
   <moduleSets>
+    <moduleSet>
+      <useAllReactorProjects>true</useAllReactorProjects>
+     <!--Now, select which projects to include in this module-set. -->
+    <includes>
+      <include>org.apache.drill.exec:drill-jdbc:jar</include>
+      <include>org.apache.drill:drill-protocol:jar</include>
+      <include>org.apache.drill:drill-common:jar</include>
+      <include>org.apache.drill:drill-logical:jar</include>
+      <include>org.apache.drill.exec:vector:jar</include>
+      <include>org.apache.drill.memory:drill-memory-base:jar</include>
+      <include>org.apache.drill.exec:drill-rpc:jar</include>
+      <include>org.apache.drill.exec:drill-java-exec:jar</include>
+      
<include>org.apache.drill.contrib.storage-hive:drill-storage-hive-core:jar</include>
+      
<include>org.apache.drill.contrib.storage-hive:drill-hive-exec-shaded:jar</include>
+      <include>org.apache.drill.contrib.data:tpch-sample-data:jar</include>
+      <include>org.apache.drill.contrib:drill-mongo-storage:jar</include>
+      <include>org.apache.drill.contrib:drill-storage-hbase:jar</include>
+      <include>org.apache.drill.contrib:drill-format-mapr:jar</include>
+      <include>org.apache.drill.contrib:drill-jdbc-storage:jar</include>
+      <include>org.apache.drill.contrib:drill-kudu-storage:jar</include>
+      <include>org.apache.drill.contrib:drill-storage-kafka:jar</include>
+      <include>org.apache.drill.contrib:drill-opentsdb-storage:jar</include>
+      <include>org.apache.drill.contrib:drill-udfs:jar</include>
+    </includes>
+      <sources>
+        <includeModuleDirectory>false</includeModuleDirectory>
+        <fileSets>
+          <fileSet>
+            <directory>target</directory>
+            <outputDirectory>jars</outputDirectory>
+            <includes>
+              <include>*.jar</include>
+            </includes>
+            <excludes>
+              <exclude>*sources.jar</exclude>
+              <exclude>*javadoc.jar</exclude>
+              <exclude>*tests.jar</exclude>
+              <exclude>original-*</exclude>
+            </excludes>
+          </fileSet>
+        </fileSets>
+      </sources>
+    </moduleSet>
 
-  </moduleSets>
-  <dependencySets>
+    <moduleSet>
+      <useAllReactorProjects>true</useAllReactorProjects>
+      <!-- Drill-on-YARN goes into its own directory so it does not end up
+           on the Drillbit class path. Define the jars/tools folder as any jar
+           we ship that is not used by drillbits. -->
+      <includes>
+        <include>org.apache.drill:drill-yarn:jar</include>
+      </includes>
+      <sources>
+        <includeModuleDirectory>false</includeModuleDirectory>
+        <fileSets>
+          <fileSet>
+            <directory>target</directory>
+            <outputDirectory>jars/tools</outputDirectory>
+            <includes>
+              <include>*.jar</include>
+            </includes>
+            <excludes>
+              <exclude>*sources.jar</exclude>
+              <exclude>*javadoc.jar</exclude>
+              <exclude>*tests.jar</exclude>
+            </excludes>
+          </fileSet>
+        </fileSets>
+      </sources>
+    </moduleSet>
 
-    <dependencySet>
+    <moduleSet>
+      <useAllReactorProjects>true</useAllReactorProjects>
       <includes>
         <include>org.apache.drill.exec:drill-jdbc-all:jar</include>
       </includes>
-      <outputDirectory>jars/jdbc-driver</outputDirectory>
+      <sources>
+        <includeModuleDirectory>false</includeModuleDirectory>
+        <fileSets>
+          <fileSet>
+            <directory>target</directory>
+            <outputDirectory>jars/jdbc-driver</outputDirectory>
+            <includes>
+              <include>*.jar</include>
+            </includes>
+            <excludes>
+              <exclude>*sources.jar</exclude>
+              <exclude>*javadoc.jar</exclude>
+              <exclude>*tests.jar</exclude>
+              <exclude>original-*</exclude>
+            </excludes>
+          </fileSet>
+        </fileSets>
+      </sources>
+    </moduleSet>
+  </moduleSets>
+
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>jars</outputDirectory>
+      <unpack>false</unpack>
       <useProjectArtifact>false</useProjectArtifact>
+      <includes>
+        <include>org.apache.drill:drill-shaded-guava:jar</include>
+      </includes>
     </dependencySet>
 
     <dependencySet>
@@ -46,14 +134,11 @@
       <unpack>false</unpack>
       <useProjectArtifact>false</useProjectArtifact>
       <includes>
-
         <include>org.glassfish.jersey.containers</include>
         <include>org.glassfish.jersey.core</include>
         <include>org.reflections</include>
-
         <include>org.glassfish.hk2.external</include>
         <include>org.mortbay.jetty</include>
-        <include>org.jboss.spec.javax.transaction</include>
         <include>javax.activation</include>
         <include>javax.annotation</include>
         <include>org.glassfish.jersey.containers</include>
@@ -63,69 +148,15 @@
         <include>org.glassfish.jersey.bundles.repackaged</include>
         <include>org.glassfish.hk2</include>
         <include>javax.servlet</include>
-
-        <include>javax.ws.rs </include>
-        <include>com.sun.xml.bind  </include>
-        <include>com.sun.jersey  </include>
-        <include>org.jvnet.mimepull  </include>
-        <include>com.sun.codemodel  </include>
+        <include>javax.ws.rs</include>
+        <include>org.jvnet.mimepull</include>
+        <include>com.sun.codemodel</include>
         <include>javax.xml.bind</include>
-
-        <include>org.jruby</include>
-        <include>ch.qos.logback </include>
         <include>ch.qos.logback</include>
-        <include>org.eclipse.jdt</include>
-        <include>com.github.stephenc.high-scale-lib</include>
-
-        <include>org.jamon</include>
-
+        <include>ch.qos.logback</include>
       </includes>
       <scope>test</scope>
     </dependencySet>
-
-    <dependencySet>
-      <!-- Now, select which projects to include in this module-set. -->
-      <includes>
-        <include>org.apache.drill.exec:drill-jdbc:jar</include>
-        <include>org.apache.drill:drill-protocol:jar</include>
-        <include>org.apache.drill:drill-common:jar</include>
-        <include>org.apache.drill:drill-logical:jar</include>
-        <include>org.apache.drill.exec:vector:jar</include>
-        <include>org.apache.drill.memory:drill-memory-base:jar</include>
-        <include>org.apache.drill.exec:drill-rpc:jar</include>
-        <include>org.apache.drill.exec:drill-java-exec:jar</include>
-        
<include>org.apache.drill.contrib.storage-hive:drill-storage-hive-core</include>
-        
<include>org.apache.drill.contrib.storage-hive:drill-hive-exec-shaded</include>
-        <include>org.apache.drill.contrib.data:tpch-sample-data:jar</include>
-        <include>org.apache.drill.contrib:drill-mongo-storage</include>
-        <include>org.apache.drill.contrib:drill-storage-hbase</include>
-        <include>org.apache.drill.contrib:drill-format-mapr</include>
-        <include>org.apache.drill.contrib:drill-jdbc-storage</include>
-        <include>org.apache.drill.contrib:drill-kudu-storage</include>
-        <include>org.apache.drill.contrib:drill-storage-kafka</include>
-        <include>org.apache.drill.contrib:drill-opentsdb-storage</include>
-        <include>org.apache.drill.contrib:drill-udfs</include>
-        <include>org.apache.drill:drill-shaded-guava</include>
-      </includes>
-      <excludes>
-        
<exclude>org.apache.drill.contrib.storage-hive:drill-storage-hive-core:jar:tests</exclude>
-      </excludes>
-      <outputDirectory>jars</outputDirectory>
-      <useProjectArtifact>false</useProjectArtifact>
-    </dependencySet>
-
-    <dependencySet>
-      <!-- Drill-on-YARN goes into its own directory so it does not end up
-           on the Drillbit class path. Define the jars/tools folder as any jar
-           we ship that is not used by drillbits. -->
-      <includes>
-        <include>org.apache.drill:drill-yarn:jar</include>
-      </includes>
-      <outputDirectory>jars/tools</outputDirectory>
-      <useProjectArtifact>false</useProjectArtifact>
-    </dependencySet>
-
-
     <dependencySet>
       <outputDirectory>jars/3rdparty/</outputDirectory>
       <unpack>false</unpack>
@@ -139,28 +170,13 @@
         <exclude>org.apache.drill.contrib.storage-hive</exclude>
         <exclude>org.apache.drill.memory</exclude>
         <!-- Below Hive jars are already included in 
drill-hive-exec-shaded.jar -->
-        <exclude>org.apache.hive:hive-common</exclude>
-        <exclude>org.apache.hive:hive-serde</exclude>
-        <exclude>org.apache.hive:hive-shims</exclude>
-        <exclude>org.apache.hive.shims:hive-shims-0.20</exclude>
-        <exclude>org.apache.hive.shims:hive-shims-0.20S</exclude>
-        <exclude>org.apache.hive.shims:hive-shims-0.23</exclude>
-        <exclude>org.apache.hive.shims:hive-shims-common</exclude>
-        <exclude>org.apache.hive.shims:hive-shims-common-secure</exclude>
-        <exclude>org.hsqldb:hsqldb</exclude>
         <exclude>junit:junit:jar</exclude>
-        <exclude>com.googlecode.jmockit:jmockit:jar</exclude>
         <!-- exclude or sqlline has problems -->
-        <exclude>hsqldb:hsqldb</exclude>
-        <!-- exclude or sqlline has problems -->
-
         <exclude>org.glassfish.jersey.containers</exclude>
         <exclude>org.glassfish.jersey.core</exclude>
         <exclude>org.reflections</exclude>
-
         <exclude>org.glassfish.hk2.external</exclude>
         <exclude>org.mortbay.jetty</exclude>
-        <exclude>org.jboss.spec.javax.transaction</exclude>
         <exclude>javax.activation</exclude>
         <exclude>javax.annotation</exclude>
         <exclude>org.glassfish.jersey.containers</exclude>
@@ -170,28 +186,16 @@
         <exclude>org.glassfish.jersey.bundles.repackaged</exclude>
         <exclude>org.glassfish.hk2</exclude>
         <exclude>javax.servlet</exclude>
-
         <exclude>javax.ws.rs </exclude>
-        <exclude>com.sun.xml.bind  </exclude>
-        <exclude>com.sun.jersey  </exclude>
-        <exclude>org.jvnet.mimepull  </exclude>
-        <exclude>com.sun.codemodel  </exclude>
+        <exclude>org.jvnet.mimepull</exclude>
+        <exclude>com.sun.codemodel</exclude>
         <exclude>javax.xml.bind</exclude>
-
-        <exclude>org.jruby</exclude>
         <exclude>ch.qos.logback </exclude>
         <exclude>ch.qos.logback</exclude>
-        <exclude>org.eclipse.jdt</exclude>
-        <exclude>com.github.stephenc.high-scale-lib</exclude>
-
         <exclude>io.netty:netty-tcnative</exclude>
-
-        <exclude>org.jamon</exclude>
-
       </excludes>
       <scope>test</scope>
     </dependencySet>
-
     <dependencySet>
       <outputDirectory>jars/ext</outputDirectory>
       <unpack>false</unpack>
@@ -201,16 +205,6 @@
       </includes>
       <scope>runtime</scope>
     </dependencySet>
-
-    <dependencySet>
-      <outputDirectory>jars/3rdparty</outputDirectory>
-      <unpack>false</unpack>
-      <useProjectArtifact>false</useProjectArtifact>
-      <includes>
-        <include>com.google.protobuf:protobuf-java:jar:2.5</include>
-      </includes>
-      <scope>test</scope>
-    </dependencySet>
     <dependencySet>
       <outputDirectory>jars/3rdparty/linux</outputDirectory>
       <unpack>false</unpack>
@@ -247,7 +241,6 @@
       </includes>
       <scope>test</scope>
     </dependencySet>
-
     <dependencySet>
       <outputDirectory>winutils/bin</outputDirectory>
       <unpack>true</unpack>
@@ -263,7 +256,6 @@
         <include>org.apache.hadoop:hadoop-winutils</include>
       </includes>
     </dependencySet>
-
   </dependencySets>
 
   <fileSets>
@@ -433,4 +425,5 @@
       <fileMode>0640</fileMode>
     </file>
   </files>
-</assembly>
+
+</component>
diff --git a/drill-shaded/pom.xml b/drill-shaded/pom.xml
index f9c60456f38..b3bb3f8b974 100644
--- a/drill-shaded/pom.xml
+++ b/drill-shaded/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>18</version>
+    <version>21</version>
     <relativePath/>
   </parent>
 
@@ -41,7 +41,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>3.1.0</version>
           <executions>
             <execution>
               <phase>package</phase>
diff --git a/exec/java-exec/src/test/resources/drill-udf/pom.xml 
b/exec/java-exec/src/test/resources/drill-udf/pom.xml
index 931abedb207..0e25cba19f1 100644
--- a/exec/java-exec/src/test/resources/drill-udf/pom.xml
+++ b/exec/java-exec/src/test/resources/drill-udf/pom.xml
@@ -58,13 +58,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
         <configuration>
           <includes>
             <include>${include.files}</include>
           </includes>
-          <source>1.8</source>
-          <target>1.8</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/pom.xml b/pom.xml
index c9d28433e3e..94427b8e59e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>18</version>
+    <version>21</version>
     <relativePath />
   </parent>
 
@@ -38,10 +38,14 @@
   <url>http://drill.apache.org/</url>
 
   <properties>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
+    
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
+
     
<target.gen.source.path>${project.basedir}/target/generated-sources</target.gen.source.path>
     <proto.cas.path>${project.basedir}/src/main/protobuf/</proto.cas.path>
     <dep.junit.version>4.12</dep.junit.version>
-    <dep.slf4j.version>1.7.6</dep.slf4j.version>
+    <dep.slf4j.version>1.7.25</dep.slf4j.version>
     <shaded.guava.version>23.0</shaded.guava.version>
     <guava.version>19.0</guava.version>
     <forkCount>2</forkCount>
@@ -85,7 +89,7 @@
     <excludedGroups />
     <memoryMb>4096</memoryMb>
     <directMemoryMb>4096</directMemoryMb>
-    <additionalparam>-Xdoclint:none</additionalparam>
+    <doclint>none</doclint>
     <rat.skip>true</rat.skip>
     <license.skip>true</license.skip>
     <docker.repository>drill/apache-drill</docker.repository>
@@ -471,8 +475,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
           <maxmem>2048m</maxmem>
           <useIncrementalCompilation>false</useIncrementalCompilation>
           <fork>true</fork>
@@ -572,7 +574,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
-          <version>3.1.0</version>
           <executions>
             <execution>
               <goals>
@@ -687,7 +688,7 @@
         </plugin>
         <plugin>
           <artifactId>maven-enforcer-plugin</artifactId>
-          <version>3.0.0-M1</version>
+          <version>3.0.0-M2</version>
         </plugin>
         <plugin> <!-- classpath scanning  -->
           <groupId>org.codehaus.mojo</groupId>
@@ -712,7 +713,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.21.0</version>
           <executions>
             <execution>
               <id>default-test</id>
@@ -755,7 +755,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>
-          <version>2.5.2</version>
           <configuration>
             <useReleaseProfile>false</useReleaseProfile>
             <pushChanges>false</pushChanges>
@@ -857,7 +856,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>3.1.0</version>
           <executions>
             <execution>
               <phase>package</phase>
@@ -944,7 +942,7 @@
            long as Mockito _contains_ older Hamcrest classes.  See DRILL-2130. 
-->
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
-      <version>2.18.3</version>
+      <version>2.23.4</version>
       <scope>test</scope>
     </dependency>
     <dependency>
@@ -1665,11 +1663,11 @@
       <build>
         <plugins>
           <plugin>
-            <groupId>net.ju-n.maven.plugins</groupId>
+            <groupId>net.nicoulaj.maven.plugins</groupId>
             <artifactId>checksum-maven-plugin</artifactId>
-            <version>1.2</version>
             <executions>
               <execution>
+                <id>source-release-checksum</id>
                 <goals>
                   <goal>artifacts</goal>
                 </goals>
@@ -1679,28 +1677,19 @@
               <algorithms>
                 <algorithm>SHA-512</algorithm>
               </algorithms>
-              <failOnError>false</failOnError>
             </configuration>
           </plugin>
-          <!-- override the parent assembly execution to customize the assembly
-            descriptor and final name -->
+
+          <!-- override the parent assembly execution to customize the 
assembly final name -->
           <plugin>
             <artifactId>maven-assembly-plugin</artifactId>
+            <version>3.1.0</version>
             <executions>
               <execution>
                 <id>source-release-assembly</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
                 <configuration>
-                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
                   <appendAssemblyId>false</appendAssemblyId>
-                  <descriptors>
-                    
<descriptor>src/main/resources/assemblies/source-assembly.xml</descriptor>
-                  </descriptors>
                   <finalName>apache-drill-${project.version}-src</finalName>
-                  <tarLongFileMode>gnu</tarLongFileMode>
                 </configuration>
               </execution>
             </executions>
@@ -2377,7 +2366,7 @@
           <dependency>
             <groupId>org.bouncycastle</groupId>
             <artifactId>bcpkix-jdk15on</artifactId>
-            <version>1.52</version>
+            <version>1.60</version>
           </dependency>
 
           <!-- Test Dependencies -->
diff --git a/src/main/resources/assemblies/source-assembly.xml 
b/src/main/resources/assemblies/source-assembly.xml
deleted file mode 100644
index 4ed43f17ac5..00000000000
--- a/src/main/resources/assemblies/source-assembly.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
-
-    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.
-
--->
-<assembly>
-  <id>source-release</id>
-  <formats>
-    <format>zip</format>
-    <format>tar.gz</format>
-  </formats>
-  <fileSets>
-    <!-- main project directory structure -->
-    <fileSet>
-      <directory>.</directory>
-      <outputDirectory>/</outputDirectory>
-      <useDefaultExcludes>true</useDefaultExcludes>
-      <excludes>
-        <!-- build output -->
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]
-        </exclude>
-
-        <!-- NOTE: Most of the following excludes should not be required
-          if the standard release process is followed. This is because the 
release
-          plugin checks out project sources into a location like 
target/checkout, then
-          runs the build from there. The result is a source-release archive 
that comes
-          from a pretty clean directory structure. HOWEVER, if the release 
plugin is
-          configured to run extra goals or generate a project website, it's 
definitely
-          possible that some of these files will be present. So, it's safer to 
exclude
-          them. -->
-
-        <!-- IDEs -->
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]
-        </exclude>
-
-
-        <!-- scm -->
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.gitignore(/.*)?]
-        </exclude>
-
-        <exclude>**/.buildpath</exclude>
-        <exclude>**/sandbox/**</exclude>
-
-        <!-- misc -->
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]
-        </exclude>
-
-        <!-- release-plugin temp files -->
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]
-        </exclude>
-        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]
-        </exclude>
-      </excludes>
-    </fileSet>
-    <!-- license, readme, etc. calculated at build time -->
-    <fileSet>
-      
<directory>${project.build.directory}/maven-shared-archive-resources/META-INF
-      </directory>
-      <outputDirectory>/</outputDirectory>
-    </fileSet>
-  </fileSets>
-</assembly>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to