<div dir="ltr"><div>Frank,<br><br>can you send PR with a fix to download-maven.sh script?<br>given that you have solaris at hand it will be probably the easiest.<br><br></div><div>Thank you,<br></div>tomaz<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 11:24 PM, Frank Langelage <span dir="ltr"><<a href="mailto:frank.langelage@osnanet.de" target="_blank">frank.langelage@osnanet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
for those who might want to build current 9.0.0-SNAPSHOT from github<br>
sources on Solaris:<br>
after commit of checking / downloading maven if needed this currently<br>
fails with a syntax error in tools/maven/bin/mvn after downloading the<br>
latest version 3.2.2.<br>
Maven 3.2.2 's bin/mvn contains incompatible syntax for Solaris /bin/sh<br>
and perhaps others:<br>
if [[ -z "$JAVA_HOME" && -x /usr/libexec/java_home ]] ; then<br>
#<br>
# Apple JDKs<br>
#<br>
export JAVA_HOME=$(/usr/libexec/java_home) // here it fails<br>
fi<br>
;;<br>
<br>
I created a JIRA fpr Apache Maven to change this line to<br>
export JAVA_HOME=/usr/libexec/java_home<br>
<br>
Doing this change after download / unzip in my local repo make the build<br>
working again for me.<br>
<br>
Regards, Frank<br>
<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote></div><br></div>