Go to file
johnA1331 424fecc7d9 Update README.md 2020-05-05 17:23:23 +08:00
akka-http
akka-streams
algorithms-genetic
algorithms-miscellaneous-1
algorithms-miscellaneous-2
algorithms-miscellaneous-3 Update README.md 2020-04-07 17:52:32 +08:00
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 JAVA-615 Split or move algorithms-sorting module 2020-04-15 23:04:39 +02:00
algorithms-sorting-2 JAVA-615 Split or move algorithms-sorting module 2020-04-15 23:04:39 +02:00
animal-sniffer-mvn-plugin
annotations
antlr
apache-avro
apache-beam
apache-bval
apache-curator
apache-cxf
apache-fop
apache-geode
apache-meecrowave
apache-olingo Delete README.md 2020-04-07 17:48:34 +08:00
apache-opennlp
apache-poi
apache-pulsar
apache-rocketmq
apache-shiro
apache-solrj
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-velocity
apache-zookeeper
asciidoctor
asm
atomikos Adding codebase for the article tracked under BAEL-2046. (#9055) 2020-04-12 06:36:34 +02:00
atomix
aws
aws-lambda
aws-reactive formatted pom.xml file 2020-03-22 07:24:38 +05:30
axon
azure
bazel Delete README.md 2020-05-05 08:47:17 +08:00
blade
bootique
cas JAVA-914: Updated module README to include relevant info 2020-04-18 19:12:36 +05:30
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 add code files for "How to determine the data type in Groovy" (#9123) 2020-04-23 10:54:55 -07:00
core-groovy-collections
core-java-modules Update README.md 2020-05-05 16:57:15 +08:00
core-kotlin-modules Add fold and reduce examples (#9188) 2020-04-27 14:25:33 -07:00
core-scala Create README.md 2020-04-07 17:09:25 +08:00
couchbase formatted pom.xml file 2020-03-22 07:24:38 +05:30
custom-pmd formatted pom.xml file 2020-03-22 07:24:38 +05:30
dagger formatted pom.xml file 2020-03-22 07:24:38 +05:30
data-structures JAVA-1295: Fix node.left -> node.right 2020-04-13 21:21:19 +02:00
ddd formatted pom.xml file 2020-03-22 07:24:38 +05:30
ddd-modules Create README.md 2020-04-21 14:27:38 +08:00
deeplearning4j formatted pom.xml file 2020-03-22 07:24:38 +05:30
disruptor formatted pom.xml file 2020-03-22 07:24:38 +05:30
docker
dozer formatted pom.xml file 2020-03-22 07:24:38 +05:30
drools formatted pom.xml file 2020-03-22 07:24:38 +05:30
dropwizard formatted pom.xml file 2020-03-22 07:24:38 +05:30
dubbo formatted pom.xml file 2020-03-22 07:24:38 +05:30
eclipse
ethereum formatted pom.xml file 2020-03-22 07:24:38 +05:30
feign formatted pom.xml file 2020-03-22 07:24:38 +05:30
flyway-cdi-extension formatted pom.xml file 2020-03-22 07:24:38 +05:30
geotools formatted pom.xml file 2020-03-22 07:24:38 +05:30
google-cloud formatted pom.xml file 2020-03-22 07:24:38 +05:30
google-web-toolkit formatted pom.xml file 2020-03-22 07:24:38 +05:30
gradle BAEL-3973 (#9061) 2020-04-25 07:32:20 +02:00
gradle-5
gradle-6
grails
graphql/graphql-java formatted pom.xml file 2020-03-22 07:24:38 +05:30
grpc formatted pom.xml file 2020-03-22 07:24:38 +05:30
gson formatted pom.xml file 2020-03-22 07:24:38 +05:30
guava Update README.md 2020-04-21 12:30:05 +08:00
guava-collections formatted pom.xml file 2020-03-22 07:24:38 +05:30
guava-collections-map Update README.md 2020-04-10 16:31:17 +08:00
guava-collections-set
guava-io
guava-modules
guest
guice formatted pom.xml file 2020-03-22 07:24:38 +05:30
hazelcast formatted pom.xml file 2020-03-22 07:24:38 +05:30
helidon
httpclient
httpclient-simple
hystrix Revert "JAVA-916: Migrate jhipster to parent-boot-2" 2020-04-18 19:17:28 +05:30
image-processing
immutables
intelliJ
jackson-modules sync source code with article 2020-04-12 00:01:36 +05:30
jackson-simple
java-blockchain
java-collections-conversions
java-collections-conversions-2 Add hamcrest jar dependency in parent-java build 2020-04-30 16:20:39 +02:00
java-collections-maps-3 Delete README.md 2020-04-21 12:18:04 +08:00
java-ee-8-security-api formatted pom.xml file 2020-03-22 07:24:38 +05:30
java-jdi
java-lite
java-numbers Update README.md 2020-04-09 16:48:25 +08:00
java-numbers-2 JAVA-625: Updated README links 2020-03-25 23:13:19 +05:30
java-numbers-3 Update README.md 2020-04-10 16:25:53 +08:00
java-rmi
java-spi
java-vavr-stream
java-websocket
javafx
javax-servlets
javaxval
jaxb
jee-7 Merge pull request #9190 from amit2103/JAVA-62 2020-04-27 13:43:29 +03:00
jee-7-security
jee-kotlin
jenkins
jersey
jgit update artifictId in pom file 2020-04-12 04:31:53 +05:30
jgroups
jhipster update pom version from RC to GA 2020-04-19 18:09:24 +05:30
jhipster-5 JAVA-917: Migrate jhipster-5 to parent-boot-2 2020-04-20 22:42:22 +05:30
jib
jjwt JAVA-918: Migrate jjwt to parent-boot-2 2020-04-18 22:26:54 +05:30
jmeter JAVA-919: Migrate jmeter to parent-boot-2 2020-04-20 23:15:30 +05:30
jmh
jni
jooby
jsf
json
json-2
json-path
jsoup BAEL-3842 : How to add proxy support to Jsoup (#9202) 2020-05-04 17:37:38 +01:00
jta
jws BAEL-3992: Remove jnlp dependencies from the pom.xml 2020-04-17 22:11:57 +02:00
kaniko BAEL-3567 An Introduction to Kaniko (#9150) 2020-04-24 14:36:41 -07:00
kotlin-js
kotlin-libraries
kotlin-libraries-2
kotlin-quasar
lagom
libraries move nullaway article 2020-03-19 22:38:01 +02:00
libraries-2 JAVA-627: Moved 2 articles from libraries-2 2020-04-18 11:43:52 +05:30
libraries-3 Update README.md 2020-05-05 08:35:36 +08:00
libraries-apache-commons
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency Create README.md 2020-04-10 16:44:41 +08:00
libraries-data
libraries-data-2 Merge pull request #9155 from aurasphere/master 2020-04-26 11:47:08 +02:00
libraries-data-db
libraries-data-io
libraries-http JAVA-627: Added next link in README for libraries-http 2020-04-18 11:44:56 +05:30
libraries-http-2 JAVA-627: Moved 2 articles to libraries-http-2 2020-04-18 11:44:19 +05:30
libraries-io
libraries-primitive
libraries-security JAVA-920: Copied missing artifact so that live test runs ok 2020-04-21 11:33:15 +05:30
libraries-server BAEL-3908: Update README file (#9141) 2020-04-18 21:15:05 -05:00
libraries-testing Update README.md 2020-05-05 17:05:25 +08:00
linkrest
linux-bash Update README.md 2020-04-07 16:49:44 +08:00
logging-modules Update README.md 2020-04-08 13:11:01 +08:00
lombok Create README.md 2020-04-07 16:39:13 +08:00
lombok-custom
lucene
machine-learning formatted pom.xml file 2020-03-22 07:24:38 +05:30
mapstruct
maven-all Update README.md 2020-04-21 14:29:19 +08:00
maven-archetype formatted pom.xml file 2020-03-22 07:24:38 +05:30
maven-polyglot
mesos-marathon JAVA-921: Migrate mesos-marathon to parent-boot-2 2020-04-22 15:42:16 +05:30
metrics
micronaut
microprofile
msf4j
muleesb
mustache
mybatis
netflix-modules
netty Delete README.md 2020-04-21 12:16:07 +08:00
ninja formatted pom.xml file 2020-03-22 07:24:38 +05:30
oauth2-framework-impl Delete README.md 2020-05-05 08:57:04 +08:00
open-liberty
optaplanner [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
orika
osgi
parent-boot-1
parent-boot-2 JAVA-995: Upgrade Spring Boot to the latest 2.2.6 version 2020-04-01 14:35:03 +02:00
parent-java Add hamcrest jar dependency in parent-java build 2020-04-30 16:20:39 +02:00
parent-kotlin JAVA-60 Mvn Clean Install Profile Issue - Github 8189 2020-03-21 16:07:48 +05:30
parent-spring-4
parent-spring-5 JAVA-997: Upgrade Spring Core & Security to the latest versions 2020-04-02 16:10:53 +02:00
patterns bjakupovic remove sys. prints (#9208) 2020-05-02 18:30:36 +02:00
pdf BAEL-3909: Moved code to another module (#8931) 2020-03-21 19:39:36 -07:00
performance-tests
persistence-modules Update README.md 2020-05-05 16:47:03 +08:00
play-framework
pmd
podman
protobuffer
quarkus
quarkus-extension update artifictId in pom file 2020-04-12 04:31:53 +05:30
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 Update README.md 2020-04-10 16:48:28 +08:00
spring-5-reactive
spring-5-reactive-2
spring-5-reactive-client Merge pull request #8922 from dupirefr/team/JAVA-958-standardize_packages_in_spring_batch_module 2020-03-24 22:46:02 -06:00
spring-5-reactive-oauth
spring-5-reactive-security
spring-5-security Bael 3970 (#9236) 2020-05-04 15:08:00 -07:00
spring-5-security-cognito
spring-5-security-oauth
spring-5-webflux
spring-activiti
spring-akka
spring-all Update README.md 2020-03-23 18:57:01 +08:00
spring-amqp
spring-aop
spring-apache-camel
spring-batch Update README.md 2020-04-10 16:35:28 +08:00
spring-bom [JAVA-958] Standardize packages in spring-bom module 2020-03-20 08:39:48 +01:00
spring-boot-groovy Bael 3557 : renamed package name to more unique name - springwithgroovy (#9172) 2020-04-25 23:21:21 -07:00
spring-boot-modules Create README.md 2020-05-05 17:03:15 +08:00
spring-boot-rest BAEL-4003: Add byte-buddy dependency (#9134) 2020-04-18 18:04:17 +02:00
spring-caching BAEL-3730: Force simple cache manager usage (#9211) 2020-05-02 18:27:41 +02:00
spring-cloud Update README.md 2020-05-05 16:45:16 +08:00
spring-cloud-bus
spring-cloud-cli
spring-cloud-data-flow
spring-core
spring-core-2 Update README.md 2020-05-05 15:26:18 +08:00
spring-core-3 BAEL-3965: Moved examples to new spring-core module 2020-04-21 14:27:42 -04:00
spring-core-4 BAEL-3965: Removed unneeded dependencies 2020-04-25 16:05:50 -04: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
spring-katharsis
spring-ldap
spring-mobile
spring-mockito Mockint objectmapper with mockito (#9017) 2020-04-24 09:00:30 -05:00
spring-mvc-basics
spring-mvc-basics-2 Update README.md 2020-05-05 08:43:18 +08:00
spring-mvc-basics-3 Update README.md 2020-03-25 10:45:07 +08:00
spring-mvc-basics-4
spring-mvc-crash Bael 2980 move c ra sh article to new module (#9103) 2020-04-17 08:15:36 +02:00
spring-mvc-forms-jsp
spring-mvc-forms-thymeleaf Java-633 Standardize packages in spring-mvc-* 2020-02-18 15:38:19 +01:00
spring-mvc-java fix integration test cases 2020-05-03 15:37:23 +05:30
spring-mvc-java-2
spring-mvc-kotlin
spring-mvc-velocity
spring-mvc-views
spring-mvc-webflow
spring-mvc-xml Bael 2980 move c ra sh article to new module (#9103) 2020-04-17 08:15:36 +02:00
spring-protobuf
spring-quartz
spring-reactive-kotlin Update README.md 2020-04-10 15:31:19 +08:00
spring-reactor Update README.md 2020-03-24 15:05:36 +08:00
spring-remoting
spring-rest-angular
spring-rest-compress
spring-rest-hal-browser
spring-rest-http sync source code with article 2020-04-12 00:01:36 +05:30
spring-rest-query-language
spring-rest-shell
spring-rest-simple
spring-rest-testing
spring-resttemplate
spring-roo
spring-scheduling reverted the file name 2020-04-12 01:05:59 +05:30
spring-security-modules Merge pull request #9069 from kirill-vlasov/master 2020-04-26 11:18:09 +02:00
spring-session
spring-shell
spring-sleuth
spring-soap BAEL-3989: Calling a SOAP web service from Spring (#9174) 2020-04-25 09:44:35 -07:00
spring-social-login
spring-spel
spring-state-machine
spring-static-resources JAVA-960: Migrate spring-static-resources to com.baeldung 2020-03-19 15:02:32 +01:00
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-05 16:42:15 +08:00
spring-thymeleaf-3 Update README.md 2020-04-10 16:50:04 +08:00
spring-vault
spring-vertx
spring-webflux-amqp
spring-websockets
static-analysis
stripe
structurizr
struts-2
tensorflow-java
terraform Update terraform/best-practices/k8s-basic/SETUP.md 2020-04-12 13:53:19 -05:00
testing-modules Update README.md 2020-05-05 17:23:23 +08:00
twilio
twitter4j update artifictId in pom file 2020-04-12 04:31:53 +05:30
undertow
vaadin
vavr [JAVA-630] vavr-2 module 2020-04-19 16:55:18 +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
wicket
wildfly
xml
xstream
.gitignore
LICENSE
README.md JAVA-60 Mvn Clean Install Profile Issue - Github 8189 2020-03-21 17:09:53 +05:30
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml [JAVA-630] Fixing indent of vavr* modules 2020-04-28 07:55:51 +02: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