JAVA-22236 | adding new submodule due to too much articles in the same submodule. (#14286)
This commit is contained in:
parent
18da9d53f7
commit
a6052bde93
|
@ -93,6 +93,7 @@
|
||||||
<module>spring-boot-properties</module>
|
<module>spring-boot-properties</module>
|
||||||
<module>spring-boot-properties-2</module>
|
<module>spring-boot-properties-2</module>
|
||||||
<module>spring-boot-properties-3</module>
|
<module>spring-boot-properties-3</module>
|
||||||
|
<module>spring-boot-properties-4</module>
|
||||||
<module>spring-boot-properties-migrator-demo</module>
|
<module>spring-boot-properties-migrator-demo</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,4 @@ This module contains articles about Properties in Spring Boot.
|
||||||
- [Inject Arrays and Lists From Spring Properties Files](https://www.baeldung.com/spring-inject-arrays-lists)
|
- [Inject Arrays and Lists From Spring Properties Files](https://www.baeldung.com/spring-inject-arrays-lists)
|
||||||
- [Inject a Map from a YAML File with Spring](https://www.baeldung.com/spring-yaml-inject-map)
|
- [Inject a Map from a YAML File with Spring](https://www.baeldung.com/spring-yaml-inject-map)
|
||||||
- [YAML to List of Objects in Spring Boot](https://www.baeldung.com/spring-boot-yaml-list)
|
- [YAML to List of Objects in Spring Boot](https://www.baeldung.com/spring-boot-yaml-list)
|
||||||
- More articles: [[<-- prev]](../spring-boot-properties)
|
- More articles: [[<-- Prev]](../spring-boot-properties) [[Next -->]](../spring-boot-properties-3)
|
||||||
|
|
|
@ -12,6 +12,4 @@
|
||||||
- [Log Properties in a Spring Boot Application](https://www.baeldung.com/spring-boot-log-properties)
|
- [Log Properties in a Spring Boot Application](https://www.baeldung.com/spring-boot-log-properties)
|
||||||
- [Using Environment Variables in Spring Boot’s application.properties](https://www.baeldung.com/spring-boot-properties-env-variables)
|
- [Using Environment Variables in Spring Boot’s application.properties](https://www.baeldung.com/spring-boot-properties-env-variables)
|
||||||
- [Loading Multiple YAML Configuration Files in Spring Boot](https://www.baeldung.com/spring-boot-load-multiple-yaml-configuration-files)
|
- [Loading Multiple YAML Configuration Files in Spring Boot](https://www.baeldung.com/spring-boot-load-multiple-yaml-configuration-files)
|
||||||
- [Using Environment Variables in Spring Boot’s Properties Files](https://www.baeldung.com/spring-boot-properties-env-variables)
|
- More articles: [[<-- Prev]](../spring-boot-properties-2) [[Next -->]](../spring-boot-properties-4)
|
||||||
- [Spring Boot Properties Prefix Must Be in Canonical Form](https://www.baeldung.com/spring-boot-properties-canonical-form)
|
|
||||||
- More articles: [[<-- prev]](../spring-boot-properties-2)
|
|
||||||
|
|
|
@ -26,18 +26,4 @@ spring.config.activate.on-profile=multidocument-prod
|
||||||
spring.datasource.password=password
|
spring.datasource.password=password
|
||||||
spring.datasource.url=jdbc:h2:prod
|
spring.datasource.url=jdbc:h2:prod
|
||||||
spring.datasource.username=prodUser
|
spring.datasource.username=prodUser
|
||||||
bael.property=prodValue
|
bael.property=prodValue
|
||||||
#---
|
|
||||||
environment.name=${OS}
|
|
||||||
java.home.and.environment=${JAVA_HOME}+${OS}
|
|
||||||
not.existing.system.property=${thispropertydoesnotexist}
|
|
||||||
baeldung.presentation=${HELLO_BAELDUNG}. Java is installed in the folder: ${JAVA_HOME}
|
|
||||||
#---
|
|
||||||
#camelCasing
|
|
||||||
#customProperties.name="Baeldung"
|
|
||||||
#PascalCasing
|
|
||||||
#CustomProperties.name="Baeldung"
|
|
||||||
#SnakingCasing
|
|
||||||
#custom_properties.name="Baeldung"
|
|
||||||
#KebabCasing
|
|
||||||
custom-properties.name="Baeldung"
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
## Spring Boot Properties
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Relevant Articles:
|
||||||
|
|
||||||
|
- [Using Environment Variables in Spring Boot’s Properties Files](https://www.baeldung.com/spring-boot-properties-env-variables)
|
||||||
|
- [Spring Boot Properties Prefix Must Be in Canonical Form](https://www.baeldung.com/spring-boot-properties-canonical-form)
|
||||||
|
- More articles: [[<-- Prev]](../spring-boot-properties-3)
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<artifactId>spring-boot-properties-4</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<name>spring-boot-properties-4</name>
|
||||||
|
<description>Spring Boot Properties Module</description>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>parent-boot-3</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<relativePath>../../parent-boot-3</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
|
@ -0,0 +1,13 @@
|
||||||
|
environment.name=${OS}
|
||||||
|
java.home.and.environment=${JAVA_HOME}+${OS}
|
||||||
|
not.existing.system.property=${thispropertydoesnotexist}
|
||||||
|
baeldung.presentation=${HELLO_BAELDUNG}. Java is installed in the folder: ${JAVA_HOME}
|
||||||
|
#---
|
||||||
|
#camelCasing
|
||||||
|
#customProperties.name="Baeldung"
|
||||||
|
#PascalCasing
|
||||||
|
#CustomProperties.name="Baeldung"
|
||||||
|
#SnakingCasing
|
||||||
|
#custom_properties.name="Baeldung"
|
||||||
|
#KebabCasing
|
||||||
|
custom-properties.name="Baeldung"
|
Loading…
Reference in New Issue