bookmark

Copying Files With Maven | Baeldung


Описание

<plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.0.2</version> <executions> <execution> <id>copy-resource-one</id> <phase>generate-sources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/destination-folder</outputDirectory> <resources> <resource> <directory>source-files</directory> <includes> <include>foo.txt</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin>

тэги

Пользователи данного ресурса

  • @jil

Комментарии и рецензии