File tree 5 files changed +15
-12
lines changed
5 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
cd git_repo
6
- mvn -e test-compile
6
+ mvn -U - e test-compile
Original file line number Diff line number Diff line change 12
12
git rm -rf src/main/java
13
13
cp ../core-pom.xml pom.xml
14
14
else
15
- mvn -e test-compile # | grep "\[ERROR\].*\.java.*"
15
+ mvn -U - e test-compile # | grep "\[ERROR\].*\.java.*"
16
16
fi
17
17
Original file line number Diff line number Diff line change 42
42
<dependency >
43
43
<groupId >dev.morphia.morphia</groupId >
44
44
<artifactId >morphia-core</artifactId >
45
- <version >2.4.14 </version >
45
+ <version >2.4.15-SNAPSHOT </version >
46
46
</dependency >
47
47
<dependency >
48
48
<groupId >io.smallrye.config</groupId >
Original file line number Diff line number Diff line change 1
- https://github.com/MorphiaOrg/morphia.git -b v2 .4.14
1
+ https://github.com/MorphiaOrg/morphia.git -b 2 .4.x
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function checkout() {
14
14
if [ -d git_repo ]
15
15
then
16
16
echo git exists
17
- cd git_repo ; git reset --hard ; cd -
17
+ cd git_repo ; git reset --hard ; git pull --rebase && cd -
18
18
else
19
19
git clone $( cat git ) git_repo
20
20
fi
@@ -25,7 +25,6 @@ function upgrade() {
25
25
PROJECT_ROOT=$( pwd ) /projects/${PROJECT}
26
26
BUILD=$( pwd ) /build.sh
27
27
[ -e ${PROJECT_ROOT} /build.sh ] && BUILD=${PROJECT_ROOT} /build.sh
28
- echo BUILD=$BUILD
29
28
30
29
cd $PROJECT_ROOT
31
30
@@ -46,12 +45,16 @@ function upgrade() {
46
45
title " Done upgrading $PROJECT "
47
46
}
48
47
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
55
58
56
59
if [ -z " $1 " ]
57
60
then
You can’t perform that action at this time.
0 commit comments