maven-antrun-plugin 를 이용한 폴더생성하기
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>antrun1</id> <phase>prepare-package</phase> <configuration> <tasks> <mkdir dir="${target.web.common.ssl.dir}" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>antrun2</id> <phase>prepare-package</phase> <configuration> <tasks> <mkdir dir="${target.web.css.dir}" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> |