화요일, 12월 10, 2024
HomeLanguagemaven-antrun-plugin 를 이용한 zip압축하기

maven-antrun-plugin 를 이용한 zip압축하기

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.8</version>
				<executions>
					<execution>
						<id>attach-artifact</id>
						<phase>package</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<target>
								<zip destfile="target/webroot.zip" basedir="${target.webroot.dir}"
									includes="**/*" />
								<zip destfile="target/wasroot.zip" basedir="${target.wasroot.dir}"
									includes="**/*" />
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>

 

maven-antrun-plugin 를 이용한 zip압축하기

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular