Go to file
Marcin Krykowski f05224a5a7 Correct tests 2020-05-25 09:10:55 +01:00
akka-http
akka-streams
algorithms-genetic
algorithms-miscellaneous-1
algorithms-miscellaneous-2
algorithms-miscellaneous-3
algorithms-miscellaneous-4
algorithms-miscellaneous-5 Java-1520 Fix whitespaces in algorithms-miscellaneous-5 pom 2020-05-01 16:34:19 +02:00
algorithms-miscellaneous-6 Java-1520 Split or move algorithms-miscellaneous-5 module 2020-04-30 18:11:37 +02:00
algorithms-searching
algorithms-sorting
algorithms-sorting-2
animal-sniffer-mvn-plugin
annotations
antlr
apache-avro
apache-beam
apache-bval
apache-curator
apache-cxf Update README.md 2020-05-16 02:58:46 +08:00
apache-fop
apache-geode
apache-meecrowave
apache-olingo
apache-opennlp
apache-poi
apache-pulsar
apache-rocketmq
apache-shiro JAVA-956: Migrate apache-shiro to parent-boot-2 2020-05-06 18:14:05 +05:30
apache-solrj
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-velocity
apache-zookeeper
asciidoctor
asm
atomikos Update README.md 2020-05-06 15:17:10 +08:00
atomix
aws
aws-app-sync Bael-3893 - Fixed tests causing build to fail 2020-05-13 16:33:31 -04:00
aws-lambda
aws-reactive
axon
azure
bazel Delete README.md 2020-05-05 08:47:17 +08:00
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 Update README.md 2020-05-05 17:16:27 +08:00
core-groovy-2 Update README.md 2020-05-12 15:11:57 +08:00
core-groovy-collections
core-java-modules Update ExchangerPipeLineManualTest.java (#9326) 2020-05-20 07:54:02 +02:00
core-kotlin-modules Added if-else expression examples in kotlin (#9296) 2020-05-16 09:43:14 +02:00
core-scala
couchbase
custom-pmd
dagger
data-structures
ddd
ddd-modules
deeplearning4j
disruptor
docker
dozer
drools
dropwizard
dubbo
eclipse
ethereum
feign
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit
gradle Create README.md 2020-05-12 16:41:18 +08:00
gradle-5
gradle-6
grails
graphql/graphql-java
grpc
gson
guava
guava-collections
guava-collections-map
guava-collections-set
guava-io
guava-modules
guest
guice
hazelcast
helidon
httpclient
httpclient-simple
hystrix
image-processing
immutables
intelliJ
jackson-modules
jackson-simple
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 Create README.md 2020-05-05 17:43:34 +08:00
java-ee-8-security-api
java-jdi
java-lite
java-numbers Correct tests 2020-05-25 09:10:55 +01:00
java-numbers-2
java-numbers-3
java-rmi
java-spi
java-vavr-stream
java-websocket
javafx
javax-servlets
javaxval
jaxb
jee-7 Update README.md 2020-05-12 15:39:16 +08:00
jee-7-security
jee-kotlin
jenkins
jersey
jgit
jgroups
jhipster
jhipster-5
jib
jjwt
jmeter
jmh
jni
jooby
jsf
json
json-2
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
kotlin-libraries-2
kotlin-quasar
lagom
language-interop BAEL-3925 - How to call Python from Java (#9312) 2020-05-18 14:15:04 -07:00
libraries Java-1470 Fix compilation errors and Readme files 2020-04-29 21:55:48 +02:00
libraries-2 Java-1470 Fix compilation errors and Readme files 2020-04-29 21:55:48 +02:00
libraries-3 Merge branch 'master' into master 2020-05-07 11:05:00 +08:00
libraries-4 Java-1470 Fix failing integration tests 2020-04-30 16:17:05 +02:00
libraries-5 Java-1470 Fix failing integration tests 2020-04-30 16:17:05 +02:00
libraries-6 Java-1470 Split libraries module 2020-04-29 20:49:15 +02:00
libraries-apache-commons
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency Delete README.md 2020-05-16 02:57:55 +08:00
libraries-data
libraries-data-2 BAEL-3462 Univosity Parsers (#9222) 2020-05-17 11:17:51 -07:00
libraries-data-db
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 BAEL-3863 removed redundant twitter4j.properties file 2020-05-12 19:31:54 +02:00
libraries-security
libraries-server
libraries-testing Merge pull request #9274 from jesperancinha/BAEL-2749 2020-05-15 15:18:55 +03:00
linkrest
linux-bash
logging-modules BAEL1731 Adding listappender 2020-05-04 18:11:12 +05:30
lombok
lombok-custom
lucene
machine-learning
mapstruct
maven-all Update README.md 2020-05-12 16:54:56 +08:00
maven-archetype
maven-polyglot
mesos-marathon
metrics
micronaut
microprofile
msf4j
muleesb
mustache
mybatis
netflix-modules
netty Create README.md 2020-05-05 17:47:21 +08:00
ninja
oauth2-framework-impl Delete README.md 2020-05-05 08:57:04 +08:00
open-liberty
optaplanner
orika
osgi
parent-boot-1
parent-boot-2
parent-java Add hamcrest jar dependency in parent-java build 2020-04-30 16:20:39 +02:00
parent-kotlin
parent-spring-4 update spring 4 version to latest 2020-05-03 16:03:06 +05:30
parent-spring-5
patterns Merge pull request #9263 from kcacademic/es-cqrs 2020-05-19 19:12:31 -06:00
pdf BAEL-3826: appropriate spacing 2020-05-08 20:18:22 +03:00
performance-tests
persistence-modules Merge pull request #9178 from andrebrowne/BAEL-3341 2020-05-21 21:11:01 +02:00
play-framework
pmd
podman
protobuffer
quarkus
quarkus-extension
rabbitmq
raml
ratpack
reactor-core Update README.md 2020-05-05 17:10:54 +08:00
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
spring-5-reactive
spring-5-reactive-2
spring-5-reactive-client
spring-5-reactive-oauth
spring-5-reactive-security
spring-5-security Update README.md 2020-05-12 16:53:32 +08:00
spring-5-security-cognito
spring-5-security-oauth
spring-5-webflux
spring-activiti
spring-akka
spring-all
spring-amqp
spring-aop
spring-apache-camel
spring-batch
spring-bom
spring-boot-groovy Create README.md 2020-05-12 15:27:32 +08:00
spring-boot-modules Merge pull request #9330 from kwoyke/JAVA-1526 2020-05-20 10:52:54 -06:00
spring-boot-rest
spring-caching Update README.md 2020-05-12 15:41:00 +08:00
spring-cloud Update README.md 2020-05-12 16:58:13 +08:00
spring-cloud-bus
spring-cloud-cli
spring-cloud-data-flow
spring-core
spring-core-2 updated readme file 2020-05-09 14:43:40 +05:30
spring-core-3
spring-core-4 Update README.md 2020-05-12 16:59:31 +08:00
spring-cucumber
spring-data-rest
spring-data-rest-querydsl
spring-di
spring-dispatcher-servlet
spring-drools
spring-ehcache
spring-ejb
spring-exceptions
spring-freemarker
spring-groovy
spring-integration
spring-jenkins-pipeline
spring-jersey
spring-jinq
spring-jms
spring-jooq
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 Update README.md 2020-05-05 08:43:18 +08:00
spring-mvc-basics-3
spring-mvc-basics-4
spring-mvc-crash
spring-mvc-forms-jsp
spring-mvc-forms-thymeleaf
spring-mvc-java Move A Quick Guide to Spring MVC Matrix Variables 2020-05-06 01:31:06 +02:00
spring-mvc-java-2 Move A Quick Guide to Spring MVC Matrix Variables 2020-05-06 01:31:06 +02:00
spring-mvc-kotlin
spring-mvc-velocity
spring-mvc-views
spring-mvc-webflow
spring-mvc-xml
spring-protobuf
spring-quartz
spring-reactive-kotlin
spring-reactor
spring-remoting
spring-rest-angular
spring-rest-compress
spring-rest-hal-browser JAVA-945: Migrate spring-rest-hal-browser to parent-boot-2 2020-05-12 12:34:28 +05:30
spring-rest-http
spring-rest-query-language
spring-rest-shell
spring-rest-simple
spring-rest-testing
spring-resttemplate
spring-roo
spring-scheduling
spring-security-modules Create README.md 2020-05-12 17:02:06 +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 Update README.md 2020-05-12 15:47:23 +08:00
spring-social-login JAVA-954: Migrate spring-social-login to parent-boot-2 2020-05-08 19:06:20 +05:30
spring-spel
spring-state-machine
spring-static-resources
spring-swagger-codegen Update README.md 2020-05-05 09:00:24 +08:00
spring-threads
spring-thymeleaf
spring-thymeleaf-2 Update README.md 2020-05-06 15:12:08 +08:00
spring-thymeleaf-3 BAEL-3016 Thymeleaf Formating Currencies 2020-05-08 17:49:37 +03:00
spring-vault
spring-vertx
spring-webflux-amqp
spring-websockets
static-analysis
stripe JAVA-955: removed lombok version 2020-05-06 22:43:04 +05:30
structurizr
struts-2
tensorflow-java
terraform Update README.md 2020-05-12 16:34:14 +08:00
testing-modules Merge pull request #9252 from MajewskiKrzysztof/BAEL-3916 2020-05-19 16:54:25 +02:00
twilio
twitter4j
undertow
vaadin
vavr
vavr-2
vertx
vertx-and-rxjava
video-tutorials
vraptor
webrtc
wicket
wildfly
xml
xstream
.gitignore
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml BAEL-3925 - How to call Python from Java (#9312) 2020-05-18 14:15:04 -07: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