Skip to content

Commit

Permalink
Update scala.binary.version prop in POM when switching between Scala …
Browse files Browse the repository at this point in the history
…2.10/2.11
  • Loading branch information
srowen committed Mar 3, 2015
1 parent e359794 commit 703e1eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dev/change-version-to-2.10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
# limitations under the License.
#
find . -name 'pom.xml' | grep -v target \
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.11|\1_2.10|g' {}
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.11|\1_2.10|g' {}

# Also update <scala.binary.version> in parent POM
sed -i -e 's|<scala\.binary\.version>2.11<|<scala.binary.version>2.10<|1' pom.xml
5 changes: 4 additions & 1 deletion dev/change-version-to-2.11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@
#

find . -name 'pom.xml' | grep -v target \
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.10|\1_2.11|g' {}
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.10|\1_2.11|g' {}

# Also update <scala.binary.version> in parent POM
sed -i -e 's|<scala\.binary\.version>2.10<|<scala.binary.version>2.11<|1' pom.xml

0 comments on commit 703e1eb

Please sign in to comment.