KEYCLOAK-13111 Move execution of db-allocator-plugin to jpa profile
This commit is contained in:
parent
9f3a6de453
commit
f1e54455e7
2 changed files with 43 additions and 29 deletions
|
@ -276,21 +276,7 @@
|
|||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<!-- Just allocate the DB now. It will be released after the tests, so the "release" is declared in the base-tests module -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>db-allocator-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>allocate-db</id>
|
||||
<goals>
|
||||
<goal>allocate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
|
@ -336,6 +322,28 @@
|
|||
</modules>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jpa</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Just allocate the DB now. It will be released after the tests, so the "release" is declared in the base-tests module -->
|
||||
<plugin>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>db-allocator-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>allocate-db</id>
|
||||
<goals>
|
||||
<goal>allocate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>test-70-migration</id>
|
||||
<properties>
|
||||
|
|
|
@ -350,6 +350,15 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jpa</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- DB will be released after the test -->
|
||||
<plugin>
|
||||
<groupId>org.keycloak</groupId>
|
||||
|
@ -364,12 +373,9 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>product</id>
|
||||
<activation>
|
||||
|
|
Loading…
Reference in a new issue