Go to file
davidmartinezbarua 96fe8aed39 Merge pull request #12040 from Attila96/feature/java_httpclient_basic_authentication-bael-5458
[BAEL-5485] Java HttpClient Basic Authentication
2022-04-18 14:25:57 -03:00
.local-db
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-kafka
apache-libraries
apache-olingo
apache-poi
apache-poi-2
apache-rocketmq JAVA-6475: Fix formatting of POMs (#11087) 2021-08-03 00:27:15 +05:30
apache-shiro
apache-spark
apache-tapestry
apache-thrift
apache-tika
apache-tomcat
apache-velocity
asciidoctor
asm
atomikos
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
couchbase
custom-pmd
dagger
data-structures
ddd
ddd-modules
deeplearning4j
discord4j
disruptor
docker
dozer
drools
dropwizard
dubbo
ethereum
feign
flyway-cdi-extension
geotools
google-cloud
google-web-toolkit
gradle
gradle-5
gradle-6
grails
graphql
grpc
gson
guava-modules
guest
guice
hazelcast
helidon
httpclient
httpclient-2
httpclient-simple
hystrix
image-processing
intelliJ
jackson-modules
jackson-simple
jakarta-ee
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
javax-servlets-2
javaxval
jaxb
jbang
jee-7
jee-7-security
jenkins
jersey
jgit
jgroups
jhipster
jhipster-5
jib
jjwt
jmeter
jmh
jooby
jsf
json
json-2
json-path
jsoup
jws
kaniko
ksqldb
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 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
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-2
lombok-custom
lucene
mapstruct
maven-archetype
maven-modules
maven-polyglot JAVA-5223: Fix formatting of POMs (Part 10) 2021-05-09 20:09:43 +05:30
mesos-marathon
metrics
micronaut
microprofile
msf4j
muleesb
mustache
mybatis
netflix-modules
netty
nginx-forward-proxy
ninja
oauth2-framework-impl
open-liberty
optaplanner
orika
osgi
parent-boot-1
parent-boot-2
parent-java
parent-spring-4
parent-spring-5
patterns
pdf
performance-tests
persistence-modules
play-framework
pmd
podman
protobuffer
quarkus
quarkus-extension
quarkus-jandex
quarkus-vs-springboot
rabbitmq
raml
ratpack
reactive-systems
reactor-core
regexMatchesToArray
resteasy
restx
rsocket
rule-engines
rxjava-core
rxjava-libraries
rxjava-observables
rxjava-operators JAVA-8436: Remove AssertJ depenendency from the child modules - part 2 2021-11-18 12:23:39 +01:00
saas
slack
software-security/sql-injection-samples
spark-java
spf4j
spring-4
spring-5
spring-5-data-reactive
spring-5-reactive
spring-5-reactive-2
spring-5-reactive-3
spring-5-reactive-client
spring-5-reactive-oauth
spring-5-reactive-security
spring-5-webflux Merge pull request #11581 from chaos2418/JAVA-3060 2022-01-09 13:48:23 +01:00
spring-5-webflux-2 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
spring-activiti
spring-akka
spring-amqp
spring-aop
spring-aop-2
spring-apache-camel
spring-batch
spring-batch-2
spring-bom
spring-boot-modules
spring-boot-rest
spring-boot-rest-2 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
spring-caching
spring-caching-2
spring-cloud
spring-cloud-bus
spring-cloud-cli
spring-cloud-data-flow
spring-core
spring-core-2
spring-core-3
spring-core-4 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
spring-core-5
spring-cucumber JAVA-5409: Fix formatting of POMs (Part 1) 2021-05-14 17:42:38 +05:30
spring-data-rest
spring-data-rest-2
spring-data-rest-querydsl
spring-di
spring-di-2
spring-di-3
spring-drools
spring-ejb
spring-exceptions
spring-freemarker
spring-integration
spring-jenkins-pipeline
spring-jersey
spring-jinq
spring-jms
spring-kafka [JAVA-8986] Upgrade spring-kafka to latest Boot version 2022-01-14 10:28:09 +00:00
spring-katharsis JAVA-5409: Fix formatting of POMs (Part 2) 2021-05-14 17:44:24 +05:30
spring-mobile
spring-mockito JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
spring-native
spring-protobuf
spring-quartz
spring-reactive
spring-reactor
spring-remoting
spring-roo
spring-scheduling
spring-security-modules
spring-shell
spring-sleuth
spring-soap
spring-spel JAVA-5223: Fix formatting of POMs (Other Spring Modules) 2021-05-17 20:23:08 +05:30
spring-state-machine
spring-static-resources
spring-swagger-codegen
spring-threads
spring-vault
spring-vertx
spring-web-modules Fix for pact test and use Junit5 insead of Hamcrest library 2022-03-29 21:04:18 +05:30
spring-webflux-amqp
spring-websockets
static-analysis
stripe
struts-2
tensorflow-java
terraform
testing-modules
twilio
twitter4j
undertow
vaadin
vavr
vavr-2
vertx
vertx-and-rxjava
video-tutorials
vraptor
webrtc
wicket
wildfly
xml
xml-2
xstream
.gitignore
LICENSE
README.md
baeldung-pmd-rules.xml
custom-pmd-0.0.1.jar
logback-config.xml
pom.xml

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 addition to Spring, the modules here cover a number of aspects of Java.

Profile based segregation

We are using maven build profiles to segregate the huge list of individual projects we have in our repository.

As for now, vast majority of the modules require JDK8 to build and run correctly.

The projects are broadly divided into 3 lists: first, second and heavy.

Next, they are segregated further on the basis of the tests that we want to execute.

Additionally, there are 2 profiles dedicated for JDK9 and above builds.

Therefore, we have a total of 8 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
default-jdk9-and-above JDK9 and above projects *UnitTest
integration-jdk9-and-above JDK9 and above 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

Analogously, for the JDK9 and above projects the commands are:

mvn clean install -Pdefault-jdk9-and-above

and

mvn clean install -Pintegration-jdk9-and-above

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 or

mvn clean install -Pintegration-jdk9-and-above

depending on the list where our module exists