Skip to content

Commit

Permalink
build: Add mysql-test to maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
zemian committed Feb 28, 2019
1 parent 0f82063 commit 548a6ef
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,45 @@
</build>

<profiles>
<profile>
<id>mysql-test</id>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.15</version>
</dependency>
</dependencies>
<properties>
<liquibase.url>jdbc:mysql://localhost:3306/quartz?serverTimezone=EST</liquibase.url>
<liquibase.username>quartz</liquibase.username>
<liquibase.password>quartz123</liquibase.password>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<changeLogFile>org/quartz/impl/jdbcjobstore/liquibase.quartz.init.xml</changeLogFile>
<driver>com.mysql.cj.jdbc.Driver</driver>
<url>${liquibase.url}</url>
<username>${liquibase.username}</username>
<password>${liquibase.password}</password>
</configuration>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>update</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>postgres-test</id>
Expand Down

0 comments on commit 548a6ef

Please sign in to comment.