Change db configuration

0.2
lishengzhao 2014-01-18 14:14:11 +08:00
parent 14433d66fb
commit 50ba713042
1 changed files with 37 additions and 37 deletions

74
pom.xml
View File

@ -83,45 +83,45 @@
</configuration> </configuration>
</plugin> </plugin>
<!--<plugin>--> <plugin>
<!--<groupId>org.codehaus.mojo</groupId>--> <groupId>org.codehaus.mojo</groupId>
<!--<artifactId>sql-maven-plugin</artifactId>--> <artifactId>sql-maven-plugin</artifactId>
<!--<version>1.4</version>--> <version>1.4</version>
<!--<dependencies>--> <dependencies>
<!--<dependency>--> <dependency>
<!--<groupId>mysql</groupId>--> <groupId>mysql</groupId>
<!--<artifactId>mysql-connector-java</artifactId>--> <artifactId>mysql-connector-java</artifactId>
<!--<version>5.1.6</version>--> <version>5.1.6</version>
<!--</dependency>--> </dependency>
<!--</dependencies>--> </dependencies>
<!--<configuration>--> <configuration>
<!--<driver>${jdbc.driver}</driver>--> <driver>${jdbc.driver}</driver>
<!--<url>${jdbc.url}</url>--> <url>${jdbc.url}</url>
<!--<username>${jdbc.user}</username>--> <username>${jdbc.user}</username>
<!--<password>${jdbc.pass}</password>--> <password>${jdbc.pass}</password>
<!--<skip>${jdbc.execute.skip}</skip>--> <skip>${jdbc.execute.skip}</skip>
<!--</configuration>--> </configuration>
<!--<executions>--> <executions>
<!--<execution>--> <execution>
<!--<id>init db</id>--> <id>init db</id>
<!--<phase>initialize</phase>--> <phase>initialize</phase>
<!--<goals>--> <goals>
<!--<goal>execute</goal>--> <goal>execute</goal>
<!--</goals>--> </goals>
<!--<configuration>--> <configuration>
<!--<url>${jdbc.url}</url>--> <url>${jdbc.url}</url>
<!--<autocommit>true</autocommit>--> <autocommit>true</autocommit>
<!--<srcFiles>--> <srcFiles>
<!--<srcFile>others/database/initial_db.ddl</srcFile>--> <srcFile>others/database/initial_db.ddl</srcFile>
<!--&lt;!&ndash;<srcFile>others/database/ddl/init-data.sql</srcFile>&ndash;&gt;--> <srcFile>others/database/oauth.ddl</srcFile>
<!--</srcFiles>--> </srcFiles>
<!--<onError>continue</onError>--> <onError>continue</onError>
<!--</configuration>--> </configuration>
<!--</execution>--> </execution>
<!--</executions>--> </executions>
<!--</plugin>--> </plugin>
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.4</version> <version>2.4</version>