HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
3c808dc37b
commit
daec8a2f42
|
@ -242,24 +242,18 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
|
||||||
<version>${exec.maven.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<!-- exec-maven-plugin executes chmod to make scripts executable -->
|
<!-- exec-maven-plugin executes chmod to make scripts executable -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>make-scripts-executable</id>
|
<id>make-scripts-executable</id>
|
||||||
<phase>process-resources</phase>
|
<phase>process-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>exec</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<executable>chmod</executable>
|
<chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
|
||||||
<arguments>
|
<chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
|
||||||
<argument>+x</argument>
|
|
||||||
<argument>/${project.basedir}/createArchetypes.sh</argument>
|
|
||||||
<argument>/${project.basedir}/installArchetypes.sh</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
|
<!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
|
||||||
|
@ -268,10 +262,12 @@
|
||||||
<id>run-createArchetypes-script</id>
|
<id>run-createArchetypes-script</id>
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>exec</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<executable>/${project.basedir}/createArchetypes.sh</executable>
|
<exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
|
||||||
|
<arg line="./createArchetypes.sh"/>
|
||||||
|
</exec>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- exec-maven-plugin executes script which invokes 'install' to install each
|
<!-- exec-maven-plugin executes script which invokes 'install' to install each
|
||||||
|
@ -283,10 +279,12 @@
|
||||||
<id>run-installArchetypes-script</id>
|
<id>run-installArchetypes-script</id>
|
||||||
<phase>install</phase>
|
<phase>install</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>exec</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<executable>/${project.basedir}/installArchetypes.sh</executable>
|
<exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
|
||||||
|
<arg line="./installArchetypes.sh"/>
|
||||||
|
</exec>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -1438,6 +1438,7 @@
|
||||||
Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
|
Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
|
||||||
this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
|
this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
|
||||||
<build.id>${maven.build.timestamp}</build.id>
|
<build.id>${maven.build.timestamp}</build.id>
|
||||||
|
<shell-executable>bash</shell-executable>
|
||||||
</properties>
|
</properties>
|
||||||
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
|
Loading…
Reference in New Issue