Commit dd992d8
committed
Adopt classic spring-boot-starter-web / -test; harden seed.sh with set -e
- pom.xml: use spring-boot-starter-web and the aggregate spring-boot-starter-test
instead of the 4.x modular starters. Both resolve on 4.1.0 (verified), but the
classic starters are the conventional choice for a sample; -web still brings
embedded Tomcat (tomcat-embed-core 11.0.22) + spring-webmvc.
- seed.sh: enable 'set -e' so a failure in any phase (not just create()) aborts
loudly. Hardened id_of to 'grep -m1' (no downstream head -> no SIGPIPE) so the
pipeline stays clean under -e + pipefail, and guarded the id extraction with
'|| true' to preserve the friendly no-id error.
Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>1 parent ab109ec commit dd992d8
2 files changed
Lines changed: 7 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 44 | + | |
60 | 45 | | |
61 | 46 | | |
62 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments