Created a new profile "liquibase-updatesql" disabled by default that will execute liquibase:updateSQL goal.
* "liquibase-update" profile should be disable if you want to enable this new profile. The argument will be: "-P-liquibase-update,liquibase-updatesql" * If you want to pass just one ChangeLog file you should pass something like: "-Dliquibase.changeLogFile=src/main/resources/db.changelog-initial.xml" FEA: ItEr65S05DatabaseUpgradeItEr64S07
This commit is contained in:
parent
b8cd0c3eed
commit
bd9b632e41
1 changed files with 28 additions and 0 deletions
|
|
@ -151,6 +151,34 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<!-- LiquiBase liquibase:updateSQL -->
|
||||||
|
<id>liquibase-updatesql</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.liquibase</groupId>
|
||||||
|
<artifactId>liquibase-maven-plugin</artifactId>
|
||||||
|
<version>2.0-rc7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>process-resources</phase>
|
||||||
|
<configuration>
|
||||||
|
<propertyFileWillOverride>false</propertyFileWillOverride>
|
||||||
|
<propertyFile>target/classes/liquibase.properties</propertyFile>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>updateSQL</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue