summaryrefslogtreecommitdiffstats
path: root/dataChange/installer
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-04-07 12:22:23 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-04-07 12:53:06 -0700
commitc8a9ad49965b6152a0c7f3f4b7d1f7993d52f082 (patch)
treef2e689de63f388b26c1f276d42d54b852c901c8f /dataChange/installer
parent5da27927eac044cdec63977bf3eabee666d660f1 (diff)
Fix assembly xmls for maven-assembly-plugin v2.2+
Starting in version 2.2, maven-assembly-plugin requires an id tag in the assembly descriptor xmls. This patch allows the project to be built in environments that use newer versions of maven-assembly-plugin. For details, see: https://issues.apache.org/jira/browse/MASSEMBLY-517 Change-Id: I3a721da4aa47be58127fa3f8971f01635d400185 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'dataChange/installer')
-rwxr-xr-xdataChange/installer/pom.xml2
-rw-r--r--dataChange/installer/src/assembly/assemble_installer_zip.xml1
-rw-r--r--dataChange/installer/src/assembly/assemble_mvnrepo_zip.xml1
3 files changed, 4 insertions, 0 deletions
diff --git a/dataChange/installer/pom.xml b/dataChange/installer/pom.xml
index 7ab32092..0eeea7aa 100755
--- a/dataChange/installer/pom.xml
+++ b/dataChange/installer/pom.xml
@@ -60,6 +60,7 @@
<descriptors>
<descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
</descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
@@ -74,6 +75,7 @@
<descriptors>
<descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
</descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
diff --git a/dataChange/installer/src/assembly/assemble_installer_zip.xml b/dataChange/installer/src/assembly/assemble_installer_zip.xml
index 728afca5..85e2e1e8 100644
--- a/dataChange/installer/src/assembly/assemble_installer_zip.xml
+++ b/dataChange/installer/src/assembly/assemble_installer_zip.xml
@@ -25,6 +25,7 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>bin</id>
<formats>
<format>zip</format>
</formats>
diff --git a/dataChange/installer/src/assembly/assemble_mvnrepo_zip.xml b/dataChange/installer/src/assembly/assemble_mvnrepo_zip.xml
index b4d2d61a..73afa1c1 100644
--- a/dataChange/installer/src/assembly/assemble_mvnrepo_zip.xml
+++ b/dataChange/installer/src/assembly/assemble_mvnrepo_zip.xml
@@ -25,6 +25,7 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>bin</id>
<formats>
<format>zip</format>
</formats>