<commit_before>
# Spring

## Spring boot

~~~
#run
mvn spring-boot:run
#is same as:
mvn package
java -jar target/xxx.jar
~~~
<commit_msg>spring wip<commit_after>
# Spring

## Nice

~~~
curl -s get.sdkman.io | bash
sdk ls springboot
sdk install springboot
~~~

## Spring boot

~~~
#run
mvn spring-boot:run
#is same as:
mvn package
java -jar target/xxx.jar
~~~

## Pro Spring

~~~
spring shell

spring init --build gradle myapp
./gradlew bootRun

spring init -dweb,data-jpa,h2,freemarker,security --package-name=com.vv10.spring --build maven vv10app --force # force = override existing folder.
./mvnw spring-boot:run
~~~

{'fraction_non_alphanumeric': 0.13787638668779714, 'fraction_numerical': 0.00792393026941363, 'mean_word_length': 3.613138686131387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '884117', 'n_tokens_mistral': 249, 'n_tokens_neox': 232, 'n_words': 67}