문제

i am new to maven. I am trying to zip some content and put it in a desired location but while using the Assembly Plugin the zip file is getting created in the 'target' folder of my project. How can I save it in a desired location ??

도움이 되었습니까?

해결책

please add below line to your pom.xml inside assembly plugin configuration

   <configuration>
      <outputDirectory>output/directory</outputDirectory>
    </configuration>

For outputDirectory set the path where you want save your zip file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top