HBASE-21135 Build fails on windows as it fails to parse windows path during license check

Signed-off-by: Mike Drob <mdrob@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Nihal Jain 2018-08-31 16:01:01 +05:30 committed by Sean Busbey
parent 1dca6ac5da
commit 691f1a4c71
1 changed files with 20 additions and 4 deletions

24
pom.xml
View File

@ -1027,6 +1027,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>
@ -1468,10 +1488,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