2021-05-13 16:05:17 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-08-02 14:57:15 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2021-05-13 16:05:17 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-08-02 14:57:15 -04:00
|
|
|
<groupId>org.baeldung</groupId>
|
|
|
|
<artifactId>copy-rename-maven-plugin</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>copy-rename-maven-plugin</name>
|
|
|
|
|
2021-05-13 16:05:17 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2021-10-29 00:07:04 -04:00
|
|
|
<artifactId>maven-copy-files</artifactId>
|
2021-05-13 16:05:17 -04:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
2021-08-02 14:57:15 -04:00
|
|
|
|
2021-05-13 16:05:17 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.coderplus.maven.plugins</groupId>
|
|
|
|
<artifactId>copy-rename-maven-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-file</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceFile>source-files/foo.txt</sourceFile>
|
|
|
|
<destinationFile>target/destination-folder/foo.txt</destinationFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
|
<plugins>
|
|
|
|
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</plugin>
|
|
|
|
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.0</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2021-11-09 11:42:33 -05:00
|
|
|
<version>2.22.2</version>
|
2021-05-13 16:05:17 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>2.5.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.8.2</version>
|
|
|
|
</plugin>
|
|
|
|
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>3.7.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2021-08-02 14:57:15 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|