Go to file
kwoyke 8693c82fc5 Merge pull request #11584 from hkhan/JAVA-8679-fix-module-test
[JAVA-8679] Fix test for JDK 17
2021-12-16 10:14:16 +01:00
akka-http
akka-streams JAVA-5223: Fix formatting of POMs 2021-05-06 17:14:43 +05:30
algorithms-genetic [JAVA-8698] Fix bug in algorithm 2021-12-11 20:32:07 +00:00
algorithms-miscellaneous-1 JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
algorithms-miscellaneous-2
algorithms-miscellaneous-3
algorithms-miscellaneous-4
algorithms-miscellaneous-5 JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
algorithms-miscellaneous-6
algorithms-searching Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
algorithms-sorting
algorithms-sorting-2
animal-sniffer-mvn-plugin
annotations
antlr JAVA-5223: Fix formatting of POMs 2021-05-06 17:14:43 +05:30
apache-cxf
apache-kafka
apache-libraries
apache-olingo
apache-poi Update README.md 2021-12-08 23:50:58 +08:00
apache-poi-2
apache-rocketmq
apache-shiro
apache-spark
apache-tapestry
apache-thrift JAVA-7133: POM Properties Cleanup (#11229) 2021-09-16 22:34:26 +05:30
apache-tika
apache-velocity
asciidoctor
asm
atomikos
atomix
aws
aws-app-sync
aws-lambda
aws-reactive JAVA-7178: Fix formatting of POMs (#11236) 2021-09-20 00:04:26 +05:30
axon Update README.md 2021-09-29 23:32:13 +08:00
azure JAVA-5223: Fix formatting of POMs 2021-05-06 17:14:43 +05:30
bazel JAVA-5223: Fix formatting of POMs (Part 2) 2021-05-06 18:01:55 +05:30
blade
bootique JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
cas
cdi
checker-plugin
clojure/ring
cloud-foundry-uaa
code-generation
core-groovy
core-groovy-2 Java 3590 (#11367) (#11380) 2021-10-29 09:37:04 +05:30
core-groovy-collections
core-groovy-strings Java 3590 (#11367) (#11380) 2021-10-29 09:37:04 +05:30
core-java-modules [JAVA-8679] Fix test for JDK 17 2021-12-15 17:54:29 +00:00
couchbase JAVA-5223: Fix formatting of POMs (Part 6) 2021-05-08 13:09:05 +05:30
custom-pmd
dagger
data-structures Update README.md 2021-07-29 03:38:54 +08:00
ddd JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
ddd-modules
deeplearning4j JAVA-7133: POM Properties Cleanup (#11229) 2021-09-16 22:34:26 +05:30
discord4j JAVA-5223: Fix formatting of POMs (Part 6) 2021-05-08 13:09:05 +05:30
disruptor
docker
dozer
drools
dropwizard
dubbo
eclipse
ethereum
feign
flyway-cdi-extension JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
geotools
google-cloud
google-web-toolkit JAVA-1672: removing redundant junit declarations 2021-11-05 14:31:19 +05:30
gradle
gradle-5
gradle-6 Create README.md 2020-03-18 13:24:46 +08:00
grails
graphql/graphql-java
grpc
gson
guava-modules
guest
guice
hazelcast
helidon
httpclient JAVA-5223: Fix formatting of POMs (Part 6) 2021-05-08 13:09:05 +05:30
httpclient-2
httpclient-simple JAVA-5223: Fix formatting of POMs (Part 6) 2021-05-08 13:09:05 +05:30
hystrix JAVA-5223: Fix formatting of POMs (Part 6) 2021-05-08 13:09:05 +05:30
image-processing JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
immutables
intelliJ
jackson-modules Update README.md 2021-12-01 16:18:13 +08:00
jackson-simple
java-blockchain JAVA-5223: Fix formatting of POMs (Part 7) 2021-05-08 13:11:36 +05:30
java-collections-conversions
java-collections-conversions-2
java-collections-maps-3
java-ee-8-security-api
java-jdi
java-lite JAVA-7178: Fix formatting of POMs (#11236) 2021-09-20 00:04:26 +05:30
java-native
java-numbers
java-numbers-2
java-numbers-3
java-numbers-4 JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
java-rmi
java-spi JAVA-5223: Fix formatting of POMs (Part 7) 2021-05-08 13:11:36 +05:30
java-vavr-stream
java-websocket JAVA-5223: Fix formatting of POMs (Part 7) 2021-05-08 13:11:36 +05:30
javafx
javax-servlets
javaxval
jaxb
jee-7
jee-7-security
jenkins JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
jersey
jgit JAVA-5223: Fix formatting of POMs (Part 8) 2021-05-09 16:26:44 +05:30
jgroups
jhipster
jhipster-5
jib
jjwt
jmeter Update README.md 2021-09-24 13:43:30 +08:00
jmh
jooby
jsf
json
json-2
json-path
jsoup
jta
jws
kaniko
ksqldb JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
kubernetes
lagom
language-interop JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
libraries
libraries-2 JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
libraries-3
libraries-4
libraries-5 JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
libraries-6
libraries-apache-commons
libraries-apache-commons-collections JAVA-8709: Extract commons-collections4.version property to the main pom.xml 2021-11-26 13:17:01 +01:00
libraries-apache-commons-io JAVA-5223: Fix formatting of POMs (Part 8) 2021-05-09 16:26:44 +05:30
libraries-concurrency
libraries-data JAVA-1672: removing redundant junit declarations 2021-11-05 14:31:19 +05:30
libraries-data-2
libraries-data-db
libraries-data-io
libraries-http JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
libraries-http-2 BAEL-4858 add link back to article (#11309) 2021-10-09 16:37:35 -05:00
libraries-io
libraries-primitive Java 3590 (#11367) (#11380) 2021-10-29 09:37:04 +05:30
libraries-rpc
libraries-security Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
libraries-server JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
libraries-server-2 JAVA-5223: Fix formatting of POMs (Part 8) 2021-05-09 16:26:44 +05:30
libraries-testing Merge pull request #11506 from eugenp/JAVA-3592 2021-11-25 13:31:47 +01:00
linkrest
linux-bash
logging-modules
lombok BAEL-5138: Implementation code for Lombok @With Methods (#11494) 2021-12-14 07:34:51 +05:30
lombok-custom
lucene
mapstruct JAVA-8436: Remove AssertJ depenendency from the child modules - part 2 2021-11-18 12:23:39 +01:00
maven-archetype JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
maven-modules Merge pull request #11434 from freelansam/JAVA-8204 2021-11-13 10:55:30 +01:00
maven-polyglot
mesos-marathon Update README.md 2021-09-24 13:46:29 +08:00
metrics
micronaut
microprofile JAVA-5223: Fix formatting of POMs (Part 10) 2021-05-09 20:09:43 +05:30
msf4j
muleesb
mustache
mybatis
netflix-modules Update README.md 2021-09-24 13:23:31 +08:00
netty
ninja
oauth2-framework-impl JAVA-7178: Fix formatting of POMs (#11236) 2021-09-20 00:04:26 +05:30
open-liberty
optaplanner
orika JAVA-5223: Fix formatting of POMs (Part 10) 2021-05-09 20:09:43 +05:30
osgi
parent-boot-1
parent-boot-2
parent-java JAVA-8667: Remove hamcrest dependency declarations from the child modules 2021-11-24 13:20:20 +01:00
parent-spring-4
parent-spring-5
patterns
pdf Update README.md 2021-09-22 22:43:18 +08:00
performance-tests JAVA-5223: Fix formatting of POMs (Part 10) 2021-05-09 20:09:43 +05:30
persistence-modules Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
play-framework Create README.md 2020-03-18 12:32:33 +08:00
pmd Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
podman Update README.md 2021-09-24 12:56:21 +08:00
protobuffer
quarkus JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
quarkus-extension
quarkus-jandex
quarkus-vs-springboot
rabbitmq
raml JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
ratpack
reactive-systems
reactor-core Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
resteasy JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-10 20:08:47 +05:30
restx
rsocket JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-10 20:08:47 +05:30
rule-engines
rxjava-core JAVA-8436: Remove AssertJ depenendency from the child modules - part 2 2021-11-18 12:23:39 +01:00
rxjava-libraries
rxjava-observables
rxjava-operators
saas
slack
software-security/sql-injection-samples
spark-java JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
spf4j JAVA-8620: Fix references to parents 2021-11-26 19:28:29 +05:30
spring-4
spring-5
spring-5-data-reactive
spring-5-reactive
spring-5-reactive-2
spring-5-reactive-client
spring-5-reactive-oauth JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-reactive-security
spring-5-webflux
spring-5-webflux-2
spring-activiti
spring-akka JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-amqp
spring-aop
spring-apache-camel JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-batch
spring-batch-2
spring-bom JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-boot-modules Merge pull request #11583 from freelansam/JAVA-8373 2021-12-16 09:47:12 +01:00
spring-boot-rest
spring-boot-rest-2
spring-caching Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
spring-caching-2
spring-cloud
spring-cloud-bus
spring-cloud-cli
spring-cloud-data-flow
spring-core
spring-core-2
spring-core-3 JAVA-1668: updating parent-spring-5's junit and surefire configurations 2021-11-03 16:11:27 +05:30
spring-core-4
spring-core-5
spring-cucumber JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-data-rest JAVA-5875: Upgrade Spring Boot to 2.5.1 (#10956) 2021-06-26 01:20:37 +05:30
spring-data-rest-querydsl
spring-di
spring-di-2 JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
spring-drools
spring-ejb
spring-exceptions
spring-freemarker JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-integration JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-jenkins-pipeline
spring-jersey
spring-jinq JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-jms
spring-kafka [BAEL-5223] Add code for Spring Boot Streams article (#11568) 2021-12-10 22:58:11 -06:00
spring-katharsis JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-mobile
spring-mockito JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-native JAVA-6474/JAVA-6324: Align module names, folder names and artifact id (#11071) 2021-07-28 20:10:03 +05:30
spring-protobuf JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-quartz
spring-reactor
spring-remoting JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-roo
spring-scheduling
spring-security-modules
spring-shell JAVA-5223: Fix formatting of POMs (Other Spring Modules) 2021-05-17 20:23:08 +05:30
spring-sleuth JAVA-5223: Fix formatting of POMs (Other Spring Modules) 2021-05-17 20:23:08 +05:30
spring-soap
spring-spel
spring-state-machine JAVA-5223: Fix formatting of POMs (Other Spring Modules) 2021-05-17 20:23:08 +05:30
spring-static-resources
spring-swagger-codegen
spring-threads
spring-vault JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
spring-vertx
spring-web-modules [JAVA-8295] Split spring-mvc-xml module 2021-12-13 21:48:11 +00:00
spring-webflux-amqp
spring-webflux-threads JAVA-7783: POM properties cleanup 2021-11-16 15:10:49 +01:00
spring-websockets
static-analysis
stripe
structurizr
struts-2
tensorflow-java
terraform
testing-modules
twilio JAVA-5223: Fix formatting of POMs (Others) 2021-05-17 20:21:04 +05:30
twitter4j JAVA-5223: Fix formatting of POMs (Others) 2021-05-17 20:21:04 +05:30
undertow
vaadin
vavr
vavr-2 JAVA-5223: Fix formatting of POMs (Others) 2021-05-17 20:21:04 +05:30
vertx
vertx-and-rxjava JAVA-7133: POM Properties Cleanup (#11229) 2021-09-16 22:34:26 +05:30
video-tutorials JAVA-8709: Extract commons-collections4.version property to the main pom.xml 2021-11-26 13:17:01 +01:00
vraptor
webrtc JAVA-5223: Fix formatting of POMs (Others) 2021-05-17 20:21:04 +05:30
wicket
wildfly JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
xml
xstream JAVA-7578: Fix xstream tests 2021-10-18 13:30:21 +02:00
.gitignore
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
logback-config.xml
pom.xml

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 addition to Spring, the modules here cover a number of aspects of 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 lists: first, second and heavy.

Next, they are segregated further on the basis of the 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