Moved execution of liquibase:update goal to a new profile "liquibase-update".
Now it can be disabled with following argument for mvn commmand: "-P-liquibase-update" FEA: ItEr65S05DatabaseUpgradeItEr64S07
This commit is contained in:
parent
d4f6c55ae3
commit
b8cd0c3eed
1 changed files with 31 additions and 21 deletions
|
|
@ -122,6 +122,37 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<!-- LiquiBase liquibase:update -->
|
||||
<id>liquibase-update</id>
|
||||
<activation>
|
||||
<activeByDefault>true</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>true</propertyFileWillOverride>
|
||||
<propertyFile>target/classes/liquibase.properties</propertyFile>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>update</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
|
||||
<!-- Filtering -->
|
||||
|
|
@ -132,27 +163,6 @@
|
|||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<!-- LiquiBase plugin -->
|
||||
<plugin>
|
||||
<groupId>org.liquibase</groupId>
|
||||
<artifactId>liquibase-maven-plugin</artifactId>
|
||||
<version>2.0-rc7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<propertyFileWillOverride>true</propertyFileWillOverride>
|
||||
<propertyFile>target/classes/liquibase.properties</propertyFile>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>update</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue