+ <!-- ========================= PROFILE : db-create ========================= -->
+ <!-- How to execute from parent project:
+ 1.) mvn package -DskipTests
+ 2.) mvn integration-test -pl cdmlib-remote-webapp -Pdb-create
+ -->
+ <profile>
+ <id>db-create</id>
+ <activation>
+ <property>
+ <name>db-create</name>
+ </property>
+ </activation>
+ <properties>
+ <integrationTest.jvmArgs.cdm.datasource>h2_cdm_blank</integrationTest.jvmArgs.cdm.datasource>
+ <integrationTest.jvmArgs.cdm.forceSchemaCreate>true</integrationTest.jvmArgs.cdm.forceSchemaCreate>
+ <integrationTest.log4j.configuration>${project.build.directory}/target/test-classes/log4j.properties</integrationTest.log4j.configuration>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.16</version>
+ <configuration>
+ <forkCount>3</forkCount>
+ <reuseForks>true</reuseForks>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>**/ForceSchemaCreateIT.java</include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- ========================= DEFAULT-PROFILE : db-use ========================= -->
+ <profile>
+ <id>db-use</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <property>
+ <name>db-use</name>
+ </property>
+ </activation>
+ <properties>
+ <integrationTest.jvmArgs.cdm.datasource>h2_cdmTest</integrationTest.jvmArgs.cdm.datasource>
+ <integrationTest.jvmArgs.cdm.forceSchemaCreate>false</integrationTest.jvmArgs.cdm.forceSchemaCreate>
+ <integrationTest.log4j.configuration>${project.build.directory}/target/test-classes/log4j.properties</integrationTest.log4j.configuration>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.16</version>
+ <configuration>
+ <forkCount>3</forkCount>
+ <reuseForks>true</reuseForks>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <systemPropertyVariables>
+ <cdm.datasource>h2_cdmTest</cdm.datasource>
+ </systemPropertyVariables>
+ <excludes>
+ <exclude>**/ForceSchemaCreateIT.java</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>