Go to file
Yavuz Tas e5c3f48f86 BAEL-3682 specify accept header to fix ambiguity of message converters in case XML converter added 2021-05-10 02:01:25 +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 Update README.md 2020-04-07 17:52:32 +08:00
algorithms-miscellaneous-4 Update README.md 2020-10-28 16:30:31 +08:00
algorithms-miscellaneous-5 fix the initial maxSum and add test 2021-03-14 22:50:20 +01: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 JAVA-615 Split or move algorithms-sorting module 2020-04-15 23:04:39 +02:00
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 Delete README.md 2020-04-07 17:48:34 +08:00
apache-poi Update README.md 2021-03-03 20:55:30 +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
asciidoctor
asm
atomikos JAVA-3710: Replace hibernate-entitymanager dependency with hibernate-core 2020-12-24 13:07:07 +01:00
atomix
aws
aws-app-sync used properties defined in parent pom 2020-07-12 00:06:27 +05:30
aws-lambda JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
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 JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
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-groovy-strings Create README.md 2020-09-24 02:53:02 +08:00
core-java-modules Merge pull request #10551 from SmartyAnsh/BAEL-4790_Collection_vs_Stream 2021-03-25 20:30:30 -05:00
couchbase
custom-pmd
dagger
data-structures BAEL-4864: Fix traverseInOrderWithoutRecursion method (#10588) 2021-03-24 22:09:02 +01: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 Update README.md 2021-02-24 22:44:48 +08:00
dozer
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
grpc
gson
guava-modules JAVA-2154: Added guava dependency to module pom directly (#9789) 2020-07-30 08:23:43 +05:30
guest Update README.md 2021-02-10 02:41:03 +08:00
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 Update README.md 2020-12-09 18:23:53 +08:00
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 JAVA-4215 Fix issue in "Jackson Bidirectional Rels" article 2021-02-28 22:50:54 +01: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-09-24 02:39:41 +08:00
java-collections-maps-3 Update README.md 2021-03-03 20:41:37 +08:00
java-ee-8-security-api
java-jdi
java-lite
java-native fix string comparison 2020-12-03 14:18:15 +02: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 JAVA-3586: Use commons-lang3.version property 2021-01-04 12:50:24 +01:00
java-numbers-4 Update README.md 2021-01-20 22:42:24 +08:00
java-rmi JAVA-4240: Fix catch block 2021-03-11 20:58:45 +01:00
java-spi
java-vavr-stream
java-websocket
javafx fix colour names 2020-10-24 17:38:58 +03:00
javax-servlets JAVA-3588: Use common commons-fileupload.version property in all child modules 2021-01-08 20:01:27 +01:00
javaxval
jaxb
jee-7 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
jee-7-security
jenkins
jersey
jgit Java-1457 Reduce logging - Modules jgit, libraries-testing (#9884) 2020-08-18 17:16:29 +05:30
jgroups
jhipster JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
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 Update README.md 2021-03-17 23:08:46 +08:00
jmeter Update README.md 2021-03-03 20:39:32 +08:00
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 JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01: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
kubernetes Update README.md 2021-03-25 00:52:01 +08: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-4656: Get available port number for the test (#10096) 2020-09-28 16:29:44 +02:00
libraries-6 JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
libraries-apache-commons JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
libraries-data JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
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 BAEL-2674 - Upgrade the Okhttp article (#10462) 2021-02-01 08:44:05 -08:00
libraries-http-2 Update README.md 2021-03-10 21:19:07 +08:00
libraries-io
libraries-primitive JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
libraries-rpc Create README.md 2020-05-30 14:01:14 +08:00
libraries-security JAVA-3570: Fix spring-security-oauth2 version in libraries-security 2020-12-11 12:16:24 +01: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 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
mapstruct BAEL-4641: Use MapStruct 1.3.1.Final (#10088) 2020-09-25 13:17:43 +02:00
maven-archetype
maven-modules Create README.md 2021-03-10 22:55:00 +08:00
maven-polyglot
mesos-marathon JAVA-921: Migrate mesos-marathon to parent-boot-2 2020-04-22 15:42:16 +05:30
metrics Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
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 Update README.md 2020-10-28 10:34:26 +08: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-4241: Upgrade Spring Boot to 2.4.3 (#10569) 2021-03-19 22:37:39 +05:30
parent-java JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
parent-spring-4 update spring 4 version to latest 2020-05-03 16:03:06 +05:30
parent-spring-5 JAVA-4802: Upgrade parent-spring-5 to the latest version of Spring 5 2021-03-11 16:53:44 +05:30
patterns JAVA-4669: Code cleanup for UsingOptional 2021-03-20 20:43:49 +01:00
pdf JAVA-2106: Move Java Convert PDF to Base64 to the pdf module 2020-07-09 18:44:46 +02:00
performance-tests Update README.md 2021-01-28 01:23:32 +08:00
persistence-modules BAEL-4852: Add IN example (#10568) 2021-03-21 18:40:31 +01:00
play-framework
pmd
podman
protobuffer
quarkus JAVA-3586: Use commons-lang3.version property 2021-01-04 12:50:24 +01: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 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
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 Update README.md 2021-02-10 02:19:55 +08:00
spring-5-data-reactive remove remaining kotlin code 2020-11-25 11:52:43 +02:00
spring-5-reactive change just to stick to original variable declaration approach 2021-02-12 20:17:12 -03:00
spring-5-reactive-2 Update README.md 2020-10-28 16:35:26 +08:00
spring-5-reactive-client JAVA-4241: Upgrade Spring Boot to 2.4.3 (#10569) 2021-03-19 22:37:39 +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-webflux JAVA-3570: Keep spring-5-webflux on Spring Boot 2.3.3 2020-12-11 13:38:50 +01: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 2021-02-04 00:07:17 +08:00
spring-apache-camel Update README.md 2020-12-23 22:32:01 +08:00
spring-batch JAVA-3570: Update to Spring Batch 4.3 and update config accordingly in spring-batch 2020-12-20 18:25:50 +01:00
spring-batch-2 JAVA-4217: Update batch dependencies 2021-01-07 23:14:19 +01:00
spring-bom
spring-boot-modules Update README.md 2021-03-25 00:49:53 +08:00
spring-boot-rest BAEL-3682 specify accept header to fix ambiguity of message converters in case XML converter added 2021-05-10 02:01:25 +02:00
spring-boot-rest-2 Create README.md 2021-03-17 23:10:53 +08:00
spring-caching JAVA-4241: Upgrade Spring Boot to 2.4.3 (#10569) 2021-03-19 22:37:39 +05:30
spring-cloud JAVA-4863 Update Spring cloud version 2021-03-15 23:28:11 +01:00
spring-cloud-bus JAVA-3570: Keep spring-cloud-bus on Spring Boot 2.3.3 [cloud] 2020-12-16 20:54:29 +01:00
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-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
spring-core-2 JAVA-3570: Upgrade Spring framework to version compatible with Spring Boot 2.4 in spring-core-2 2020-12-16 21:14:09 +01:00
spring-core-3 Added a new module (spring-core-5) for the code examples of BAEL-4764. (#10484) 2021-02-13 12:29:50 -08:00
spring-core-4 Added a new module (spring-core-5) for the code examples of BAEL-4764. (#10484) 2021-02-13 12:29:50 -08:00
spring-core-5 Update README.md 2021-02-18 04:38:05 +08:00
spring-cucumber BAEL-4658: Upgrade to Cucumber 6.8.0 (#10121) 2020-10-02 19:26:00 +02:00
spring-data-rest JAVA-4294: Upgrade spring-data-rest module 2021-02-21 17:11:10 +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-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
spring-di-2 Update README.md 2020-07-21 21:14:45 +08: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 JAVA-3710: Replace hibernate-entitymanager dependency with hibernate-core 2020-12-24 13:07:07 +01:00
spring-jms
spring-kafka Merge pull request #10262 from johnA1331/master 2020-11-19 20:58:30 +02:00
spring-katharsis JAVA-33: Moved spring-katharsis to boot-2 2020-08-30 16:51:48 +05:30
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-protobuf
spring-quartz
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-roo used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-scheduling BAEL-4322 add sample codes for dynamic delay setting (#10531) 2021-03-15 21:19:20 -05:00
spring-security-modules JAVA-3594: Upgrade esapi dependency in the main pom.xml (#10572) 2021-03-19 22:39:41 +05:30
spring-shell
spring-sleuth
spring-soap ingore files generated after build 2020-08-02 00:55:58 +05:30
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-vault used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-vertx
spring-web-modules Merge pull request #10475 from michaelzangl/patch-1 2021-03-15 11:19:32 +02:00
spring-webflux-amqp
spring-webflux-threads Create README.md 2020-08-20 18:40:15 +08:00
spring-websockets Update README.md 2020-12-23 22:27:26 +08:00
static-analysis
stripe Update README.md 2021-02-11 18:20:25 +08:00
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-4836 - Mocking Static Methods with Mockito (#10580) 2021-03-23 08:09:39 -07: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 Add Vavr.Tuple example 2020-10-03 16:25:03 +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 fix channel type, callback 2021-01-16 16:27:02 +02:00
wicket
wildfly
xml characters(...) fills StringBuilder instead of String 2021-02-18 10:39:41 +01:00
xstream
.gitignore [JAVA-2306] Added .sdkmanrc to .gitignore 2020-09-02 20:22:44 +02:00
LICENSE
README.md Update README.md 2020-10-31 12:07:35 +02:00
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml JAVA-3594: Upgrade esapi dependency in the main pom.xml (#10572) 2021-03-19 22:39:41 +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