Go to file
azhwani 126233cf6c Add ApplicationProps POJO 2020-07-04 11:57:59 +01:00
akka-http
akka-streams
algorithms-genetic
algorithms-miscellaneous-1
algorithms-miscellaneous-2 Moved the 2048 game into algorithms-miscellaneous-6 2020-06-21 10:12:10 +01:00
algorithms-miscellaneous-3
algorithms-miscellaneous-4
algorithms-miscellaneous-5
algorithms-miscellaneous-6 Moved the 2048 game into algorithms-miscellaneous-6 2020-06-21 10:12:10 +01:00
algorithms-searching
algorithms-sorting
algorithms-sorting-2 Rename array variable name in DNF Partition method 2020-06-11 23:04:16 +05:30
animal-sniffer-mvn-plugin
annotations
antlr
apache-cxf Update README.md 2020-05-16 02:58:46 +08:00
apache-libraries JAVA-1848: Updated README for new module 2020-06-20 22:45:20 +05:30
apache-olingo
apache-poi
apache-rocketmq
apache-shiro
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-velocity
asciidoctor
asm
atomikos extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
atomix
aws
aws-app-sync used standard project parent instead of using spring boot parent 2020-06-28 23:13:49 +05:30
aws-lambda
aws-reactive BAEL-2322: PR fix 2020-06-21 20:49:45 -03:00
axon
azure
bazel
blade
bootique
cas JAVA-1653: Remove spring-boot.version property 2020-05-10 22:31:27 +02:00
cdi
checker-plugin
clojure/ring
cloud-foundry-uaa
code-generation
core-groovy [BAEL-2665] Groovy Scopes (#9343) 2020-06-25 08:51:15 +01:00
core-groovy-2 JAVA-1766 Update core-groovy-2 module 2020-06-28 20:46:29 +02:00
core-groovy-collections
core-java-modules BAEL-4163 - Counting matches for a regex (#9466) 2020-07-04 10:29:58 +01:00
core-kotlin-modules Merge pull request #9546 from alimate/BAEL-4309 2020-06-26 19:31:56 -05:00
core-scala
couchbase
custom-pmd
dagger
data-structures review comments 2020-06-21 03:06:32 +05:30
ddd [JAVA-1659] Upgraded Maven Surefire Plugin and JUnit versions 2020-06-01 11:03:52 +02:00
ddd-modules [JAVA-1659] Upgraded Maven Surefire Plugin and JUnit versions 2020-06-01 11:30:17 +02:00
deeplearning4j
disruptor
docker
dozer
drools Update README.MD 2020-06-09 21:19:17 +08: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-4090: Cleaned up sources 2020-06-21 19:24:56 +03:00
gradle-6
grails
graphql/graphql-java
grpc
gson
guava [JAVA-1660] Upgrade JUnit and Maven Surefire Plugin in guava modules (#9477) 2020-06-13 14:41:35 +05:30
guava-collections Update README.md 2020-06-27 12:57:09 +03:00
guava-collections-map [JAVA-1660] Upgrade JUnit and Maven Surefire Plugin in guava modules (#9477) 2020-06-13 14:41:35 +05:30
guava-collections-set [JAVA-1660] Upgrade JUnit and Maven Surefire Plugin in guava modules (#9477) 2020-06-13 14:41:35 +05:30
guava-io [JAVA-1660] Upgrade JUnit and Maven Surefire Plugin in guava modules (#9477) 2020-06-13 14:41:35 +05:30
guava-modules [JAVA-1660] Upgrade JUnit and Maven Surefire Plugin in guava modules (#9477) 2020-06-13 14:41:35 +05:30
guest
guice
hazelcast
helidon
httpclient
httpclient-simple
hystrix
image-processing extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
immutables
intelliJ JAVA-1778: Fix indention size & annotation wrapping issues 2020-06-24 14:17:36 +02:00
jackson-modules Merge pull request #9535 from amit2103/JAVA-1830 2020-06-25 19:39:28 -06:00
jackson-simple [JAVA-1661] Upgraded JUnit and Maven Surefire Plugin of jackson-simple module 2020-06-15 08:16:03 +02:00
java-blockchain
java-collections-conversions updated java comment 2020-05-16 15:24:23 +05:30
java-collections-conversions-2 Update README.md 2020-05-12 15:51:53 +08:00
java-collections-maps-3
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 BAEL-4142 (#9622) 2020-06-30 13:11:39 -07:00
java-rmi
java-spi
java-vavr-stream
java-websocket
javafx
javax-servlets
javaxval
jaxb
jee-7 BAEL-3265: Properly set non-default port for the managed WildFly (#9630) 2020-07-03 07:03:45 +02:00
jee-7-security
jee-kotlin BAEL-3448: Change default http port (#9380) 2020-05-27 22:16:44 +02:00
jenkins
jersey
jgit
jgroups
jhipster BAEL-4171: Add SecurityAdviceTrait to the ExceptionTranslator (#9418) 2020-06-02 21:04:09 +02:00
jhipster-5 JAVA-1782: Add byte-buddy explicitly to avoid versions confilict 2020-06-07 18:17:05 +02:00
jib
jjwt
jmeter
jmh On the next line 2020-05-30 09:23:53 +04:30
jni
jooby
jsf
json
json-2 extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
json-path
jsoup Deleted JsoupProxyIntegrationTest.java (#9294) 2020-05-15 16:32:16 +01:00
jta
jws
kaniko Create README.md 2020-05-12 15:29:06 +08:00
kotlin-js
kotlin-libraries extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
kotlin-libraries-2 JAVA-101 Split Core Kotlin 2020-06-08 00:22:04 +02:00
kotlin-quasar extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
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
libraries-3 extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
libraries-4 extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
libraries-5
libraries-6 BAEL3889 - Kafka Mock Producer 2020-05-31 18:39:20 +05:30
libraries-apache-commons
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
libraries-data
libraries-data-2 Merge pull request #9472 from psevestre/master 2020-06-26 13:28:16 +02:00
libraries-data-db Dependency Upgrade for HikariCP 2020-05-28 20:00:23 +04:30
libraries-data-io
libraries-http
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
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 Fixing the Concurrency Issue 2020-07-03 01:54:45 +04:30
linkrest
linux-bash
logging-modules BAEL-4217: Added Thread Pool Aware MDC (#9554) 2020-07-02 19:13:50 +01:00
lombok
lombok-custom
lucene
machine-learning
mapstruct [BAEL-4093] Mapping Collections with MapStruct (#9597) 2020-06-29 14:12:40 -07: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 JAVA-49: maven-all restructuring 2020-06-28 16:20:50 +05:30
maven-polyglot
mesos-marathon
metrics
micronaut extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
microprofile
msf4j
muleesb Update repository links to use https 2020-06-21 00:50:55 +05:30
mustache
mybatis
netflix-modules Update README.md 2020-06-24 14:12:51 +08:00
netty Update README.md 2020-06-18 15:02:01 +08:00
ninja
oauth2-framework-impl
open-liberty
optaplanner
orika
osgi
parent-boot-1
parent-boot-2 extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
parent-java BAEL-3977: Upgrade Guava modules/articles to newest Guava version (#9587) 2020-06-26 14:25:48 -07:00
parent-kotlin Update repository links to use https 2020-06-21 00:50:55 +05:30
parent-spring-4
parent-spring-5 extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
patterns BAEL-4007 Interface Segregation Principle (#9579) 2020-07-02 07:04:41 +02:00
pdf extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
performance-tests
persistence-modules used standard project parent instead of using spring boot parent 2020-06-28 23:13:49 +05:30
play-framework
pmd
podman
protobuffer
quarkus
quarkus-extension updated the child pom as quarkus-extension/quarkus-liquibase pom artifactId is changed 2020-06-07 21:28:59 +05:30
rabbitmq
raml
ratpack
reactor-core
resteasy
restx
rsocket
rule-engines
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators
saas
slack
software-security/sql-injection-samples
spark-java
spf4j
spring-4
spring-5
spring-5-data-reactive
spring-5-mvc extact dependency version into properties 2020-06-21 08:54:58 +05:30
spring-5-reactive
spring-5-reactive-2
spring-5-reactive-client extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
spring-5-reactive-oauth
spring-5-reactive-security Added Custom Health Groups 2020-06-24 21:07:15 +04:30
spring-5-security BAEL-4282: Create PasswordEncoderConfiguration to fix the circular dependency issues (#9521) 2020-06-19 15:02:53 +02:00
spring-5-security-cognito
spring-5-security-oauth
spring-5-webflux
spring-activiti
spring-akka
spring-all
spring-amqp
spring-aop Code Samples for BAEL-4130 (#9513) 2020-07-03 15:29:56 +01:00
spring-apache-camel
spring-batch
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 Add ApplicationProps POJO 2020-07-04 11:57:59 +01: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 Update README.md 2020-06-18 21:46:28 -06:00
spring-cloud Merge pull request #9602 from amit2103/JAVA-1832 2020-06-29 08:42:51 -06:00
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 Merge pull request #9480 from sampada07/JAVA-913 2020-06-13 18:28:21 +05:30
spring-core
spring-core-2 updated readme file 2020-05-09 14:43:40 +05:30
spring-core-3
spring-core-4 Merge pull request #9535 from amit2103/JAVA-1830 2020-06-25 19:39:28 -06:00
spring-cucumber
spring-data-rest
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 BAEL-4068 Remove AspectJ DI from module spring-di 2020-06-23 18:07:00 +07:00
spring-di-2 BAEL-4068 Add AspectJ DI to module spring-di-2 2020-06-23 18:06:57 +07:00
spring-dispatcher-servlet extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
spring-drools
spring-ehcache
spring-ejb
spring-exceptions
spring-freemarker
spring-groovy
spring-integration
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 Disabling Forking for this Module 2020-06-15 19:56:49 +04:30
spring-kafka updated spring kafka version 2020-05-16 17:06:29 +05:30
spring-katharsis
spring-ldap
spring-mobile JAVA-943: Migrate spring-mobile to parent-boot-2 2020-05-14 12:13:53 +05:30
spring-mockito
spring-mvc-basics
spring-mvc-basics-2 Merge pull request #9543 from amit2103/JAVA-13-2 2020-06-28 10:58:08 +05:30
spring-mvc-basics-3
spring-mvc-basics-4
spring-mvc-crash
spring-mvc-forms-jsp extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
spring-mvc-forms-thymeleaf
spring-mvc-java Added the Rest Assured Example 2020-06-29 02:45:30 +04:30
spring-mvc-java-2 Merge pull request #9577 from eugenp/BAEL-4088-v2 2020-07-02 11:06:06 +03:00
spring-mvc-kotlin
spring-mvc-velocity
spring-mvc-views moved apache tiles related code in spring-mvc-views module 2020-06-21 22:10:19 +05:30
spring-mvc-webflow extract version into properties tag & moved common properties in parent 2020-06-20 23:32:32 +05:30
spring-mvc-xml
spring-protobuf
spring-quartz
spring-reactive-kotlin
spring-reactor
spring-remoting BAEL-3265: Change port number to 8032 (#9618) 2020-07-01 22:11:33 +02:00
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 Merge pull request #9541 from amit2103/JAVA-1952 2020-06-22 08:22:22 -06:00
spring-rest-query-language
spring-rest-shell
spring-rest-simple
spring-rest-testing
spring-resttemplate Update README.md 2020-06-18 14:40:54 +08:00
spring-resttemplate-2 Update README.md 2020-06-24 14:14:06 +08:00
spring-roo
spring-scheduling
spring-security-modules Update README.md 2020-06-26 17:49:18 +08:00
spring-session JAVA-952: Migrate spring-session to parent-boot-2 2020-05-11 18:54:07 +05:30
spring-shell
spring-sleuth
spring-soap JAVA-1642: Get rid of the overriden spring-boot.version property 2020-06-24 15:42:46 +02:00
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
spring-threads
spring-thymeleaf
spring-thymeleaf-2
spring-thymeleaf-3 Added a Spring controller that serves a Thymeleaf HTML page with all the examples from the article. (#9514) 2020-06-18 20:03:56 -07:00
spring-vault
spring-vertx
spring-webflux-amqp
spring-websockets
static-analysis
stripe
structurizr updated pom repository tag to change the name & id and structurizr version update 2020-06-28 19:20:41 +05:30
struts-2
tensorflow-java
terraform Update README.md 2020-05-12 16:34:14 +08:00
testing-modules BAEL-4024 - Taking Screenshots with Selenium WebDriver (#9620) 2020-06-30 09:06:48 -07:00
twilio
twitter4j pom formatting - make artifact name same as module name 2020-06-07 20:28:16 +05:30
undertow
vaadin Update repository links to use https 2020-06-21 00:50:55 +05:30
vavr
vavr-2
vertx
vertx-and-rxjava
video-tutorials
vraptor
webrtc
wicket
wildfly
xml
xstream
.gitignore Update .gitignore 2020-06-22 12:50:14 +03:00
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml Merge pull request #9598 from sampada07/JAVA-49 2020-07-03 06:43:30 -06: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