Go to file
Daniel Strmecki bce6207f03 BAEL-4876: Add benchmark 2021-05-03 19:43:16 +02:00
akka-http JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
akka-streams
algorithms-genetic JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-1 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-2 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-3 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-4 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-5 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-miscellaneous-6
algorithms-searching
algorithms-sorting JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
algorithms-sorting-2 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
animal-sniffer-mvn-plugin
annotations
antlr
apache-cxf JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
apache-libraries JAVA-4529: Rename some unit tests to integration tests 2021-03-26 10:57:39 +01:00
apache-olingo
apache-poi Update README.md 2021-03-03 20:55:30 +08:00
apache-rocketmq
apache-shiro
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-velocity
asciidoctor
asm
atomikos
atomix
aws
aws-app-sync used properties defined in parent pom 2020-07-12 00:06:27 +05:30
aws-lambda JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
aws-reactive JAVA-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
axon Use new Axon BOM 2021-04-30 14:47:24 +02:00
azure
bazel
blade JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
bootique
cas
cdi
checker-plugin
clojure/ring
cloud-foundry-uaa
code-generation pom formatting 2020-03-15 18:22:24 +05:30
core-groovy
core-groovy-2 JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
core-groovy-collections JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
core-groovy-strings
core-java-modules BAEL-4876: Add benchmark 2021-05-03 19:43:16 +02:00
couchbase
custom-pmd JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
dagger
data-structures JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
ddd JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
ddd-modules JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
deeplearning4j
discord4j Merge branch 'master' into JAVA-3576 2021-04-10 16:21:13 +05:30
disruptor
docker JAVA-3296: Fix references to parents 2021-03-29 13:07:03 +05:30
dozer
drools
dropwizard
dubbo
eclipse
ethereum
feign
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
gradle
gradle-5
gradle-6
grails Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
graphql/graphql-java
grpc
gson
guava-modules JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
guest Update README.md 2021-02-10 02:41:03 +08:00
guice
hazelcast
helidon
httpclient
httpclient-2
httpclient-simple
hystrix
image-processing
immutables
intelliJ
jackson-modules JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
jackson-simple JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
java-blockchain
java-collections-conversions
java-collections-conversions-2
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
java-numbers
java-numbers-2
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 BAEL-4904: Keep the strong reference to the MessengerService (#10602) 2021-03-28 15:26:28 +02:00
java-spi
java-vavr-stream
java-websocket
javafx
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 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
jee-7-security
jenkins
jersey
jgit
jgroups
jhipster JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
jhipster-5 JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
jib
jjwt BAEL-4943: Update README.md (use Spring Boot maven plugin) (#10695) 2021-04-30 15:37:16 +02:00
jmeter Update README.md 2021-03-03 20:39:32 +08:00
jmh JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
jooby
jsf
json
json-2 JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
json-path
jsoup
jta
jws
kaniko
kubernetes Update README.md 2021-04-29 05:21:34 +08:00
lagom
language-interop
libraries JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
libraries-2
libraries-3 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
libraries-4
libraries-5 JAVA-3593: Use byte-buddy version inherited from the main pom.xml 2021-03-29 23:11:42 +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 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02: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 Update README.md 2021-04-29 05:43:40 +08:00
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-3595: Fix libraries-primitive's pom.xml 2021-03-21 23:14:29 +01:00
libraries-rpc
libraries-security
libraries-server
libraries-server-2
libraries-testing
linkrest
linux-bash
logging-modules JAVA-3578: Verify sub-modules - logging-modules 2021-03-30 21:00:58 +02:00
lombok
lombok-custom
lucene
mapstruct
maven-archetype
maven-modules JAVA-3578: Verify sub-modules - maven-modules 2021-03-30 21:05:21 +02:00
maven-polyglot
mesos-marathon
metrics
micronaut JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
microprofile
msf4j
muleesb
mustache
mybatis
netflix-modules JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
netty
ninja formatted pom.xml file 2020-03-22 07:24:38 +05:30
oauth2-framework-impl
open-liberty
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-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
parent-spring-4
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-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
pdf
performance-tests JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
persistence-modules Update README.md 2021-04-14 23:45:18 +08:00
play-framework
pmd
podman
protobuffer
quarkus JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
quarkus-extension JAVA-4770 Fix Invalid Dependency in the quarkus-app Module 2021-03-30 09:42:54 +02:00
rabbitmq
raml
ratpack BAEL-21545 POM Properties Cleanup 2020-01-28 10:31:43 +05:30
reactive-systems JAVA-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
reactor-core
resteasy
restx
rsocket
rule-engines
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators
saas JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
slack JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
software-security/sql-injection-samples
spark-java
spf4j
spring-4
spring-5 Delete README.md 2021-04-08 00:22:17 +05:30
spring-5-data-reactive
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 2021-04-07 16:36:09 +08:00
spring-5-reactive-client BAEL-4839 Set a timeout in Spring 5 WebFlux WebClient 2021-04-15 14:17:26 +02:00
spring-5-reactive-oauth
spring-5-reactive-security
spring-5-webflux Merge pull request #10715 from johnA1331/master 2021-04-29 12:22:23 +03:00
spring-activiti
spring-akka
spring-amqp
spring-aop Update README.md 2021-04-29 05:33:57 +08:00
spring-apache-camel
spring-batch
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-04-29 05:46:32 +08:00
spring-boot-rest JAVA-4611: Update deprecations in spring-boot-rest module 2021-02-23 22:36:42 +05:30
spring-boot-rest-2 Create README.md 2021-03-17 23:10:53 +08:00
spring-caching JAVA-3593: Use byte-buddy version inherited from the main pom.xml 2021-03-29 23:11:42 +02:00
spring-cloud Create README.md 2021-04-14 23:42:50 +08:00
spring-cloud-bus JAVA-4866 Update spring-cloud-bus module 2021-03-26 11:29:11 +01:00
spring-cloud-cli
spring-cloud-data-flow
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-3030: Update "Spring Profiles" article 2021-04-22 17:02:07 +05:30
spring-core-3 JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
spring-core-4 JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
spring-core-5 Update README.md 2021-04-21 23:42:05 +08:00
spring-cucumber
spring-data-rest JAVA-4294: Upgrade spring-data-rest module 2021-02-21 17:11:10 +05:30
spring-data-rest-querydsl
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
spring-drools
spring-ejb JAVA-3593: Use byte-buddy version inherited from the main pom.xml 2021-03-29 23:11:42 +02:00
spring-exceptions
spring-freemarker
spring-integration JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
spring-jenkins-pipeline
spring-jersey
spring-jinq
spring-jms
spring-kafka
spring-katharsis
spring-mobile
spring-mockito
spring-protobuf
spring-quartz
spring-reactor
spring-remoting
spring-roo
spring-scheduling BAEL-4322 add sample codes for dynamic delay setting (#10531) 2021-03-15 21:19:20 -05:00
spring-security-modules JAVA-4997: Fix junit version used 2021-04-28 20:50:30 +02:00
spring-shell
spring-sleuth
spring-soap
spring-spel
spring-state-machine
spring-static-resources
spring-swagger-codegen
spring-threads
spring-vault used properties defined in parent pom 2020-07-12 00:06:27 +05:30
spring-vertx
spring-web-modules Update README.md 2021-04-29 05:24:28 +08:00
spring-webflux-amqp
spring-webflux-threads
spring-websockets
static-analysis
stripe Update README.md 2021-02-11 18:20:25 +08:00
structurizr
struts-2
tensorflow-java
terraform
testing-modules Create README.md 2021-04-29 05:36:53 +08:00
twilio
twitter4j
undertow
vaadin
vavr
vavr-2
vertx
vertx-and-rxjava
video-tutorials
vraptor [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
webrtc JAVA-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
wicket
wildfly JAVA-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
xml JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
xstream
.gitignore
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml JAVA-3596: Upgrade exec-maven-plugin to 3.0.0 in the main pom.xml 2021-04-02 15:21:04 +02:00

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