You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vk...@apache.org on 2020/12/28 19:32:00 UTC

[ignite-3] branch main updated: IGNITE-13925 - Configured Maven deployment

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

vkulichenko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new fb45edc  IGNITE-13925 - Configured Maven deployment
fb45edc is described below

commit fb45edcafa2ec71222cfd23bae84eb05419298c3
Author: Valentin Kulichenko <va...@gmail.com>
AuthorDate: Mon Dec 28 11:31:13 2020 -0800

    IGNITE-13925 - Configured Maven deployment
---
 modules/cli/pom.xml | 13 +++++++++++--
 pom.xml             | 31 +++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/modules/cli/pom.xml b/modules/cli/pom.xml
index 3d178d0..4c90994 100644
--- a/modules/cli/pom.xml
+++ b/modules/cli/pom.xml
@@ -20,7 +20,8 @@
 <!--
     POM file.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -207,7 +208,7 @@
                             <target>
                                 <concat destfile="${project.build.directory}/ignite" binary="true">
                                     <filelist dir="${project.build.directory}/"
-                                        files="../ignite.sh,ignite.jar"/>
+                                              files="../ignite.sh,ignite.jar"/>
                                 </concat>
                                 <chmod file="${project.build.directory}/ignite" perm="+x"/>
                             </target>
@@ -241,6 +242,14 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/pom.xml b/pom.xml
index 4a2f835..1f6b431 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,14 @@
         <module>modules/cli</module>
     </modules>
 
+    <distributionManagement>
+        <repository>
+            <id>apache.staging</id>
+            <name>Apache Staging Repository</name>
+            <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+        </repository>
+    </distributionManagement>
+
     <build>
         <plugins>
             <plugin>
@@ -65,6 +73,29 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-gpg-plugin</artifactId>
+                <version>1.6</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-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>