Github user ScrapCodes commented on the pull request:

    https://github.com/apache/spark/pull/6832#issuecomment-115224669
  
    Try this as `dev/change-version-to-2.11.sh` on OSX with bsd sed.
    
    ```bash
    
    # Note that this will not necessarily work as intended with non-GNU sed 
(e.g. OS X)
    BASEDIR=$(dirname $0)/..
    
    for f in `find $BASEDIR \( -name 'pom.xml' -type f -and -not -path 
'*target*' \) -print`; do
        echo -e "$f"
        sed -e 's/\(artifactId.*\)_2.10/\1_2.11/g' "$f" >"$f.tmp"
        cat "$f.tmp" >"$f"
        rm "$f.tmp"
    done
    
    
    # Also update <scala.binary.version> in parent POM
    sed -e '0,/<scala\.binary\.version>2.10</s//<scala.binary.version>2.11</' 
"$BASEDIR/pom.xml" >"$BASEDIR/pom.xml.tmp"
    
    cat "$BASEDIR/pom.xml.tmp" >"$BASEDIR/pom.xml"
    rm "$BASEDIR/pom.xml.tmp"
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to