maven-antrun-plugin 를 이용한 source내 문자열 바꾸기
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>antrun4</id> <phase>prepare-package</phase> <configuration> <tasks> <replace token="("/images" value="("${cdn.url}/images" dir="${target.web.css.dir}"> <include name="**/*" /> </replace> <replace token="('/images" value="('${cdn.url}/images" dir="${target.web.css.dir}"> <include name="**/*" /> </replace> <replace token="(/images" value="(${cdn.url}/images" dir="${target.web.css.dir}"> <include name="**/*" /> </replace> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin>