ashleyfrieze 8b643c8402 Squashed commit of the following: (#10709)
commit 2347e8b21b0d33391e9cb4e79e146756cadfe322
Author: ashleyfrieze <ashley@incredible.org.uk>
Date:   Tue Apr 27 21:40:33 2021 +0100

    Minor tweak to pom

commit 0497a9e3e88e9000d335976f311b5e8c1e10675b
Merge: a7cf36704b 35cc00b59a
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:27:13 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit a7cf36704bbf94a0afa5a9f46969f8e9774ca683
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:25:47 2021 +0200

    BASE-4502: Update POM

commit 86bfe45c4850c31d1505f4bb7a638a3f06621062
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 20:32:35 2021 +0200

    BASE-4502: Revert POM changes and comment out JDK9+ code

commit b538d1cc19c54c0b9ad9022b94fd066603836e26
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:42:47 2021 +0200

    BASE-4502: Change parent

commit f608783de5f5ee3eda6f2da25d10598327c5aa0f
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:38:00 2021 +0200

    BASE-4502: Maven compiler version

commit f15f2b84478b45a7740d78316bec9c253235adf6
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:13:05 2021 +0200

    BASE-4502: Compile to Java 11

commit 79e780667ca2745198a13b227984e691e4575955
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 24 08:53:53 2021 +0200

    BASE-4502: wrong case

commit fca2515c41f653ca735af73e659fb2735b455ce2
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:32:59 2021 +0200

    BASE-4502: Add space

commit 0407a1e40980763f13be598224df5403a12fb8c1
Merge: 54f11d5f05 5621594056
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:24:57 2021 +0200

    Merge remote-tracking branch 'origin/feature/BAEL-4502-compile-time-const' into feature/BAEL-4502-compile-time-const

    # Conflicts:
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/ClassConstants.java
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/CompileTimeVariables.java

commit 54f11d5f05aef35b9835ea1e2689be0f6e4bcd82
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:23:12 2021 +0200

    BASE-4502: PR comments and annotation example

commit 5621594056bc97f7b2ab7a70e5cf1abcc8ef35a4
Author: daniel.strmecki <daniel.strmecki@ecx.io>
Date:   Sun Apr 4 12:43:17 2021 +0200

    BAEL-4502: Remove unused examples

commit b11077e79bf92bcfd6748361e7eb66bcfb20ab06
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 3 11:14:29 2021 +0200

    BASE-4502: Update examples

commit 9fea197cd6b5f471bcda4331b722ae308e30b507
Merge: f6e1f2fc46 b7cbb5428d
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:41:46 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit f6e1f2fc467949f66eba441bb98f75f8d69c09b8
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:40:31 2021 +0200

    BASE-4502: Compile time examples
2021-04-27 22:08:10 +01:00
2020-10-28 17:18:55 +08:00
2021-03-03 20:55:30 +08:00
2020-07-23 21:36:52 +08:00
2020-10-21 11:31:57 +08:00
2020-05-05 08:47:17 +08:00
2020-07-07 14:18:10 +03:00
2020-07-21 21:52:46 +08:00
2020-09-24 02:53:02 +08:00
2020-08-20 17:23:09 +08:00
2020-11-05 14:07:07 +08:00
2020-09-16 23:55:27 +08:00
2021-02-10 02:41:03 +08:00
2020-12-09 18:23:53 +08:00
2020-07-23 21:28:59 +08:00
2020-07-07 14:18:10 +03:00
2021-03-03 20:41:37 +08:00
2020-12-03 14:18:15 +02:00
2020-10-28 16:19:53 +08:00
2021-01-20 22:42:24 +08:00
2020-10-24 17:38:58 +03:00
2021-03-29 15:22:10 +02:00
2021-03-17 23:08:46 +08:00
2021-03-03 20:39:32 +08:00
2020-09-24 03:36:26 +08:00
2020-08-20 13:17:06 +08:00
2020-05-12 15:29:06 +08:00
2020-07-07 14:18:10 +03:00
2020-10-28 14:32:56 +08:00
2021-03-10 21:19:07 +08:00
2020-05-30 14:01:14 +08:00
2020-09-16 22:47:55 +08:00
2020-07-21 21:57:20 +08:00
2020-07-07 14:18:10 +03:00
2020-07-07 14:18:10 +03:00
2020-05-05 08:57:04 +08:00
2021-04-14 23:45:18 +08:00
2020-08-20 12:59:10 +08:00
2021-04-08 00:22:17 +05:30
2021-04-07 16:36:09 +08:00
2020-12-23 22:32:01 +08:00
2021-03-17 23:10:53 +08:00
2021-04-14 23:42:50 +08:00
2021-04-21 23:42:05 +08:00
2020-07-21 21:14:45 +08:00
2020-08-02 03:51:32 +05:30
2020-08-20 18:40:15 +08:00
2020-12-23 22:27:26 +08:00
2021-02-11 18:20:25 +08:00
2020-07-07 14:18:10 +03:00
2020-05-12 16:34:14 +08:00
2020-07-07 14:18:10 +03:00
2020-10-03 16:25:03 +02:00
2020-04-19 16:55:18 +02:00
2021-03-29 15:22:10 +02:00
2020-10-31 12:07:35 +02:00

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

Description
No description provided
Readme MIT 267 MiB
Languages
Java 88%
HTML 3.6%
JavaScript 2.7%
TypeScript 2.4%
CSS 1.5%
Other 1%