This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[java-spring-boot2]: Fix version update (#37)
* ⬆️ 0.3: Fix parent pom version update pre-create missing local maven repository Move user code to /project/user-app * review comments (0.3)
- Loading branch information
1 parent
78c7ae7
commit ba0b6d1
Showing
12 changed files
with
76 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
**/*.log | ||
**/target | ||
**/.settings | ||
**/.project | ||
**/.project | ||
.*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if not exist %SystemDrive%%HOMEPATH%\.m2\repository\ ( | ||
mkdir %SystemDrive%%HOMEPATH%\.m2\repository | ||
) |
19 changes: 19 additions & 0 deletions
19
incubator/java-spring-boot2/image/project/.appsody-init.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
if [ -n "$TERM" ] && [ "$TERM" != "dumb" ] && [ -x /usr/bin/tput ] && [[ `tput colors` != "0" ]]; then | ||
color_prompt="yes" | ||
else | ||
color_prompt= | ||
fi | ||
|
||
if [[ "$color_prompt" == "yes" ]]; then | ||
BLUE="\033[0;34m" | ||
NO_COLOR="\033[0m" | ||
else | ||
BLUE="" | ||
NO_COLOUR="" | ||
fi | ||
|
||
if [ ! -d ~/.m2/repository ]; then | ||
echo -e "${BLUE}Creating local maven repository: ~/.m2/repository${NO_COLOR}" | ||
mkdir -p ~/.m2/repository | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id: java-spring-boot2 | ||
name: Java application using Spring Boot 2 | ||
version: 0.2.1 | ||
version: 0.3.0 | ||
description: Spring Boot 2 project with health and metrics actuators enabled. Metrics support is provided by Micrometer, and is configured with Prometheus support. | ||
maintainer: Erin Schnabel <[email protected]> | ||
default-template: default | ||
|
2 changes: 1 addition & 1 deletion
2
incubator/java-spring-boot2/templates/default/.appsody-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
stack: appsody/java-spring-boot2:0.2 | ||
stack: appsody/java-spring-boot2:0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
/target/* | ||
!.keep | ||
|
||
|
||
### STS ### | ||
.apt_generated | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters