You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2019/05/08 08:46:18 UTC

[atlas] branch master updated: ATLAS-3045: Fix atlas-server-package.xml and add a new classification-updater assembly

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

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 5892de6  ATLAS-3045: Fix atlas-server-package.xml and add a new classification-updater assembly
5892de6 is described below

commit 5892de67cc9a0419bd8b6ccf72a0f67278c810f1
Author: Zsombor Gegesy <zs...@apache.org>
AuthorDate: Mon Feb 4 15:14:25 2019 +0100

    ATLAS-3045: Fix atlas-server-package.xml and add a new classification-updater assembly
    
    Change-Id: I5fd1b909942d2f4e3282ad3407ee29547fb6c52b
---
 distro/pom.xml                                     |  2 +-
 .../src/main/assemblies/atlas-server-package.xml   | 20 ++++++++
 .../src/main/assemblies/classification-updater.xml | 54 ++++++++++++++++++++++
 pom.xml                                            |  1 +
 4 files changed, 76 insertions(+), 1 deletion(-)

diff --git a/distro/pom.xml b/distro/pom.xml
index 799b154..f94c61e 100644
--- a/distro/pom.xml
+++ b/distro/pom.xml
@@ -131,12 +131,12 @@ atlas.graph.index.search.solr.wait-searcher=true
                                         <descriptor>src/main/assemblies/atlas-falcon-hook-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/atlas-sqoop-hook-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/atlas-storm-hook-package.xml</descriptor>
-                                        <descriptor>src/main/assemblies/atlas-falcon-hook-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/atlas-kafka-hook-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/atlas-server-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/standalone-package.xml</descriptor>
                                         <descriptor>src/main/assemblies/src-package.xml</descriptor>
                                         <!--<descriptor>src/main/assemblies/migration-exporter.xml</descriptor>-->
+                                        <descriptor>src/main/assemblies/classification-updater.xml</descriptor>
                                     </descriptors>
                                     <finalName>apache-atlas-${project.version}</finalName>
                                     <tarLongFileMode>gnu</tarLongFileMode>
diff --git a/distro/src/main/assemblies/atlas-server-package.xml b/distro/src/main/assemblies/atlas-server-package.xml
index 248645a..241ed04 100755
--- a/distro/src/main/assemblies/atlas-server-package.xml
+++ b/distro/src/main/assemblies/atlas-server-package.xml
@@ -104,6 +104,26 @@
             <directoryMode>0755</directoryMode>
         </fileSet>
 
+        <!-- for classification-updater -->
+        <fileSet>
+            <directory>../tools/classification-updater/src/main/resources</directory>
+            <outputDirectory>tools/classification-updater</outputDirectory>
+            <includes>
+                <include>*.sh</include>
+                <include>atlas-log4j.xml</include>
+            </includes>
+            <fileMode>0755</fileMode>
+            <directoryMode>0755</directoryMode>
+        </fileSet>
+        <fileSet>
+            <directory>../tools/classification-updater/target</directory>
+            <outputDirectory>tools/classification-updater</outputDirectory>
+            <includes>
+                <include>atlas-classification-updater-${project.version}.jar</include>
+            </includes>
+        </fileSet>
+
+
         <fileSet>
             <directory>../</directory>
             <outputDirectory>/</outputDirectory>
diff --git a/distro/src/main/assemblies/classification-updater.xml b/distro/src/main/assemblies/classification-updater.xml
new file mode 100644
index 0000000..f4bfe3c
--- /dev/null
+++ b/distro/src/main/assemblies/classification-updater.xml
@@ -0,0 +1,54 @@
+<!--
+**
+* 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>classification-updater</id>
+    <formats>
+        <format>dir</format>
+        <format>zip</format>
+    </formats>
+
+    <baseDirectory>atlas-classification-updater</baseDirectory>
+
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>README*</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../tools/classification-updater/src/main/resources</directory>
+            <outputDirectory>.</outputDirectory>
+            <includes>
+                <include>*.sh</include>
+                <include>atlas-log4j.xml</include>
+            </includes>
+            <fileMode>0755</fileMode>
+            <directoryMode>0755</directoryMode>
+        </fileSet>
+        <fileSet>
+            <directory>../tools/classification-updater/target</directory>
+            <outputDirectory>.</outputDirectory>
+            <includes>
+                <include>atlas-classification-updater-${project.version}.jar</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>
diff --git a/pom.xml b/pom.xml
index 7de5d31..ae4dfdc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -783,6 +783,7 @@
         <module>addons/hbase-bridge</module>
         <module>addons/hbase-testing-util</module>
         <module>addons/kafka-bridge</module>
+        <module>tools/classification-updater</module>
 
         <module>distro</module>
     </modules>