Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <plugin>
  2. <artifactId>maven-resources-plugin</artifactId>
  3. <version>2.4</version>
  4. <executions>
  5. <execution>
  6. <id>copy-resources</id>
  7. <phase>prepare-package</phase>
  8. <goals>
  9. <goal>copy-resources</goal>
  10. </goals>
  11. <configuration>
  12. <overwrite>true</overwrite>
  13. <outputDirectory>${basedir}/target/${project.build.finalName}/WEB-INF/classes</outputDirectory>
  14. <resources>
  15. <resource>
  16. <filtering>true</filtering>
  17. <directory>${basedir}/config</directory>
  18. <includes>
  19. <include>hibernate.cfg.xml</include>
  20. <include>hibernate-jobstairs.cfg.xml</include>
  21. <include>log4j.properties</include>
  22. </includes>
  23. </resource>
  24. </resources>
  25. </configuration>
  26. </execution>
  27. </executions>
  28. </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement