Go to file
Loredana Crusoveanu 14c1aee6ef Merge pull request #10257 from johnA1331/master
BAEL-29702 - github-related test fix - github linking back to the article (results: 03.11.2020)
2020-11-18 10:33:29 +02:00
akka-http
akka-streams
algorithms-genetic Update README.md 2020-10-28 15:41:23 +08:00
algorithms-miscellaneous-1 Update README.md 2020-10-28 15:39:09 +08:00
algorithms-miscellaneous-2 Update README.md 2020-09-27 11:45:13 +03:00
algorithms-miscellaneous-3
algorithms-miscellaneous-4 Update README.md 2020-10-28 16:30:31 +08:00
algorithms-miscellaneous-5 Update README.md 2020-10-28 16:53:05 +08:00
algorithms-miscellaneous-6 Update README.md 2020-10-28 17:16:48 +08:00
algorithms-searching Update README.md 2020-10-28 17:18:55 +08:00
algorithms-sorting
algorithms-sorting-2 Update README.md 2020-10-28 16:54:34 +08:00
animal-sniffer-mvn-plugin
annotations
antlr
apache-cxf Create README.md 2020-08-11 19:11:30 +08:00
apache-libraries Java-82 Fix test 2020-09-19 13:51:05 +02:00
apache-olingo
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 Update README.md 2020-10-21 11:31:57 +08:00
apache-tapestry
apache-thrift
apache-tika
apache-velocity pom formatting 2020-03-15 18:22:24 +05:30
asciidoctor
asm
atomikos
atomix
aws
aws-app-sync used properties defined in parent pom 2020-07-12 00:06:27 +05:30
aws-lambda Update README.md 2020-09-16 23:54:01 +08:00
aws-reactive
axon
azure
bazel Delete README.md 2020-05-05 08:47:17 +08:00
blade
bootique
cas
cdi JAVA-2428: Migrate cdi to spring-parent-5 2020-08-24 21:05:12 +02:00
checker-plugin
clojure/ring Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
cloud-foundry-uaa
code-generation
core-groovy Update README.md 2020-07-21 21:52:46 +08:00
core-groovy-2
core-groovy-collections
core-groovy-strings Create README.md 2020-09-24 02:53:02 +08:00
core-java-modules Bael 4215 creating generic array (#10178) 2020-11-16 18:08:49 +00:00
core-kotlin-modules [KTLN-3] Fix package name (#10246) 2020-11-12 21:22:06 +01:00
core-scala
couchbase
custom-pmd
dagger
data-structures Update README.md 2020-07-21 21:44:57 +08:00
ddd revert explicit junit, maven version overrides for boot projects 2020-10-14 16:24:30 +03: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
discord4j BAEL-4731 (article improvement) (#10251) 2020-11-15 21:24:07 -08:00
disruptor
docker Merge pull request #10031 from carloscaverobarca/BAEL-4574-Creating-Docker-Images-for-Spring-Boot-Microservices 2020-11-16 12:23:41 -03:00
dozer formatted pom.xml file 2020-03-22 07:24:38 +05:30
drools JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
dropwizard
dubbo
eclipse
ethereum
feign BAEL-2626: Update Feign to 10.11 (#10105) 2020-09-29 14:54:05 +02:00
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit
gradle Update README.md 2020-11-05 14:07:07 +08:00
gradle-5 Create README.md 2020-09-16 23:55:27 +08:00
gradle-6
grails
graphql/graphql-java formatted pom.xml file 2020-03-22 07:24:38 +05:30
grpc
gson
guava-modules JAVA-2154: Added guava dependency to module pom directly (#9789) 2020-07-30 08:23:43 +05:30
guest move versions in properties 2020-01-16 01:53:26 +05:30
guice
hazelcast BAEL-4595: Update hazelcast.xml config file (#10039) 2020-09-16 20:53:28 +02:00
helidon
httpclient BAEL-4448: Added examples for setting TLS version in HttpClient (#9936) 2020-09-24 17:28:05 +01:00
httpclient-2 add additional property for httpclient v.4.5 2020-10-29 15:16:29 +02:00
httpclient-simple add additional property for httpclient v.4.5 2020-10-29 15:16:29 +02:00
hystrix JAVA-915: Migrate hystrix to parent-boot-2 2020-04-17 12:41:52 +05:30
image-processing Update README.md 2020-07-23 21:28:59 +08:00
immutables
intelliJ
jackson-modules Java-82 Fix test 2020-09-19 13:51:05 +02:00
jackson-simple
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-09-24 02:39:41 +08:00
java-collections-maps-3
java-ee-8-security-api
java-jdi
java-lite
java-native Update README.md 2020-11-11 21:19:54 +08:00
java-numbers Update README.md 2020-10-28 16:19:53 +08:00
java-numbers-2 JAVA-625: Updated README links 2020-03-25 23:13:19 +05:30
java-numbers-3 Update README.md 2020-08-11 11:19:00 +08:00
java-numbers-4 Update README.md 2020-11-05 14:17:57 +08:00
java-rmi [BAEL-17476] - Final edits for Add README descriptions 2019-12-15 09:50:35 +00:00
java-spi
java-vavr-stream
java-websocket
javafx fix colour names 2020-10-24 17:38:58 +03:00
javax-servlets Added null check 2020-10-26 20:20:38 +05:30
javaxval
jaxb [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jee-7
jee-7-security
jee-kotlin
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
jmeter JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
jmh Update README.md 2020-08-20 17:39:49 +08:00
jooby
jsf
json Update README.md 2020-09-24 03:36:26 +08:00
json-2 Merge pull request #10029 from Maiklins/Java-2136-update-jackson-version-in-main-pom 2020-09-30 10:53:54 +03:00
json-path [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jsoup Update README.md 2020-08-20 13:17:06 +08:00
jta
jws
kaniko
kotlin-js fix description, start script 2020-10-22 17:42:22 +03:00
kotlin-libraries
kotlin-libraries-2 Added Reified Style to the List Example 2020-07-31 15:31:51 +04:30
kotlin-quasar
lagom
language-interop
libraries
libraries-2
libraries-3
libraries-4
libraries-5 BAEL-4656: Get available port number for the test (#10096) 2020-09-28 16:29:44 +02:00
libraries-6 Merge pull request #10237 from kwoyke/JAVA-3384-2 2020-11-06 17:44:19 +02:00
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
libraries-data JAVA-2116: Split or move libraries-data-2 module (#9716) 2020-07-17 07:16:41 +05:30
libraries-data-2 Update README.md 2020-10-28 14:32:56 +08:00
libraries-data-db Dependency Upgrade for HikariCP 2020-05-28 20:00:23 +04:30
libraries-data-io
libraries-http Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
libraries-http-2 Update README.md 2020-11-05 13:55:30 +08:00
libraries-io BAEL-20537: Migrate to the com.baeldung package 2019-12-24 13:20:50 +01:00
libraries-primitive JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
libraries-rpc
libraries-security Update README.md 2020-09-16 23:47:15 +08:00
libraries-server
libraries-server-2
libraries-testing Update README.md 2020-09-16 22:47:55 +08:00
linkrest
linux-bash Update README.md 2020-07-21 21:57:20 +08:00
logging-modules [JAVA-1662] Upgraded junit-jupiter version to 5.6.2 2020-09-10 12:26:56 +02:00
lombok Add a new section in Lombok builder article - Minor Fixes 2020-09-19 19:58:33 -03:00
lombok-custom
lucene
machine-learning
mapstruct BAEL-4641: Use MapStruct 1.3.1.Final (#10088) 2020-09-25 13:17:43 +02:00
maven-archetype
maven-modules fixing build issue 2020-09-20 15:58:04 +05:30
maven-polyglot
mesos-marathon
metrics Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
micronaut
microprofile
msf4j [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
muleesb Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
mustache [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
mybatis
netflix-modules Update README.md 2020-10-28 10:34:26 +08:00
netty
ninja
oauth2-framework-impl
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-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
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
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-10-28 16:26:53 +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 BAEL-4723 Defining Indexes in JPA #2 (#10254) 2020-11-15 21:26:38 -08:00
play-framework
pmd
podman
protobuffer
quarkus Merge branch 'master' of https://github.com/eugenp/tutorials 2020-09-18 12:04:36 +03:00
quarkus-extension
rabbitmq
raml JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
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 [JAVA-2540] Migrated unit test to integration test as it bootsraps and calls a REST API 2020-09-10 11:47:44 +02:00
rsocket
rule-engines Create README.md 2020-08-20 12:59:10 +08:00
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators
saas
slack Create README.md 2020-02-10 13:25:34 +08:00
software-security/sql-injection-samples JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
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 JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
spring-5-mvc Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
spring-5-reactive removed test as it's not related to any article 2020-11-10 12:04:40 -03:00
spring-5-reactive-2 Update README.md 2020-10-28 16:35:26 +08:00
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 Java-82 Correctly configure Netty server and security (#10034) 2020-10-10 12:47:35 +05:30
spring-5-security BAEL-4610: Add {noop} example security config (#10046) 2020-09-17 19:57:53 +02: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 add missing bean 2020-10-26 16:28:28 +02:00
spring-5-webflux Update README.md 2020-09-16 22:44:58 +08: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
spring-bom
spring-boot-modules Merge pull request #10124 from hmdrzsharifi/master 2020-11-13 13:17:11 -05:00
spring-boot-rest
spring-caching JAVA-2421: Merge spring-ehcache module into spring-caching module (#10072) 2020-09-23 23:34:51 +05:30
spring-cloud JAVA-3498 rename test to exclude it from build temporarily 2020-11-07 11:57:38 +02:00
spring-cloud-bus
spring-cloud-cli
spring-cloud-data-flow JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
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 BAEL-4658: Upgrade to Cucumber 6.8.0 (#10121) 2020-10-02 19:26:00 +02:00
spring-data-rest moved spring-rest-hal-browser to spring-data-rest module (#10019) 2020-09-14 21:53:09 +05:30
spring-data-rest-querydsl
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 Java-2136 Update Jackson version in main pom 2020-09-14 12:21:57 +02:00
spring-drools [JAVA-2427] Migrated spring-drools to parent-spring-5 (#9964) 2020-09-07 21:32:25 +05:30
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-integration used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-jenkins-pipeline JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
spring-jersey JAVA-2136 Fix integration test in spring-jersey module 2020-10-13 18:46:25 +02:00
spring-jinq
spring-jms
spring-jooq update h2 in jooq project 2020-10-21 11:05:24 +03:00
spring-kafka BAEL-4609 - Testing Kafka and Spring Boot (#10249) 2020-11-13 10:31:59 -08: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
spring-mvc-basics JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
spring-mvc-basics-2 update basename for messagesource 2020-10-20 11:16:17 +03:00
spring-mvc-basics-3 Update MaxSizeConstraintValidator.java 2020-10-16 19:14:29 +03:00
spring-mvc-basics-4 BAEL-4327 update README (#10084) 2020-09-23 21:50:39 -05:00
spring-mvc-crash
spring-mvc-forms-jsp
spring-mvc-forms-thymeleaf
spring-mvc-java JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
spring-mvc-java-2 BAEL-3997 (#10102) 2020-09-28 20:32:37 -07:00
spring-mvc-kotlin
spring-mvc-velocity
spring-mvc-views
spring-mvc-webflow
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
spring-reactor Update README.md 2020-03-24 15:05:36 +08:00
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-http Update README.md 2020-09-16 23:44:29 +08:00
spring-rest-http-2 Update README.md 2020-09-16 22:46:47 +08: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 Merge pull request #10153 from amit2103/JAVA-2423-2 2020-11-15 14:57:46 +05:30
spring-roo used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-scheduling added advanced Spring Retry example and removed Spring Retry xml config 2020-09-14 08:16:56 +08:00
spring-security-modules Update README.md 2020-11-17 15:40:24 +08:00
spring-session JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
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 Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
spring-threads
spring-thymeleaf JAVA-2411: Update spring-thymeleaf module and articles 2020-09-12 17:54:33 +05:30
spring-thymeleaf-2 JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985) 2020-09-11 18:19:02 +05:30
spring-thymeleaf-3 Update README.md 2020-09-16 23:34:14 +08: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 Java-2602 Check spring-websockets PR (#10002) 2020-09-10 22:56:04 +05:30
static-analysis
stripe
structurizr
struts-2 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
tensorflow-java
terraform
testing-modules Merge pull request #10109 from danieltaylor/patch-1 2020-10-16 19:15:49 +03:00
twilio
twitter4j
undertow
vaadin used properties defined in parent pom 2020-07-12 00:06:27 +05:30
vavr Add Vavr.Tuple example 2020-10-03 16:25:03 +02:00
vavr-2
vertx
vertx-and-rxjava
video-tutorials
vraptor [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
webrtc
wicket
wildfly pom formatting 2020-03-15 18:22:24 +05:30
xml pom formatting 2020-03-15 18:22:24 +05:30
xstream
.gitignore [JAVA-2306] Added .sdkmanrc to .gitignore 2020-09-02 20:22:44 +02:00
LICENSE Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
README.md Update README.md 2020-10-31 12:07:35 +02:00
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
pom.xml JAVA-2423 Move/rename module spring-rest-compress 2020-11-15 15:00:16 +05:30

README.md

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