You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2019/03/09 06:41:14 UTC
[hbase] branch branch-2.2 updated: HBASE-21135 Build fails on
windows as it fails to parse windows path during license check
This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new 6b91b62 HBASE-21135 Build fails on windows as it fails to parse windows path during license check
6b91b62 is described below
commit 6b91b62826cc7492696373251fc869010c2f8c36
Author: Nihal Jain <ni...@gmail.com>
AuthorDate: Fri Aug 31 16:01:01 2018 +0530
HBASE-21135 Build fails on windows as it fails to parse windows path during license check
Signed-off-by: Mike Drob <md...@apache.org>
Signed-off-by: Sean Busbey <bu...@apache.org>
(cherry picked from commit 691f1a4c71f47d7f093f88e2a0cf0374d187dca7)
---
pom.xml | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index d3ddcf6..a179ca7 100755
--- a/pom.xml
+++ b/pom.xml
@@ -912,6 +912,26 @@
</execution>
</executions>
</plugin>
+ <!-- sets where to find the generated LICENSE files -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-license-file-path-property</id>
+ <goals>
+ <goal>regex-property</goal>
+ </goals>
+ <configuration>
+ <name>license.aggregate.path</name>
+ <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
+ <regex>\\</regex>
+ <replacement>/</replacement>
+ <failIfNoMatch>false</failIfNoMatch>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
@@ -1337,10 +1357,6 @@
<license.bundles.bootstrap>false</license.bundles.bootstrap>
<!-- modules that include jquery in their source tree should set true -->
<license.bundles.jquery>false</license.bundles.jquery>
- <!-- where to find the generated LICENSE files -->
- <license.aggregate.path>
- ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
- </license.aggregate.path>
<tar.name>${project.build.finalName}.tar.gz</tar.name>
<maven.build.timestamp.format>
yyyy-MM-dd'T'HH:mm