mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-03 23:52:48 +00:00
SPR-6447
+ move jdbc scripts from META-INF into /resources
This commit is contained in:
parent
521d01db95
commit
c0b90bf9ef
5 changed files with 6 additions and 4 deletions
4
pom.xml
4
pom.xml
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.springframework.samples</groupId>
|
<groupId>org.springframework.samples</groupId>
|
||||||
<artifactId>org.springframework.samples.petclinic</artifactId>
|
<artifactId>petclinic-classic</artifactId>
|
||||||
<name>petclinic-classic</name>
|
<name>petclinic-classic</name>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
@ -43,6 +43,7 @@
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
<artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
|
<artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
|
||||||
<version>1.2.0</version>
|
<version>1.2.0</version>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.xml.bind</groupId>
|
<groupId>javax.xml.bind</groupId>
|
||||||
|
@ -68,6 +69,7 @@
|
||||||
<groupId>org.apache.taglibs</groupId>
|
<groupId>org.apache.taglibs</groupId>
|
||||||
<artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
|
<artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
|
||||||
<version>1.1.2</version>
|
<version>1.1.2</version>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.aspectj</groupId>
|
<groupId>org.aspectj</groupId>
|
||||||
|
|
|
@ -23,9 +23,9 @@ jdbc.password=
|
||||||
|
|
||||||
# Properties that control the population of schema and data for a new data source
|
# Properties that control the population of schema and data for a new data source
|
||||||
jdbc.populate=true
|
jdbc.populate=true
|
||||||
jdbc.schemaLocation=classpath:/META-INF/hsqldb/initDB.txt
|
jdbc.schemaLocation=classpath:hsqldb/initDB.txt
|
||||||
jdbc.dataLocation=classpath:/META-INF/hsqldb/populateDB.txt
|
jdbc.dataLocation=classpath:hsqldb/populateDB.txt
|
||||||
jdbc.dropLocation=classpath:/META-INF/hsqldb/dropTables.txt
|
jdbc.dropLocation=classpath:hsqldb/dropTables.txt
|
||||||
|
|
||||||
# Property that determines which Hibernate dialect to use
|
# Property that determines which Hibernate dialect to use
|
||||||
# (only applied with "applicationContext-hibernate.xml")
|
# (only applied with "applicationContext-hibernate.xml")
|
||||||
|
|
Loading…
Reference in a new issue