Commit graph

739 commits

Author SHA1 Message Date
lsap
e7c879ed3a Update petclinic_db_setup_mysql.txt
Hey Team, thanks in advance!
2021-05-14 16:17:25 +01:00
Frank Migliorino
b91e21378c Fix docs for setting profiles
Add using -Dspring-boot.run.jvmArguments to the notes for how to set up using MySQL.
2021-05-14 13:01:26 +01:00
Dave Syer
8954fa9585 Add note about autocrlf on windows 2021-05-12 10:45:14 +01:00
Dave Syer
0d8a80da65 Clarify that a JDK is needed 2021-05-12 10:41:09 +01:00
Dave Syer
525dc6a2d0 Only attempt to login to docker on main 2021-05-12 10:40:13 +01:00
Dave Syer
d0e4e7731b Only attempt to login to docker on main 2021-05-11 16:21:54 +01:00
Dave Syer
af1857cda1 Add javaformat plugin to Eclipse workaround 2021-05-04 11:37:31 +01:00
Jinbo Wang
39d60e2761 Configure an inline m2e lifecycle mapping for wro4j-maven-plugin
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2021-04-29 07:15:16 +01:00
Dave Syer
09e07869ac Update Spring Boot to 2.4.5 2021-04-29 07:11:20 +01:00
Dave Syer
e2fbc56130 Only publish docker image from main branch 2021-01-28 12:01:57 +00:00
Diego Lemos
a0d743cfed Do not fail packaging if repo info is absent
As part of a process to build a BOSH release, I encountered the error
below while running `./mvnw package`:

```
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:3.0.1:revision (default) on project spring-petclinic: Could not complete Mojo execution...: Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
```

That's because we are just interested on the source files for the BOSH
release, we don't care about repo metadata (so we exclude them).

Going through the [git-commit-id-maven-plugin
docs](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/maven/docs/using-the-plugin.md)
we learned it is possible to prevent the failure above via
configuration.

We propose then to set
`<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>`,
enabling use cases similar to ours.

FWIW `failOnNoGitDirectory` is already set to false.
2021-01-28 10:13:23 +00:00
Dave Syer
3a040886fe Add docker push to CI 2021-01-28 09:57:17 +00:00
Dave Syer
04471aec49 Update to Boot 2.4.2 2021-01-28 09:55:39 +00:00
Stephane Nicoll
02babdd8cb Upgrade to Spring Boot 2.4.1 2020-12-25 13:02:48 +01:00
Stephane Nicoll
8065ad00e2 Merge pull request #707 from Arka-Bandyopadhyay
* pr/707:
  Downgrade to wro4j 1.8.0
  remove .vscode folder from project repository

Closes gh-707
2020-11-29 11:44:14 +01:00
Arka Bandyopadhyay
0573cda3c2 Downgrade to wro4j 1.8.0
This commit downgrades the wro4j plugin to 1.8.0 as the latest version
requires Java 11.

See gh-707
2020-11-29 11:43:28 +01:00
Stephane Nicoll
502870d6c0 Remove IDE specific configuration files
Closes gh-706
2020-11-29 11:39:01 +01:00
Arka Bandyopadhyay
949278cd46 remove .vscode folder from project repository 2020-11-29 14:21:33 +05:30
Dave Syer
ab9135ad9b Upgrade to Spring Boot 2.4.0 2020-11-24 10:44:41 +00:00
Cesarion Pshebytski
8b1ac6736e Updated user for mysql
Updated creation of user for mysql db. Previously lack of quotes resulted in creation of incorrect user (petclinic@% instead of just petclinic)
2020-11-06 11:13:25 +00:00
Stephane Nicoll
7615395b1f Upgrade to Spring Boot 2.3.5 2020-11-06 08:30:48 +01:00
Stephane Nicoll
656b7c8b17 Merge pull request #650 from piyush-garg
* pr/650:
  Upgrade to wro4j 1.9.0

Closes gh-650
2020-11-06 07:55:44 +01:00
Piyush Garg
a1eaaa6878 Upgrade to wro4j 1.9.0
See gh-650
2020-11-06 07:54:59 +01:00
Stephane Nicoll
f6c1a69e6b Merge pull request #670 from akashsolanki
* pr/670:
  Remove redundant junits dependencies

Closes gh-670
2020-11-06 07:48:31 +01:00
Akash Solanki
e5ef4d34e3 Remove redundant junits dependencies
See gh-670
2020-11-06 07:47:17 +01:00
Stephane Nicoll
27109010a5 Restore version to 2.3.0.BUILD-SNAPSHOT 2020-08-27 15:05:30 +02:00
Stephane Nicoll
be0f161453 Upgrade to Checkstyle 8.32 2020-08-27 15:04:12 +02:00
Stephane Nicoll
2e5be53533 Upgrade to spring javaformat 0.0.25 2020-08-27 15:03:51 +02:00
Stephane Nicoll
d19963e174 Upgrade to Spring Boot 2.3.3 2020-08-27 15:03:32 +02:00
Martin Lippert
c42f95980a remove push-to-pws button from guide, since pws free trials end 2020-07-29 16:43:31 +02:00
Stephane Nicoll
02cc84223b Polish 2020-07-11 08:58:57 +02:00
Stephane Nicoll
5ad6bc3ccd Upgrade to spring javaformat 0.0.22 2020-07-11 08:58:57 +02:00
Rognetta
4953f87917 Update application-mysql.properties
Add some environment variables with defaults for the MySQL
credentials.

Closes #506
2020-06-25 17:12:30 +01:00
aleVeD
0390e85c25 adding new message in Spanish 2020-06-23 19:17:42 +01:00
Alex Hatzenbuhler
d367e2b4b4 Updating spacing on step list 2020-06-14 11:55:52 +01:00
Dave Syer
73ede82651 Replace references to main branch 2020-06-13 15:16:31 +01:00
Dave Syer
07b9d5aa45 Ensure fragment for menu items is not itself rendered
Formerly there was a "ghost" menu item with no text and no icon
because Thymeleaf had not been instructed to remove the fragment
definition. This change tidies that up and also removes the use of
the "path" variable, which Thymeleaf populates from the current
request context, and poses a potential security threat as a
result (if users type malicious characters in the URL).
2020-06-13 14:56:10 +01:00
Dave Syer
d173555056 Update to Boot 2.3.1 2020-06-13 14:09:36 +01:00
Jay
410abc21f3 remove trailing slash 2020-06-13 14:06:34 +01:00
Kristof Neirynck
9873188e29 Change EditorConfig to reflect some files are indented with 2 spaces 2020-06-13 14:03:04 +01:00
Kristof Neirynck
d94b995db2 Change EditorConfig to be consistent with spring-javaformat
spring-javaformat uses tabs to indent java files
2020-06-13 14:03:04 +01:00
Kristof Neirynck
907eea340b Upgrade to Maven 3.6.3 and Maven Wrapper 0.5.6 2020-06-13 14:02:26 +01:00
Dave Syer
c9230c37b9 Bump to Spring Boot 2.3.0 2020-05-27 13:40:44 +00:00
Stephane Nicoll
adab01ef62 Upgrade to maven checkstyle plugin 3.1.1 2020-05-03 08:55:49 +02:00
Stephane Nicoll
6a18eecc9b Upgrade to spring javaformat 0.0.21 2020-05-03 08:55:22 +02:00
Stephane Nicoll
628862206b Switch actuator to standard path 2020-05-02 08:02:49 +02:00
Stephane Nicoll
d9f37ece5c Upgrade to Spring Boot 2.3.0.RC1 2020-05-02 07:51:21 +02:00
Stephane Nicoll
56f09331aa Merge pull request #586 from jelliotartz
* pr/586:
  Fix typo in readme

Closes gh-586
2020-03-30 08:53:42 +02:00
James Artz
8db8c272c1 Fix typo in readme
See gh-586
2020-03-30 08:53:31 +02:00
Stephane Nicoll
8805eaa721 Disable open-in-view explicitly to remove warning on startup 2020-03-20 18:27:18 +01:00