From 6f932ce01fdbd0692231660f261bb5c324aaf252 Mon Sep 17 00:00:00 2001 From: Nihal Jain Date: Fri, 31 Aug 2018 16:01:01 +0530 Subject: [PATCH] HBASE-21135 Build fails on windows as it fails to parse windows path during license check Signed-off-by: Mike Drob Signed-off-by: Sean Busbey (cherry picked from commit 691f1a4c71f47d7f093f88e2a0cf0374d187dca7) --- pom.xml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 5eb65f22ea1..e29166da3ff 100644 --- a/pom.xml +++ b/pom.xml @@ -833,6 +833,26 @@ + + + org.codehaus.mojo + build-helper-maven-plugin + + + create-license-file-path-property + + regex-property + + + license.aggregate.path + ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE + \\ + / + false + + + + org.apache.maven.plugins maven-enforcer-plugin @@ -1225,10 +1245,6 @@ false false - - - ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE - ${project.build.finalName}.tar.gz yyyy-MM-dd'T'HH:mm