Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <overwrite>true</overwrite>
- <outputDirectory>${basedir}/target/${project.build.finalName}/WEB-INF/classes</outputDirectory>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>${basedir}/config</directory>
- <includes>
- <include>hibernate.cfg.xml</include>
- <include>hibernate-jobstairs.cfg.xml</include>
- <include>log4j.properties</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement