Go to file
Ali Dehghani 10346cd9d7 Fixed the wrong assertion issue in a test 2021-05-18 01:57:48 +04:30
akka-http
akka-streams
algorithms-genetic
algorithms-miscellaneous-1
algorithms-miscellaneous-2
algorithms-miscellaneous-3
algorithms-miscellaneous-4
algorithms-miscellaneous-5
algorithms-miscellaneous-6
algorithms-searching
algorithms-sorting
algorithms-sorting-2
animal-sniffer-mvn-plugin
annotations
antlr
apache-cxf
apache-libraries
apache-olingo
apache-poi
apache-rocketmq
apache-shiro
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-velocity
asciidoctor
asm
atomikos JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
atomix
aws
aws-app-sync
aws-lambda
aws-reactive
axon
azure
bazel
blade
bootique
cas
cdi
checker-plugin
clojure/ring
cloud-foundry-uaa
code-generation
core-groovy
core-groovy-2
core-groovy-collections
core-groovy-strings
core-java-modules Code commit for "Converting String to BigDecimal in Java" - Article (#10775) 2021-05-17 11:16:45 -07:00
couchbase
custom-pmd
dagger
data-structures
ddd
ddd-modules
deeplearning4j
discord4j
disruptor
docker
dozer
drools
dropwizard
dubbo
eclipse
ethereum
feign
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit
gradle
gradle-5
gradle-6
grails
graphql/graphql-java
grpc
gson
guava-modules
guest
guice
hazelcast
helidon
httpclient
httpclient-2
httpclient-simple
hystrix
image-processing
immutables
intelliJ
jackson-modules
jackson-simple
java-blockchain
java-collections-conversions
java-collections-conversions-2
java-collections-maps-3
java-ee-8-security-api
java-jdi
java-lite
java-native
java-numbers
java-numbers-2
java-numbers-3
java-numbers-4
java-rmi
java-spi
java-vavr-stream
java-websocket
javafx
javax-servlets
javaxval
jaxb
jee-7
jee-7-security
jenkins
jersey
jgit
jgroups
jhipster
jhipster-5
jib
jjwt
jmeter
jmh
jooby
jsf
json
json-2
json-path
jsoup
jta
jws
kaniko
kubernetes
lagom
language-interop
libraries
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
libraries-http
libraries-http-2
libraries-io
libraries-primitive
libraries-rpc
libraries-security
libraries-server
libraries-server-2
libraries-testing
linkrest
linux-bash
logging-modules
lombok
lombok-custom
lucene
mapstruct
maven-archetype
maven-modules BAEL-4801: Copying Files with Maven (#10758) 2021-05-13 13:05:17 -07:00
maven-polyglot
mesos-marathon
metrics
micronaut
microprofile
msf4j
muleesb
mustache
mybatis
netflix-modules JAVA-5550 Removed Spring Milestones/RC dependencies from projects and upgraded them to their respective central versions 2021-05-16 16:40:29 +05:30
netty
ninja
oauth2-framework-impl
open-liberty
optaplanner
orika
osgi
parent-boot-1
parent-boot-2
parent-java
parent-spring-4
parent-spring-5
patterns BAEL-4953: Fix FindBugs annotations (#10772) 2021-05-17 14:15:19 +02:00
pdf
performance-tests
persistence-modules Merge pull request #10683 from hendrosteven/jpa-soft-delete 2021-05-17 00:05:05 -03:00
play-framework
pmd
podman
protobuffer
quarkus
quarkus-extension
rabbitmq
raml
ratpack
reactive-systems
reactor-core
resteasy
restx
rsocket
rule-engines
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators
saas JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
slack JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
software-security/sql-injection-samples JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spark-java JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spf4j JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-4 JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5 JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-data-reactive JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-reactive JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-reactive-2 JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-reactive-client Fixed the wrong assertion issue in a test 2021-05-18 01:57:48 +04:30
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 JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-5-webflux JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-activiti JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-akka JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-amqp JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-aop JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-apache-camel JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-batch JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
spring-batch-2 JAVA-5223: Fix formatting of POMs (Others - Part 1) 2021-05-13 22:43:38 +05:30
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 #10736 from wlesniak/master 2021-05-16 13:33:56 -05:00
spring-boot-rest JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-boot-rest-2 Merge pull request #10764 from freelansam/JAVA-5223 2021-05-16 20:17:08 +02:00
spring-caching JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-caching-2
spring-cloud Merge branch 'master' into task/JAVA-5550 2021-05-16 20:47:40 +02:00
spring-cloud-bus JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-cloud-cli
spring-cloud-data-flow JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-core JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-core-2 JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-core-3 JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-core-4 JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-core-5 JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-cucumber JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-data-rest JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-data-rest-querydsl JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-di JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-di-2 JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-drools JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-ejb JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-exceptions JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
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 JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-jersey JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-jinq JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-jms JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-kafka
spring-katharsis JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-mobile Merge branch 'master' into task/JAVA-5550 2021-05-16 20:47:40 +02:00
spring-mockito JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-protobuf JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-quartz JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-reactor JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-remoting JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-roo Merge branch 'master' into task/JAVA-5550 2021-05-16 20:47:40 +02:00
spring-scheduling JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-security-modules
spring-shell
spring-sleuth
spring-soap
spring-spel
spring-state-machine
spring-static-resources
spring-swagger-codegen
spring-threads
spring-vault
spring-vertx
spring-web-modules
spring-webflux-amqp
spring-webflux-threads JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-websockets
static-analysis
stripe
structurizr
struts-2
tensorflow-java
terraform
testing-modules Code Coverage with SonarQube and Jacoco (#10674) 2021-05-16 11:42:35 -05: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 Adding cassandre tutorial (#10757) 2021-05-14 08:58:18 -07: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