spring-attic / spring-social-samples

Samples of using Spring Social
http://projects.spring.io/spring-social
Apache License 2.0
531 stars 811 forks source link

resources are not copied by maven package in showcase app #4

Closed smishra closed 13 years ago

smishra commented 13 years ago

Following resources specified in appropriate java packages are not being packaged properly and because of that showcase webapp does not start properly.

org/springframework/social/showcase/config/application.properties org/springframework/social/showcase/config/security.xml

org/springframework/social/showcase/account/Account.sql org/springframework/social/showcase/account/data.sql

To work around this problem I moved these resources to src/main/resources

Now it deploys successfully.

habuma commented 13 years ago

Rather than separate Java-based configuration from non-Java configuration, I'd prefer to keep the non-Java config under src/main/java. So instead of moving them back to src/main/resources, I've adjusted the pom.xml to use src/main/java as a resources folder.