# countfiles-plugin **Repository Path**: lixiaobin2018/countfiles-plugin ## Basic Information - **Project Name**: countfiles-plugin - **Description**: Maven编写插件统计项目中某一类型文件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-06 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### countfiles-plugin ##### maven编写plugn统计项目的某一文件类型的数量 ```java @Parameter(property = "currentBaseDir",defaultValue = "User/pathHome") private String currentBaseDir; // 这个参数是引入本插件的工程传进来的文件夹 @Parameter(property = "suffix",defaultValue = ".java") private String suffix; // 这个参数是引入本插件的工程传入进来的文件类型 (例如.java) ``` ##### 使用 ```xml com.lb.mygupao countfiles-plugin 1.0-SNAPSHOT ${basedir} .java count-files clean ```