Go to file
Karsten Silz 506a145955 Merge branch 'master' of github.com:eugenp/tutorials into master 2020-09-01 20:09:01 +01:00
akka-http
akka-streams
algorithms-genetic
algorithms-miscellaneous-1
algorithms-miscellaneous-2 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
algorithms-miscellaneous-3 Update README.md 2020-04-07 17:52:32 +08:00
algorithms-miscellaneous-4
algorithms-miscellaneous-5 Java-1520 Fix whitespaces in algorithms-miscellaneous-5 pom 2020-05-01 16:34:19 +02:00
algorithms-miscellaneous-6 Update README.md 2020-07-23 21:57:49 +08:00
algorithms-searching Update README.md 2020-08-20 18:28:49 +08:00
algorithms-sorting JAVA-615 Split or move algorithms-sorting module 2020-04-15 23:04:39 +02:00
algorithms-sorting-2 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
animal-sniffer-mvn-plugin
annotations
antlr
apache-cxf Create README.md 2020-08-11 19:11:30 +08:00
apache-libraries Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
apache-olingo Delete README.md 2020-04-07 17:48:34 +08:00
apache-poi Update README.md 2020-08-20 13:10:04 +08:00
apache-rocketmq
apache-shiro Update README.md 2020-07-23 21:36:52 +08:00
apache-spark Java-1456 Reduce logging modules apache-spark, spring-boot-crud maven-assembly-plugin 2020-08-30 00:05:49 +02:00
apache-tapestry
apache-thrift
apache-tika
apache-velocity
asciidoctor
asm
atomikos Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
atomix
aws
aws-app-sync used properties defined in parent pom 2020-07-12 00:06:27 +05:30
aws-lambda
aws-reactive BAEL-2322: PR fix 2020-06-21 20:49:45 -03:00
axon
azure
bazel Delete README.md 2020-05-05 08:47:17 +08:00
blade
bootique
cas JAVA-1653: Remove spring-boot.version property 2020-05-10 22:31:27 +02:00
cdi JAVA-2428: Migrate cdi to spring-parent-5 2020-08-24 21:05:12 +02:00
checker-plugin
clojure/ring
cloud-foundry-uaa Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
code-generation
core-groovy Update README.md 2020-07-21 21:52:46 +08:00
core-groovy-2 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
core-groovy-collections
core-java-modules Merge pull request #9946 from Maiklins/Java-1462-reduce-logging-modules-core-java-io-2-spring-ejb-beans-spring-boot-security-spring-data-jpa-3 2020-08-31 20:35:06 +05:30
core-kotlin-modules Merge pull request #9905 from anirban99/feature/ktln-154/collection-aggregate-operations-in-kotlin 2020-09-01 09:45:00 +01:00
core-scala Create README.md 2020-04-07 17:09:25 +08:00
couchbase
custom-pmd
dagger
data-structures Update README.md 2020-07-21 21:44:57 +08:00
ddd BAEL-3917: Fix the integrations tests in ddd (#9708) 2020-07-16 09:15:40 +02:00
ddd-modules [JAVA-1659] Upgraded Maven Surefire Plugin and JUnit versions 2020-06-01 11:30:17 +02:00
deeplearning4j Update README.md 2020-08-20 17:23:09 +08:00
disruptor
docker Delete README.md 2020-08-26 00:50:32 +08:00
dozer
drools JAVA-2431: Fix README.md files 2020-08-27 22:16:56 +02:00
dropwizard
dubbo
eclipse
ethereum
feign
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit
gradle Update build.gradle 2020-05-15 22:14:25 +02:00
gradle-5 BAEL-4516: Fix itest sample 2020-08-23 00:03:45 +03:00
gradle-6
grails
graphql/graphql-java
grpc
gson
guava-modules JAVA-2154: Added guava dependency to module pom directly (#9789) 2020-07-30 08:23:43 +05:30
guest
guice
hazelcast
helidon
httpclient
httpclient-simple
hystrix Revert "JAVA-916: Migrate jhipster to parent-boot-2" 2020-04-18 19:17:28 +05:30
image-processing Update README.md 2020-07-23 21:28:59 +08:00
immutables
intelliJ Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
jackson-modules Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
jackson-simple Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
java-blockchain
java-collections-conversions BAEL-4572: Add List#copyOf and Set#copyOf (#9903) 2020-08-21 14:33:39 +02:00
java-collections-conversions-2 Update README.md 2020-08-20 12:46:31 +08:00
java-collections-maps-3 Create README.md 2020-05-05 17:43:34 +08:00
java-ee-8-security-api
java-jdi
java-lite
java-numbers Change project from java-numbers to java-numbers-3 2020-05-30 05:22:10 +01:00
java-numbers-2
java-numbers-3 Update README.md 2020-08-11 11:19:00 +08:00
java-numbers-4 Create README.md 2020-08-20 18:15:54 +08:00
java-rmi
java-spi
java-vavr-stream
java-websocket
javafx
javax-servlets Update README.md 2020-08-20 17:55:27 +08:00
javaxval
jaxb
jee-7 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
jee-7-security
jee-kotlin BAEL-3448: Change default http port (#9380) 2020-05-27 22:16:44 +02:00
jenkins
jersey
jgit Java-1457 Reduce logging - Modules jgit, libraries-testing (#9884) 2020-08-18 17:16:29 +05:30
jgroups
jhipster JAVA-33: Added comments in pom.xml with reason to not upgrade to boot-2 2020-08-26 17:02:39 +05:30
jhipster-5 Java-1458 Reduce logging - jhipster5 2020-08-29 23:04:29 +02:00
jib JAVA-2344: Update "Dockerizing with Jib" article 2020-08-11 12:17:02 +05:30
jjwt JAVA-918: Migrate jjwt to parent-boot-2 2020-04-18 22:26:54 +05:30
jmeter JAVA-919: Migrate jmeter to parent-boot-2 2020-04-20 23:15:30 +05:30
jmh Update README.md 2020-08-20 17:39:49 +08:00
jni
jooby
jsf
json
json-2 Update README.md 2020-08-20 17:49:05 +08:00
json-path
jsoup Update README.md 2020-08-20 13:17:06 +08:00
jta
jws BAEL-3992: Remove jnlp dependencies from the pom.xml 2020-04-17 22:11:57 +02:00
kaniko Create README.md 2020-05-12 15:29:06 +08:00
kotlin-js
kotlin-libraries Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
kotlin-libraries-2 Added Reified Style to the List Example 2020-07-31 15:31:51 +04:30
kotlin-quasar Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
lagom
language-interop JAVA-1749 Move modules language interop and console 2020-06-07 13:22:16 +02:00
libraries BAEL3889 - Kafka Mock Producer 2020-05-26 17:23:59 +05:30
libraries-2 Java-1470 Fix compilation errors and Readme files 2020-04-29 21:55:48 +02:00
libraries-3 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
libraries-4 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
libraries-5 BAEL-3975: Fix the PactVerification test (#9870) 2020-08-14 17:36:47 +02:00
libraries-6 JAVA-2116: Split or move libraries-data-2 module (#9716) 2020-07-17 07:16:41 +05:30
libraries-apache-commons JAVA-619: Split or move core-java-modules/core-java-io-apis module 2020-07-12 08:56:13 +05:30
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
libraries-data JAVA-2116: Split or move libraries-data-2 module (#9716) 2020-07-17 07:16:41 +05:30
libraries-data-2 JAVA-2116: Split or move libraries-data-2 module (#9716) 2020-07-17 07:16:41 +05:30
libraries-data-db Dependency Upgrade for HikariCP 2020-05-28 20:00:23 +04:30
libraries-data-io
libraries-http JAVA-627: Added next link in README for libraries-http 2020-04-18 11:44:56 +05:30
libraries-http-2 JAVA-1595: Restore code for Jetty ReactiveStreams HTTP Client article 2020-05-12 23:03:58 +05:30
libraries-io
libraries-primitive
libraries-rpc Create README.md 2020-05-30 14:01:14 +08:00
libraries-security BAEL-4465 (#9954) 2020-09-01 08:23:00 -07:00
libraries-server BAEL-4100: Move HTTP/2 in Jetty to the new libraries-server-2 module (#9394) 2020-06-02 21:15:49 +02:00
libraries-server-2 BAEL-4100: Move HTTP/2 in Jetty to the new libraries-server-2 module (#9394) 2020-06-02 21:15:49 +02:00
libraries-testing [BAEL-4381] Formatting 2020-08-25 08:54:26 -03:00
linkrest
linux-bash Update README.md 2020-07-21 21:57:20 +08:00
logging-modules JAVA-2431: Fix README.md files 2020-08-27 22:16:56 +02:00
lombok Create README.md 2020-04-07 16:39:13 +08:00
lombok-custom
lucene
machine-learning Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
mapstruct Update README.md 2020-07-21 21:23:41 +08:00
maven-archetype
maven-java-11/multimodule-maven-project Merge pull request #9137 from amit2103/JAVA-1435 2020-05-24 15:26:56 +03:00
maven-modules Update README.md 2020-08-20 18:09:18 +08:00
maven-polyglot
mesos-marathon JAVA-921: Migrate mesos-marathon to parent-boot-2 2020-04-22 15:42:16 +05:30
metrics
micronaut Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
microprofile
msf4j
muleesb Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
mustache
mybatis
netflix-modules Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
netty Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
ninja
oauth2-framework-impl Delete README.md 2020-05-05 08:57:04 +08:00
open-liberty BAEL-4575: Use copyDependencies feature from the latest liberty-maven-plugin (#9920) 2020-08-27 06:54:29 +02:00
optaplanner
orika
osgi
parent-boot-1
parent-boot-2 JAVA-38 Move all Spring Cloud Modules to Boot 2 2020-07-15 22:12:07 +02:00
parent-java Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
parent-kotlin used release repository 2020-08-02 03:51:32 +05:30
parent-spring-4 update spring 4 version to latest 2020-05-03 16:03:06 +05:30
parent-spring-5 JAVA-2300: Upgrade Spring Core to 5.2.8 in parent-spring-5 2020-08-03 21:22:23 +02:00
patterns Update README.md 2020-08-20 12:51:17 +08:00
pdf JAVA-2106: Move Java Convert PDF to Base64 to the pdf module 2020-07-09 18:44:46 +02:00
performance-tests Merge pull request #9900 from sampada07/JAVA-2382 2020-08-23 11:16:36 +05:30
persistence-modules Reduce logging - Modules api-gateway, spring-boot-springdoc, spring-zuul-rate-limiting, hibernate-ogm, jpa-hibernate-cascade-type 2020-08-30 16:54:15 +02:00
play-framework
pmd
podman
protobuffer
quarkus [BAEL-4471] Quarkus Testing (#9894) 2020-08-29 10:35:01 -05:00
quarkus-extension updated the child pom as quarkus-extension/quarkus-liquibase pom artifactId is changed 2020-06-07 21:28:59 +05:30
rabbitmq Consumer changed as DefaultConsumer. 2020-05-01 20:50:13 +03:00
raml
ratpack
reactive-systems Update README.md 2020-08-11 12:32:27 +08:00
reactor-core Java-75 update intro to reactor core (#9953) 2020-08-31 23:11:46 +05:30
resteasy
restx
rsocket
rule-engines Create README.md 2020-08-20 12:59:10 +08:00
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators
saas
slack
software-security/sql-injection-samples
spark-java
spf4j used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-4 JAVA-33: Added comments in pom.xml with reason to not upgrade to boot-2 2020-08-26 17:02:39 +05:30
spring-5
spring-5-data-reactive
spring-5-mvc Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-5-reactive JAVA-1525: README updates 2020-07-30 18:09:51 +05:30
spring-5-reactive-2 JAVA-1525: README updates 2020-07-30 18:09:51 +05:30
spring-5-reactive-client JAVA-1525: README updates 2020-07-30 18:09:51 +05:30
spring-5-reactive-oauth JAVA-1638: Get rid of the overriden spring-boot.version property 2020-08-13 22:07:42 +02:00
spring-5-reactive-security Merge pull request #9793 from sampada07/JAVA-1525 2020-07-30 13:06:33 -06:00
spring-5-security Update README.md 2020-08-20 18:06:48 +08:00
spring-5-security-cognito JAVA-1639: Upgrade spring-5-security-cognito to use latest Spring Boot 2020-08-14 22:07:40 +05:30
spring-5-security-oauth JAVA-1640: Get rid of the overriden spring-boot.version property 2020-08-12 21:40:45 +02:00
spring-5-webflux Update .gitignore 2020-08-21 22:33:19 +02:00
spring-activiti JAVA-33: Added comments in pom.xml with reason to not upgrade to boot-2 2020-08-26 17:02:39 +05:30
spring-akka
spring-amqp
spring-aop Update README.md 2020-07-21 21:26:52 +08:00
spring-apache-camel
spring-batch Update README.md 2020-04-10 16:35:28 +08:00
spring-bom
spring-boot-groovy JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
spring-boot-modules Merge pull request #9909 from umangbudhwar/BAEL-4095 2020-09-01 13:42:39 -03:00
spring-boot-rest JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
spring-caching cleaning up unnecessary changes 2020-07-26 16:59:27 +05:30
spring-cloud Disabling Tomcat URL Stream Factory 2020-09-01 04:27:53 +04:30
spring-cloud-bus JAVA-937: Migrate spring-cloud-bus to parent-boot-2 2020-06-02 15:46:57 +05:30
spring-cloud-cli
spring-cloud-data-flow used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-core JAVA-628: Moved 3 articles from spring-core 2020-07-15 17:24:34 +05:30
spring-core-2 BAEL-3715: Sync code and article (#9932) 2020-08-29 10:49:40 +02:00
spring-core-3 JAVA-628: Moved 2 articles to spring-core-3 2020-07-15 17:27:50 +05:30
spring-core-4 JAVA-17: Move Running Setup Data on Startup in Spring into spring-boot-data 2020-07-31 22:02:44 +02:00
spring-cucumber
spring-data-rest used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-data-rest-querydsl JAVA-939: Migrate spring-data-rest-querydsl to parent-boot-2 2020-05-22 12:08:56 +05:30
spring-di JAVA-628: Corrected README, moved article code to appropriate module 2020-07-15 17:30:45 +05:30
spring-di-2 Update README.md 2020-07-21 21:14:45 +08:00
spring-dispatcher-servlet Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-drools
spring-ehcache
spring-ejb Java-1462 Reduce logging - Modules core-java-io-2, spring-ejb-beans, spring-boot-security 2020-08-30 14:35:18 +02:00
spring-exceptions
spring-freemarker
spring-groovy
spring-integration used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-jenkins-pipeline JAVA-940: Migrate spring-jenkins-pipeline to parent-boot-2 2020-05-20 11:46:37 +05:30
spring-jersey
spring-jinq JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
spring-jms
spring-jooq BAEL-4518: Upgrade jooq version (#9955) 2020-09-01 16:49:22 +02:00
spring-kafka BAEL-4541: Fix typos in the spring-kafka module (#9857) 2020-08-13 11:38:50 +02:00
spring-katharsis JAVA-33: Moved spring-katharsis to boot-2 2020-08-30 16:51:48 +05:30
spring-ldap
spring-mobile used release repository 2020-08-02 03:51:32 +05:30
spring-mockito Mockint objectmapper with mockito (#9017) 2020-04-24 09:00:30 -05:00
spring-mvc-basics
spring-mvc-basics-2 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-basics-3
spring-mvc-basics-4
spring-mvc-crash Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-forms-jsp Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-forms-thymeleaf
spring-mvc-java Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-java-2 Update README.md 2020-08-20 17:51:43 +08:00
spring-mvc-kotlin
spring-mvc-velocity
spring-mvc-views Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-webflow Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-mvc-xml Bael 2980 move c ra sh article to new module (#9103) 2020-04-17 08:15:36 +02:00
spring-protobuf
spring-quartz
spring-reactive-kotlin Update README.md 2020-04-10 15:31:19 +08:00
spring-reactor
spring-remoting JAVA-33: Added comments in pom.xml with reason to not upgrade to boot-2 2020-08-26 17:02:39 +05:30
spring-rest-angular
spring-rest-compress
spring-rest-hal-browser JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
spring-rest-http Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
spring-rest-http-2 BAEL-4172 - How to Turn Off Swagger-ui in Production in http-2 (#9858) 2020-08-24 15:36:21 +01:00
spring-rest-query-language
spring-rest-shell
spring-rest-simple
spring-rest-testing Update README.md 2020-07-21 20:53:15 +08:00
spring-resttemplate JAVA-2113: Split or move spring-resttemplate module (#9753) 2020-07-28 09:31:54 +05:30
spring-resttemplate-2 JAVA-2113: Split or move spring-resttemplate module (#9753) 2020-07-28 09:31:54 +05:30
spring-roo used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-scheduling reverted the file name 2020-04-12 01:05:59 +05:30
spring-security-modules JAVA-69: README updates 2020-08-18 15:43:55 +05:30
spring-session BAEL-4571: Remove redundant configuration (#9895) 2020-08-19 14:14:05 +02:00
spring-shell
spring-sleuth
spring-soap ingore files generated after build 2020-08-02 00:55:58 +05:30
spring-social-login JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
spring-spel
spring-state-machine
spring-static-resources
spring-swagger-codegen used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-threads
spring-thymeleaf JAVA-93 Remove Page class 2020-07-21 11:21:22 +02:00
spring-thymeleaf-2 Update README.md 2020-05-06 15:12:08 +08:00
spring-thymeleaf-3 Update BlogController.java 2020-08-31 10:34:01 -06:00
spring-vault used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-vertx
spring-webflux-amqp
spring-webflux-threads Create README.md 2020-08-20 18:40:15 +08:00
spring-websockets
static-analysis
stripe JAVA-955: removed lombok version 2020-05-06 22:43:04 +05:30
structurizr Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
struts-2
tensorflow-java
terraform Update README.md 2020-05-12 16:34:14 +08:00
testing-modules BAEL-4530: A Guide to @DynamicPropertySource in Spring (#9877) 2020-08-31 16:43:13 +01:00
twilio
twitter4j Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
undertow
vaadin used properties defined in parent pom 2020-07-12 00:06:27 +05:30
vavr [JAVA-630] vavr-2 module 2020-04-19 16:55:18 +02:00
vavr-2 [JAVA-630] vavr-2 module 2020-04-19 16:55:18 +02:00
vertx
vertx-and-rxjava
video-tutorials
vraptor
webrtc Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
wicket
wildfly
xml
xstream
.gitignore ingore files generated after build 2020-08-02 00:55:58 +05:30
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml BAEL-4172 - How to Turn Off Swagger-ui in Production in http-2 (#9858) 2020-08-24 15:36:21 +01:00

README.md

UPDATE: The price of "Learn Spring Security OAuth" will permanently change on the 11th of December, along with the upcoming OAuth2 material: http://bit.ly/github-lss

The Courses

Here's the new "Learn Spring" course:
>> LEARN SPRING - THE MASTER CLASS

Here's the Master Class of "REST With Spring" (along with the new announced Boot 2 material):
>> THE REST WITH SPRING - MASTER CLASS

And here's the Master Class of "Learn Spring Security":
>> LEARN SPRING SECURITY - MASTER CLASS

Java and Spring Tutorials

This project is a collection of small and focused tutorials - each covering a single and well defined area of development in the Java ecosystem. A strong focus of these is, of course, the Spring Framework - Spring, Spring Boot and Spring Security. In additional to Spring, the modules here are covering a number of aspects in Java.

Profile based segregation

We are using maven build profiles to segregate the huge list of individual projects we have in our repository.

The projects are broadly divided into 3 list: first, second and heavy.

Next, they are segregated further on the basis of tests that we want to execute.

Therefore, we have a total of 6 profiles:

Profile Includes Type of test enabled
default-first First set of projects *UnitTest
integration-lite-first First set of projects *IntegrationTest
default-second Second set of projects *UnitTest
integration-lite-second Second set of projects *IntegrationTest
default-heavy Heavy/long running projects *UnitTest
integration-heavy Heavy/long running projects *IntegrationTest

Building the project

Though it should not be needed often to build the entire repository at once because we are usually concerned with a specific module.

But if we want to, we can invoke the below command from the root of the repository if we want to build the entire repository with only Unit Tests enabled:

mvn clean install -Pdefault-first,default-second,default-heavy

or if we want to build the entire repository with Integration Tests enabled, we can do:

mvn clean install -Pintegration-lite-first,integration-lite-second,integration-heavy

Building a single module

To build a specific module run the command: mvn clean install in the module directory

Running a Spring Boot module

To run a Spring Boot module run the command: mvn spring-boot:run in the module directory

Working with the IDE

This repo contains a large number of modules. When you're working with an individual module, there's no need to import all of them (or build all of them) - you can simply import that particular module in either Eclipse or IntelliJ.

Running Tests

The command mvn clean install from within a module will run the unit tests in that module. For Spring modules this will also run the SpringContextTest if present.

To run the integration tests, use the command:

mvn clean install -Pintegration-lite-first or

mvn clean install -Pintegration-lite-second or

mvn clean install -Pintegration-heavy

depending on the list where our module exists