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

hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 3db6cb0  - Removed the incubation resources from the produced jars - 
Made the source plugin create source-jars even for SNAPSHOT builds
3db6cb0 is described below

commit 3db6cb0ae612f751b69bcc1cf823e017d30ab092
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Sep 25 09:32:51 2020 +0200

    - Removed the incubation resources from the produced jars
    - Made the source plugin create source-jars even for SNAPSHOT builds
---
 pom.xml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 03fa12e..de1a2e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -692,8 +692,6 @@
                             <resourceBundles>
                                 <!-- Will generate 
META-INF/{DEPENDENCIES,LICENSE,NOTICE} -->
                                 
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
-                                <!-- Will generate META-INF/DISCLAIMER  -->
-                                
<resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
                             </resourceBundles>
                             <!-- Content in this directory will be appended to 
generated resources -->
                             
<appendedResourcesDirectory>${basedir}/src/remote-resources</appendedResourcesDirectory>
@@ -738,6 +736,21 @@
                     </execution>
                 </executions>
             </plugin>
+            <!-- Also package the sources as jar -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>3.2.0</version>
+                <executions>
+                    <execution>
+                        <id>create-source-package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <profiles>

Reply via email to