1 <plugin>
2 <artifactId>maven-resources-plugin</artifactId>
3 <version>2.5</version>
4 <executions>
5 <execution>
6 <id>copy-resources</id>
7 <phase>validate</phase>
8 <goals>
9 <goal>copy-resources</goal>
10 </goals>
11 <configuration>
12 <outputDirectory>${buildDirectory}/${fileName}/classes/com/cd/hbm</outputDirectory>
13 <resources>
14 <resource>
15 <directory>src/main/java/com/cd/hbm</directory>
16 <filtering>true</filtering>
17 </resource>
18 </resources>
19 </configuration>
20 </execution>
21 </executions>
22 </plugin>