A Maven plugin for copying, moving and deleting files and directories
The files-maven-plugin is a Maven plugin which copies, moves or deletes files and directories.
What file-maven-plugin will provide:
- Copying of files and directories
- Moving of files and directories
- Deletion of files and directories
What files-maven-plugin will NOT provide:
- Complete file management
- Renaming of files and directories
- A replacement for Ant or Gradle
The files-maven-plugin is written in Java, is very simplistic and does not very much.
- Java 8
- All leaf classes are final.
- Useful toString methods
- Maven site: https://ltennstedt.github.io/files-maven-plugin/index.html
- Maven plugin docs: https://ltennstedt.github.io/files-maven-plugin/plugin-info.html
files-maven-plugin is open source and free software and is licensed under the permissive Apache License.
files-maven-plugin is still in a very early state and a work in progress.
- JDK
- Maven
- Git (optional)
git clone https://github.com/ltennstedt/files-maven-plugin.git
cd files-maven-plugin
mvn install
This will clone the remote Git repository, build files-maven-plugin and install it into your local Maven repository.
The code formatting follows loosely the Google Java style guide found here on GitHub.
I searched for a Maven plugin which was able to copy some directories and I could not simply find one. Possible solutions were the use of the Maven Antrun Plugin, Ant or Gradle but none of them made me happy because I don't want to change the build automation tool or integrate a second one me into my Maven projects so I decided to start writing this plugin.
I find its assertions more readable in comparison to JUnit and Hamcrest and the fluent assertions are more IDE friendly.
- Please consider using free software
- Please consider using open standards
- Please consider using recent versions of software
- Please consider reporting bugs
- Please consider writing code, patches or documentation for free software projects
- Please consider joining communities via forums, mailing lists or irc
- Please consider donating to free software projects
- Please show some love with your code, tests and build file
- Oracle for the JVM, Java and OpenJDK
- the Eclipse Foundation for the Eclipse IDE
- Google for Error Prone
- the Apache Software Foundation for Maven, Commons Lang, Commons IO and the Apache License
- Joel Costigliola for AssertJ
- the JUnit team for JUnit
- Linus Torvalds for Git
- the developers of Checkstyle
- the developers of SpotBugs
- the developers of PMD
- the developers of JaCoCo and EclEmma
- GitHub for GitHub
- Travis CI for Travis CI
- Codecov for Codecov
- Stack Exchange for Stack Overflow
- Shields.io for Shields.io
- Judd Vinet and Aaron Griffin for Arch Linux