<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Tomaz,<br>
      <br>
      Okay, I modified download-maven.sh script to modify the faulty
      line in maven/bin/mvn.<br>
      This now works for me.<br>
      See pull-request #6447.<br>
      <br>
      Frank<br>
      <br>
      <br>
      On 27.06.14 10:59, Tomaž Cerar wrote:<br>
    </div>
    <blockquote
cite="mid:CAMquZP41=DCEVBTe-BL1aQdEgCykDQHGDDYFWkJ0fraNphWNWg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Frank,<br>
                <br>
              </div>
              I had in mind that download-maven.sh script could "patch"
              the bug in the maven executable after the download.<br>
              <br>
            </div>
            Other option is that we just go back to 3.2.1 maven.<br>
          </div>
          as looking at <a moz-do-not-send="true"
            href="http://maven.apache.org/docs/3.2.2/release-notes.html">http://maven.apache.org/docs/3.2.2/release-notes.html</a>
          there are no real benefits that our build would need.<br>
          <br>
          --<br>
        </div>
        tomaz<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Jun 27, 2014 at 9:27 AM, Frank
          Langelage <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:frank.langelage@osnanet.de" target="_blank">frank.langelage@osnanet.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">It's
            definitely a maven problem. Introduced in Apache Maven
            3.2.2.<br>
            So I not understood Tomaz request for a PR. Too fast
            reading?<br>
            This would be a work around in WF to fix a problem in Maven.<br>
            <a moz-do-not-send="true"
              href="http://jira.codehaus.org/browse/MNG-5658"
              target="_blank">http://jira.codehaus.org/browse/MNG-5658</a><br>
            <br>
            We might go back to Maven 3.2.1 for now waiting for 3.2.3
            becoming available with this problem hopefully fixed, if
            there a re not other drawbacks from this downgrade.<br>
            <br>
            Regards, Frank
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                On 27.06.14 04:14, Stuart Douglas wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  So is this an issue with the download script or with
                  the Maven version upgrade?<br>
                  <br>
                  Stuart<br>
                  <br>
                  Tomaž Cerar wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    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>
                    Thank you,<br>
                    tomaz<br>
                    <br>
                    <br>
                    On Thu, Jun 26, 2014 at 11:24 PM, Frank Langelage<br>
                    &lt;<a moz-do-not-send="true"
                      href="mailto:frank.langelage@osnanet.de"
                      target="_blank">frank.langelage@osnanet.de</a>
                    &lt;mailto:<a moz-do-not-send="true"
                      href="mailto:frank.langelage@osnanet.de"
                      target="_blank">frank.langelage@osnanet.de</a>&gt;&gt;
                    wrote:<br>
                    <br>
                        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" &amp;&amp; -x
                    /usr/libexec/java_home ]] ;<br>
                        then<br>
                                       #<br>
                                       # Apple JDKs<br>
                                       #<br>
                                       export
                    JAVA_HOME=$(/usr/libexec/java_home) // here it<br>
                        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 moz-do-not-send="true"
                      href="mailto:wildfly-dev@lists.jboss.org"
                      target="_blank">wildfly-dev@lists.jboss.org</a>
                    &lt;mailto:<a moz-do-not-send="true"
                      href="mailto:wildfly-dev@lists.jboss.org"
                      target="_blank">wildfly-dev@lists.jboss.org</a>&gt;<br>
                        <a moz-do-not-send="true"
                      href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                      target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
                    <br>
                    <br>
                    _______________________________________________<br>
                    wildfly-dev mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:wildfly-dev@lists.jboss.org"
                      target="_blank">wildfly-dev@lists.jboss.org</a><br>
                    <a moz-do-not-send="true"
                      href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                      target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
                  </blockquote>
                  <br>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>