mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-08-20 12:30:44 +02:00
adding missing db profiles due to a wrong merge
This commit is contained in:
parent
40907bc479
commit
f39e82b016
@ -324,54 +324,109 @@
|
|||||||
<version>0.6.6</version>
|
<version>0.6.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>hsqldb</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>sql-maven-plugin</artifactId>
|
||||||
|
<version>1.5</version>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<driver>org.hsqldb.jdbc.JDBCDriver</driver>
|
||||||
|
<url>jdbc:hsqldb:file:${project.build.directory}/db/wisemapping</url>
|
||||||
|
<username>sa</username>
|
||||||
|
</configuration>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>5.1.5</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.hsqldb</groupId>
|
||||||
|
<artifactId>hsqldb</artifactId>
|
||||||
|
<version>2.2.8</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>drop-schemas</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>execute</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<onError>continue</onError>
|
||||||
|
<orderFile>descending</orderFile>
|
||||||
|
<fileset>
|
||||||
|
<basedir>${project.basedir}</basedir>
|
||||||
|
<includes>
|
||||||
|
<include>config/database/hsql/drop-schemas.sql</include>
|
||||||
|
<include>config/database/hsql/create-schemas.sql</include>
|
||||||
|
<include>config/database/hsql/apopulate-schemas.sql</include>
|
||||||
|
</includes>
|
||||||
|
</fileset>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>mysqldb</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>sql-maven-plugin</artifactId>
|
||||||
|
<version>1.5</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>5.1.5</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>init-schema</id>
|
||||||
|
<goals>
|
||||||
|
<goal>execute</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<driver>com.mysql.jdbc.Driver</driver>
|
||||||
|
<username>root</username>
|
||||||
|
<password></password>
|
||||||
|
<url>jdbc:mysql://127.0.0.1:3306/?useUnicode=true&characterEncoding=UTF-8</url>
|
||||||
|
<autocommit>false</autocommit>
|
||||||
|
<srcFiles>
|
||||||
|
<srcFile>config/database/mysql/create-database.sql</srcFile>
|
||||||
|
<srcFile>config/database/mysql/create-schemas.sql</srcFile>
|
||||||
|
<srcFile>config/database/mysql/test-data.sql</srcFile>
|
||||||
|
</srcFiles>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>sql-maven-plugin</artifactId>
|
|
||||||
<version>1.5</version>
|
|
||||||
|
|
||||||
<configuration>
|
|
||||||
<driver>org.hsqldb.jdbc.JDBCDriver</driver>
|
|
||||||
<url>jdbc:hsqldb:file:${project.build.directory}/db/wisemapping</url>
|
|
||||||
<username>sa</username>
|
|
||||||
</configuration>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>mysql</groupId>
|
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
|
||||||
<version>5.1.5</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hsqldb</groupId>
|
|
||||||
<artifactId>hsqldb</artifactId>
|
|
||||||
<version>2.2.8</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>drop-schemas</id>
|
|
||||||
<phase>prepare-package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>execute</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<onError>continue</onError>
|
|
||||||
<orderFile>descending</orderFile>
|
|
||||||
<fileset>
|
|
||||||
<basedir>${project.basedir}</basedir>
|
|
||||||
<includes>
|
|
||||||
<include>config/database/hsql/drop-schemas.sql</include>
|
|
||||||
<include>config/database/hsql/create-schemas.sql</include>
|
|
||||||
<include>config/database/hsql/apopulate-schemas.sql</include>
|
|
||||||
</includes>
|
|
||||||
</fileset>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>native2ascii-maven-plugin</artifactId>
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user