diff --git a/pom.xml b/pom.xml index d9b79897e2e09978ce9abeb5d9319dd632547abe..09e4330cf8df7a0eff13c215c854da212cd594cc 100644 --- a/pom.xml +++ b/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"> <modelVersion>4.0.0</modelVersion> <groupId>org.springframework.samples</groupId> - <artifactId>org.springframework.samples.petclinic</artifactId> + <artifactId>petclinic-classic</artifactId> <name>petclinic-classic</name> <packaging>war</packaging> <version>1.0.0-SNAPSHOT</version> @@ -43,6 +43,7 @@ <groupId>javax.servlet</groupId> <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId> <version>1.2.0</version> + <scope>provided</scope> </dependency> <dependency> <groupId>javax.xml.bind</groupId> @@ -68,6 +69,7 @@ <groupId>org.apache.taglibs</groupId> <artifactId>com.springsource.org.apache.taglibs.standard</artifactId> <version>1.1.2</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> diff --git a/src/main/webapp/META-INF/hsqldb/dropTables.txt b/src/main/resources/hsqldb/dropTables.txt similarity index 100% rename from src/main/webapp/META-INF/hsqldb/dropTables.txt rename to src/main/resources/hsqldb/dropTables.txt diff --git a/src/main/webapp/META-INF/hsqldb/initDB.txt b/src/main/resources/hsqldb/initDB.txt similarity index 100% rename from src/main/webapp/META-INF/hsqldb/initDB.txt rename to src/main/resources/hsqldb/initDB.txt diff --git a/src/main/webapp/META-INF/hsqldb/populateDB.txt b/src/main/resources/hsqldb/populateDB.txt similarity index 100% rename from src/main/webapp/META-INF/hsqldb/populateDB.txt rename to src/main/resources/hsqldb/populateDB.txt diff --git a/src/main/resources/jdbc.properties b/src/main/resources/jdbc.properties index e039cdf1b6c9599c1bbf54a49de043f7425990b6..47537f9cd43da9d47d75f4df5b61dd271aa04078 100644 --- a/src/main/resources/jdbc.properties +++ b/src/main/resources/jdbc.properties @@ -23,9 +23,9 @@ jdbc.password= # Properties that control the population of schema and data for a new data source jdbc.populate=true -jdbc.schemaLocation=classpath:/META-INF/hsqldb/initDB.txt -jdbc.dataLocation=classpath:/META-INF/hsqldb/populateDB.txt -jdbc.dropLocation=classpath:/META-INF/hsqldb/dropTables.txt +jdbc.schemaLocation=classpath:hsqldb/initDB.txt +jdbc.dataLocation=classpath:hsqldb/populateDB.txt +jdbc.dropLocation=classpath:hsqldb/dropTables.txt # Property that determines which Hibernate dialect to use # (only applied with "applicationContext-hibernate.xml")