Go to file
azhwani f93b433ed8 Add simple-jndi to pom.xml 2020-05-26 15:32:56 +01:00
akka-http pom formatting 2020-03-15 18:22:24 +05:30
akka-streams
algorithms-genetic pom formatting 2020-03-15 18:22:24 +05:30
algorithms-miscellaneous-1 pom formatting 2020-03-15 18:22:24 +05:30
algorithms-miscellaneous-2
algorithms-miscellaneous-3
algorithms-miscellaneous-4 pom formatting 2020-03-15 18:22:24 +05:30
algorithms-miscellaneous-5
algorithms-miscellaneous-6
algorithms-searching
algorithms-sorting
algorithms-sorting-2
animal-sniffer-mvn-plugin
annotations pom formatting 2020-03-15 18:22:24 +05:30
antlr
apache-avro pom formatting 2020-03-15 18:22:24 +05:30
apache-beam
apache-bval pom formatting 2020-03-15 18:22:24 +05:30
apache-curator pom formatting 2020-03-15 18:22:24 +05:30
apache-cxf
apache-fop
apache-geode
apache-meecrowave
apache-olingo Delete README.md 2020-04-07 17:48:34 +08:00
apache-opennlp pom formatting 2020-03-15 18:22:24 +05:30
apache-poi
apache-pulsar
apache-rocketmq
apache-shiro
apache-solrj
apache-spark
apache-tapestry
apache-thrift
apache-tika pom formatting 2020-03-15 18:22:24 +05:30
apache-velocity
apache-zookeeper
asciidoctor pom formatting 2020-03-15 18:22:24 +05:30
asm
atomikos
atomix pom formatting 2020-03-15 18:22:24 +05:30
aws
aws-app-sync
aws-lambda
aws-reactive
axon
azure
bazel Delete README.md 2020-05-05 08:47:17 +08:00
blade
bootique
cas
cdi
checker-plugin pom formatting 2020-03-15 18:22:24 +05:30
clojure/ring
cloud-foundry-uaa pom formatting 2020-03-15 18:22:24 +05:30
code-generation
core-groovy
core-groovy-2
core-groovy-collections
core-java-modules Merge pull request #9336 from alimate/BAEL-4054 2020-05-25 17:27:36 +02:00
core-kotlin-modules
core-scala
couchbase
custom-pmd
dagger
data-structures
ddd JAVA-1637: Remove overriden spring-boot.version property 2020-05-20 21:22:30 +02:00
ddd-modules
deeplearning4j formatted pom.xml file 2020-03-22 07:24:38 +05:30
disruptor
docker Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
dozer
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
flyway-cdi-extension
geotools formatted pom.xml file 2020-03-22 07:24:38 +05:30
google-cloud
google-web-toolkit
gradle Update build.gradle 2020-05-15 22:14:25 +02:00
gradle-5
gradle-6
grails
graphql/graphql-java
grpc
gson
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 BAEL-20537: Migrate guava-* modules to the com.baeldung package 2019-12-24 13:13:41 +01:00
guava-modules
guest
guice
hazelcast formatted pom.xml file 2020-03-22 07:24:38 +05:30
helidon [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
httpclient
httpclient-simple fixed errors due to spring-5 version upgrade 2019-12-27 11:06:26 -03:00
hystrix
image-processing Update README.md 2020-03-18 13:39:59 +08:00
immutables
intelliJ
jackson-modules
jackson-simple Update README.md 2020-01-26 18:50:09 +02:00
java-blockchain
java-collections-conversions
java-collections-conversions-2
java-collections-maps-3
java-ee-8-security-api
java-jdi
java-lite
java-numbers
java-numbers-2
java-numbers-3
java-rmi
java-spi [BAEL-17476] - Final edits for Add README descriptions 2019-12-15 09:50:35 +00:00
java-vavr-stream
java-websocket
javafx [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
javax-servlets
javaxval
jaxb [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jee-7
jee-7-security
jee-kotlin Update README.md 2020-01-22 13:30:34 +08:00
jenkins
jersey [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jgit update artifictId in pom file 2020-04-12 04:31:53 +05:30
jgroups
jhipster
jhipster-5
jib [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jjwt
jmeter
jmh [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jni
jooby
jsf
json
json-2
json-path [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
jsoup
jta
jws BAEL-3992: Remove jnlp dependencies from the pom.xml 2020-04-17 22:11:57 +02:00
kaniko
kotlin-js
kotlin-libraries
kotlin-libraries-2 BAEL-3931: Migrate FuelHttpUnitTest to FuelHttpLiveTest 2020-03-18 15:11:59 +01:00
kotlin-quasar extract pom version into properties 2020-01-30 02:16:26 +05:30
lagom
language-interop
libraries Java-1470 Fix compilation errors and Readme files 2020-04-29 21:55:48 +02:00
libraries-2
libraries-3
libraries-4
libraries-5
libraries-6
libraries-apache-commons
libraries-apache-commons-collections
libraries-apache-commons-io
libraries-concurrency
libraries-data
libraries-data-2
libraries-data-db
libraries-data-io Update README.md 2020-03-18 13:16:03 +08:00
libraries-http JAVA-627: Added next link in README for libraries-http 2020-04-18 11:44:56 +05:30
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
libraries-security JAVA-920: Copied missing artifact so that live test runs ok 2020-04-21 11:33:15 +05:30
libraries-server
libraries-testing Merge pull request #9110 from cristianvasiliu/Dependency_version_update 2020-05-24 15:22:48 +03:00
linkrest [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
linux-bash
logging-modules BAEL1731 Adding listappender 2020-05-04 18:11:12 +05:30
lombok Create README.md 2020-04-07 16:39:13 +08:00
lombok-custom
lucene
machine-learning
mapstruct
maven-all
maven-archetype
maven-java-11/multimodule-maven-project
maven-polyglot Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-20665 2020-01-21 20:02:01 +05:30
mesos-marathon
metrics
micronaut
microprofile [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
msf4j
muleesb
mustache
mybatis
netflix-modules
netty
ninja formatted pom.xml file 2020-03-22 07:24:38 +05:30
oauth2-framework-impl
open-liberty Create README.md 2020-03-18 13:26:35 +08:00
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
pdf
performance-tests
persistence-modules
play-framework
pmd
podman Create README.md 2020-02-05 16:28:01 +08:00
protobuffer
quarkus
quarkus-extension
rabbitmq
raml
ratpack
reactor-core Update README.md 2020-05-05 17:10:54 +08:00
resteasy
restx BAEL-21545 POM Properties Cleanup 2020-01-28 10:31:43 +05:30
rsocket BAEL-21545 POM Properties Cleanup 2020-01-28 10:31:43 +05:30
rule-engines
rxjava-core
rxjava-libraries
rxjava-observables [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
rxjava-operators
saas [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
slack
software-security/sql-injection-samples
spark-java
spf4j
spring-4
spring-5
spring-5-data-reactive [JAVA-958] Standardize packages in spring-5-data-reactive module 2020-03-20 08:16:56 +01:00
spring-5-mvc Update README.md 2020-04-10 16:48:28 +08:00
spring-5-reactive
spring-5-reactive-2 added directive to run live test 2020-03-17 19:20:11 -04:00
spring-5-reactive-client
spring-5-reactive-oauth
spring-5-reactive-security
spring-5-security
spring-5-security-cognito
spring-5-security-oauth
spring-5-webflux BAEL-2552 - Remove unnecessary line 2020-03-05 12:13:08 -06:00
spring-activiti [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
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 Create README.md 2020-05-12 15:27:32 +08:00
spring-boot-modules Merge pull request #9279 from priyank-sriv/bael-3982 2020-05-25 23:14:26 +02:00
spring-boot-rest
spring-caching
spring-cloud
spring-cloud-bus
spring-cloud-cli Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2 2019-10-31 20:43:47 -05:00
spring-cloud-data-flow
spring-core
spring-core-2
spring-core-3
spring-core-4 Update README.md 2020-05-12 16:59:31 +08:00
spring-cucumber JAVA-959: Migrate spring-cucumber to com.baeldung 2020-03-11 21:04:20 +01:00
spring-data-rest JAVA-959: Migrate spring-data-rest to com.baeldung 2020-03-11 21:06:06 +01:00
spring-data-rest-querydsl
spring-di
spring-dispatcher-servlet
spring-drools JAVA-959: Migrate spring-drools to com.baeldung 2020-03-11 21:16:40 +01:00
spring-ehcache [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
spring-ejb [JAVA-134] Retrograding Mockito and Byte-Buddy versions for ejb-beans module as they conflict with dependencies of this module 2020-03-19 20:31:15 +01:00
spring-exceptions Update README.md 2020-01-10 08:49:50 +02:00
spring-freemarker
spring-groovy [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
spring-integration
spring-jenkins-pipeline
spring-jersey
spring-jinq JAVA-941: Migrate spring-jinq to parent-boot-2 2020-05-20 23:21:40 +05:30
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 BAEL-21543: Fix integration tests in spring-mvc-basics 2020-01-27 19:34:14 +01:00
spring-mvc-basics-2
spring-mvc-basics-3 Update README.md 2020-03-25 10:45:07 +08:00
spring-mvc-basics-4 Java-633 Standardize packages in spring-mvc-* 2020-02-18 15:38:19 +01:00
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 Java-633 Standardize packages in spring-mvc-* 2020-02-18 15:38:19 +01:00
spring-mvc-forms-thymeleaf
spring-mvc-java
spring-mvc-java-2
spring-mvc-kotlin [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
spring-mvc-velocity Java-633 Standardize packages in spring-mvc-* 2020-02-18 15:38:19 +01:00
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 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
spring-quartz [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
spring-reactive-kotlin
spring-reactor Update README.md 2020-03-24 15:05:36 +08:00
spring-remoting
spring-rest-angular BAEL-21597: Migrate spring-rest-angular to com.baeldung 2020-01-31 13:11:57 +01:00
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 [JAVA-131] Unifying hamcrest-core and hamcrest-libraries dependencies under hamcrest 2020-03-05 07:51:28 +01:00
spring-rest-shell
spring-rest-simple
spring-rest-testing
spring-resttemplate JAVA-960: Fix conflicts 2020-03-19 23:06:52 +01:00
spring-roo
spring-scheduling Update README.md 2020-03-25 10:50:09 +08:00
spring-security-modules removed unwanted path from web security config 2020-05-17 21:10:55 +05:30
spring-session
spring-shell
spring-sleuth
spring-soap
spring-social-login
spring-spel
spring-state-machine JAVA-960: Migrate spring-state-machine to com.baeldung 2020-03-19 15:15:41 +01:00
spring-static-resources
spring-swagger-codegen
spring-threads Create README.md 2020-03-18 12:08:48 +08:00
spring-thymeleaf
spring-thymeleaf-2 Update README.md 2020-05-06 15:12:08 +08:00
spring-thymeleaf-3
spring-vault
spring-vertx
spring-webflux-amqp
spring-websockets
static-analysis [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
stripe JAVA-955: removed lombok version 2020-05-06 22:43:04 +05:30
structurizr
struts-2 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
tensorflow-java BAEL-20537: Migrate tensorflow-java module to the com.baeldung package 2019-12-24 13:08:05 +01:00
terraform Update README.md 2020-05-12 16:34:14 +08:00
testing-modules
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
wicket pom formatting 2020-03-15 18:22:24 +05:30
wildfly
xml
xstream
.gitignore
LICENSE
README.md
baeldung-pmd-rules.xml
book
custom-pmd-0.0.1.jar
pom.xml

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