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:
Manuel Rego Casasnovas 2010-12-13 11:21:01 +01:00
parent b8cd0c3eed
commit bd9b632e41

View file

@ -151,6 +151,34 @@
</plugins>
</build>
</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>
<build>