수요일, 5월 22, 2024
HomeLanguagemaven-antrun-plugin 를 이용한 폴더생성하기

maven-antrun-plugin 를 이용한 폴더생성하기

maven-antrun-plugin 를 이용한 폴더생성하기

 

			<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>

 

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular