Skip to content

Commit 3e5f5cb

Browse files
committed
work off 2.4.x
1 parent adeef79 commit 3e5f5cb

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e
44

55
cd git_repo
6-
mvn -e test-compile
6+
mvn -U -e test-compile

projects/morphia/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ then
1212
git rm -rf src/main/java
1313
cp ../core-pom.xml pom.xml
1414
else
15-
mvn -e test-compile #| grep "\[ERROR\].*\.java.*"
15+
mvn -U -e test-compile #| grep "\[ERROR\].*\.java.*"
1616
fi
1717

projects/morphia/core-pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>dev.morphia.morphia</groupId>
4444
<artifactId>morphia-core</artifactId>
45-
<version>2.4.14</version>
45+
<version>2.4.15-SNAPSHOT</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>io.smallrye.config</groupId>

projects/morphia/git

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/MorphiaOrg/morphia.git -b v2.4.14
1+
https://github.com/MorphiaOrg/morphia.git -b 2.4.x

test-local.sh

+11-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function checkout() {
1414
if [ -d git_repo ]
1515
then
1616
echo git exists
17-
cd git_repo ; git reset --hard ; cd -
17+
cd git_repo ; git reset --hard ; git pull --rebase && cd -
1818
else
1919
git clone $( cat git ) git_repo
2020
fi
@@ -25,7 +25,6 @@ function upgrade() {
2525
PROJECT_ROOT=$( pwd )/projects/${PROJECT}
2626
BUILD=$( pwd )/build.sh
2727
[ -e ${PROJECT_ROOT}/build.sh ] && BUILD=${PROJECT_ROOT}/build.sh
28-
echo BUILD=$BUILD
2928

3029
cd $PROJECT_ROOT
3130

@@ -46,12 +45,16 @@ function upgrade() {
4645
title "Done upgrading $PROJECT"
4746
}
4847

49-
if [ -d ~/dev/morphia.dev ]
50-
then
51-
cd ~/dev/morphia.dev/morphia/rewrite
52-
mvn clean install
53-
cd -
54-
fi
48+
function morphia() {
49+
if [ -d ~/dev/morphia.dev/morphia/rewrite/src/main ]
50+
then
51+
cd ~/dev/morphia.dev/morphia/rewrite
52+
mvn clean install
53+
cd -
54+
fi
55+
}
56+
57+
morphia
5558

5659
if [ -z "$1" ]
5760
then

0 commit comments

Comments
 (0)