Hi,
Can anyone tell me why if I run “mvn clean install” with the below configuration both databases are updated but if I run “mvn liquibase:update” I got the error “The database URL has not been specified either as a parameter or in a properties file”?
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.21.0</version>
<executions>
<execution>
<id>1</id>
<phase>process-resources</phase>
<configuration>
<propertyFile>uat1-owner/liquibase.properties</propertyFile>
</configuration>
<goals>
<goal>update</goal>
</goals>
</execution>
<execution>
<id>2</id>
<phase>process-resources</phase>
<configuration>
<propertyFile>uat2-owner/liquibase.properties</propertyFile>
</configuration>
<goals>
<goal>update</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Thanks in advance.