Liquibase.url' in properties file is not being used by this task

Hi,

I try to run liquibase update with maven : mvn liquibase:update

my pom:

		<dependency>
			<groupId>org.postgresql</groupId>
			<artifactId>postgresql</artifactId>
			<version>42.2.20</version>
		</dependency>
...
                      <plugin>
		        <groupId>org.liquibase</groupId>
		        <artifactId>liquibase-maven-plugin</artifactId>
		        <version>4.2.2</version>
		        <configuration>                  
		            <propertyFile>src/main/resources/liquibase.properties</propertyFile>
		        </configuration>                
		    </plugin> 

I have :
Failed to execute goal org.liquibase:liquibase-maven-plugin:4.2.2:update (default-cli) on project proxy-add: The database URL has not been specified either as a parameter or in a properties file. → [Help 1]

But in first past of the log i have:
[INFO] Parsing Liquibase Properties File
[INFO] File: src/main/resources/liquibase.properties
[INFO] ‘liquibase.enabled’ in properties file is not being used by this task.
[INFO] ‘liquibase.change-log’ in properties file is not being used by this task.
[INFO] ‘liquibase.url’ in properties file is not being used by this task.

So my liquibase properties file is found but liquibase don’t use the properties inside.
Anyone have a solution for this issues ?

Can you provide the contents of your liquibase.properties file?

yes this is my properties :

liquibase.change-log=classpath:db/liquibase-changelog.xml
liquibase.enabled=true
liquibase.url= {url of bdd }

I think you are using the wrong properties. Should be:

changeLogFile: db/liquibase-changelog.xml

(enabled is not a valid property for liquibase.properties file)

url: {url of bdd}

See this page for more info:
https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html