lzm-clean-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.lzmien</groupId> <artifactId>lzm-clean-plugin</artifactId> <version>1.0</version> </dependency>
<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"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.lzmien</groupId> <artifactId>lzm-clean-plugin</artifactId> <version>1.0</version> <packaging>maven-plugin</packaging> <name>power-clean-plugin Maven Plugin</name> <!-- 项目描述 --> <description>这是一个用于清理项目的Maven插件,它可以帮助用户自动执行一些清理任务。</description> <!--项目url--> <url>https://github.com/LZMIEN/power-clean</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>lizemin</name> <email>lizemin816@gmail.com</email> <organization>lizemin</organization> <organizationUrl>https://blog.csdn.net/weixin_45642975/article/details/146274113</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git://github.com/LZMIEN/power-clean.git</connection> <developerConnection>scm:git:ssh://github.com/LZMIEN/power-clean.git</developerConnection> <url>https://github.com/LZMIEN/power-clean/tree/master</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.8.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-core</artifactId> <version>5.8.35</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!--发布插件的插件--> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> <!--生成Maven源码和文档--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <!-- 配置 maven-plugin-plugin 并指定 goalPrefix --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.13.1</version> <configuration> <goalPrefix>lizemin</goalPrefix> <!-- 这里指定插件的名字 --> </configuration> <executions> <execution> <goals> <goal>helpmojo</goal> <!--这里用来自动生成help文档--> </goals> </execution> </executions> </plugin> <!-- 配置编译插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> </project>