Skip to content

Commit 62722f7

Browse files
US582274: Elasticsearch Mapping Updater: Update to build a deployable tarball (#41)
1 parent 4c1e299 commit 62722f7

File tree

3 files changed

+101
-0
lines changed

3 files changed

+101
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2020-2022 Micro Focus or one of its affiliates.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<project xmlns="http://maven.apache.org/POM/4.0.0"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<modelVersion>4.0.0</modelVersion>
23+
24+
<parent>
25+
<groupId>com.github.cafdataprocessing.elastic</groupId>
26+
<artifactId>elastic-mapping-updater-aggregator</artifactId>
27+
<version>2.3.0-SNAPSHOT</version>
28+
</parent>
29+
30+
<artifactId>elastic-mapping-updater-cli-package</artifactId>
31+
<packaging>pom</packaging>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>com.github.cafdataprocessing.elastic</groupId>
36+
<artifactId>elastic-mapping-updater-cli</artifactId>
37+
</dependency>
38+
</dependencies>
39+
40+
<build>
41+
<plugins>
42+
<plugin>
43+
<artifactId>maven-assembly-plugin</artifactId>
44+
<executions>
45+
<execution>
46+
<id>create-elastic-mapping-updater-package</id>
47+
<phase>package</phase>
48+
<goals>
49+
<goal>single</goal>
50+
</goals>
51+
<configuration>
52+
<appendAssemblyId>false</appendAssemblyId>
53+
<descriptors>
54+
<descriptor>src/main/assembly/elastic-mapping-updater.xml</descriptor>
55+
</descriptors>
56+
<formats>
57+
<format>tar.gz</format>
58+
</formats>
59+
<tarLongFileMode>gnu</tarLongFileMode>
60+
</configuration>
61+
</execution>
62+
</executions>
63+
</plugin>
64+
</plugins>
65+
</build>
66+
</project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2020-2022 Micro Focus or one of its affiliates.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3
22+
http://maven.apache.org/xsd/assembly-1.1.3.xsd">
23+
<id>package</id>
24+
<includeBaseDirectory>false</includeBaseDirectory>
25+
<dependencySets>
26+
<dependencySet>
27+
<includes>
28+
<include>com.github.cafdataprocessing.elastic:elastic-mapping-updater-cli</include>
29+
</includes>
30+
<useTransitiveFiltering>true</useTransitiveFiltering>
31+
<useProjectArtifact>false</useProjectArtifact>
32+
</dependencySet>
33+
</dependencySets>
34+
</assembly>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<module>elastic-mapping-updater</module>
5757
<module>elastic-mapping-updater-cli</module>
5858
<module>elastic-mapping-updater-cli-image</module>
59+
<module>elastic-mapping-updater-cli-package</module>
5960
</modules>
6061

6162
<scm>

0 commit comments

Comments
 (0)