Example shows how to copy file(s) with Maven
Build!!
<!-- copy files --><plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>copy-config</id> <!-- here the phase you need --> <phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/directory</outputDirectory> <resources> <resource> <filtering>true</filtering> <directory>src/source/directory</directory> <includes> <include>file_to_copy</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin>
Build!!
Your post is helping me a lot. Its really nice and epic. Thanks a lot for the useful info on this topic. You did it so much well. I love to see more about GB WhatsApp. Keep sharing and updating. Also share more posts with us. Thank you.
ReplyDelete