HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-archetypes/hbase-archetype-builder/pom.xml
	pom.xml
This commit is contained in:
Mohammad Arshad 2017-11-05 01:04:13 +05:30 committed by Andrew Purtell
parent 3601bd2958
commit 011c945f49
2 changed files with 13 additions and 14 deletions

View File

@ -244,24 +244,18 @@
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<!-- exec-maven-plugin executes chmod to make scripts executable -->
<execution>
<id>make-scripts-executable</id>
<phase>process-resources</phase>
<goals>
<goal>exec</goal>
<goal>run</goal>
</goals>
<configuration>
<executable>chmod</executable>
<arguments>
<argument>+x</argument>
<argument>/${project.basedir}/createArchetypes.sh</argument>
<argument>/${project.basedir}/installArchetypes.sh</argument>
</arguments>
<chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
<chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
</configuration>
</execution>
<!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@ -270,10 +264,12 @@
<id>run-createArchetypes-script</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
<goal>run</goal>
</goals>
<configuration>
<executable>/${project.basedir}/createArchetypes.sh</executable>
<exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
<arg line="./createArchetypes.sh"/>
</exec>
</configuration>
</execution>
<!-- exec-maven-plugin executes script which invokes 'install' to install each
@ -285,10 +281,12 @@
<id>run-installArchetypes-script</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
<goal>run</goal>
</goals>
<configuration>
<executable>/${project.basedir}/installArchetypes.sh</executable>
<exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
<arg line="./installArchetypes.sh"/>
</exec>
</configuration>
</execution>
</executions>

View File

@ -1354,6 +1354,7 @@
<extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
<!-- Location of test resources -->
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
<shell-executable>bash</shell-executable>
</properties>
<!-- Sorted by groups of dependencies then groupId and artifactId -->
<dependencyManagement>