add profile for testing migration for productized version

This commit is contained in:
Vlasta Ramik 2016-10-24 12:07:48 +02:00
parent dcaac76b4b
commit 3ca836ffdc
2 changed files with 103 additions and 85 deletions

View file

@ -216,4 +216,18 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>productized-server</id>
<activation>
<property>
<name>previous.product.unpacked.folder.name</name>
</property>
</activation>
<properties>
<keycloak.server.home>${project.build.directory}/unpacked/${previous.product.unpacked.folder.name}</keycloak.server.home>
</properties>
</profile>
</profiles>
</project> </project>

View file

@ -421,6 +421,7 @@
<skip.add.user.json>true</skip.add.user.json> <skip.add.user.json>true</skip.add.user.json>
</properties> </properties>
<build> <build>
<pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
@ -478,6 +479,7 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement>
</build> </build>
</profile> </profile>
@ -499,6 +501,7 @@
<skip.add.user.json>true</skip.add.user.json> <skip.add.user.json>true</skip.add.user.json>
</properties> </properties>
<build> <build>
<pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
@ -527,6 +530,7 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement>
</build> </build>
</profile> </profile>