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 2021/04/04 18:29:35 UTC

[ignite-3] branch main updated: IGNITE-14457 Update Ignite 3 binary build structure (#79)

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 15166f8  IGNITE-14457 Update Ignite 3 binary build structure (#79)
15166f8 is described below

commit 15166f87042ac4fc4fdae47e82fea05e24490439
Author: Peter Ivanov <mr...@gmail.com>
AuthorDate: Sun Apr 4 21:29:27 2021 +0300

    IGNITE-14457 Update Ignite 3 binary build structure (#79)
---
 assembly/NOTICE       |  0
 assembly/README       |  0
 assembly/assembly.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml               | 24 ++++++++++++++++++++++++
 4 files changed, 74 insertions(+)

diff --git a/assembly/NOTICE b/assembly/NOTICE
new file mode 100644
index 0000000..e69de29
diff --git a/assembly/README b/assembly/README
new file mode 100644
index 0000000..e69de29
diff --git a/assembly/assembly.xml b/assembly/assembly.xml
new file mode 100644
index 0000000..b78c2c6
--- /dev/null
+++ b/assembly/assembly.xml
@@ -0,0 +1,50 @@
+<?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 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>zip</id>
+
+    <formats>
+        <format>zip</format>
+    </formats>
+    <files>
+        <file>
+            <source>LICENSE</source>
+            <outputDirectory/>
+        </file>
+        <file>
+            <source>assembly/NOTICE</source>
+            <outputDirectory/>
+        </file>
+        <file>
+            <source>assembly/README</source>
+            <outputDirectory/>
+        </file>
+        <file>
+            <source>modules/cli/target/ignite</source>
+            <outputDirectory/>
+        </file>
+        <file>
+            <source>modules/cli/target/ignite.exe</source>
+            <outputDirectory/>
+        </file>
+    </files>
+</assembly>
diff --git a/pom.xml b/pom.xml
index 9fd5b78..4e87920 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,4 +51,28 @@
         <module>modules/schema</module>
         <module>modules/table</module>
     </modules>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <appendAssemblyId>false</appendAssemblyId>
+                            <descriptors>
+                                <descriptor>assembly/assembly.xml</descriptor>
+                            </descriptors>
+                            <finalName>apache-ignite-${project.version}</finalName>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>