wrench-bom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.zhp1221</groupId> <artifactId>wrench-bom</artifactId> <version>1.0.4</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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.zhp1221</groupId> <artifactId>wrench-bom</artifactId> <version>1.0.4</version> <name>wrench-bom</name> <description>wrench modules design framework</description> <url>https://github.com/zhp1221/wrench-component</url> <licenses> <license> <name>Apache License</name> <url>https://opensource.org/license/apache-2-0/</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>test</id> <name>zhp</name> <email>zhanghp1221@126.com</email> <url>https://github.com/zhp1221</url> <organization>zhp-wrench</organization> <organizationUrl>https://github.com/zhp1221/wrench-component</organizationUrl> <roles> <role>Project Manager</role> <role>Developer</role> </roles> <timezone>Asia/Hangzhou</timezone> </developer> </developers> <scm> <connection>scm:git:https://github.com/zhp1221/wrench-component.git</connection> <developerConnection>scm:git:https://github.com/zhp1221/wrench-component.git</developerConnection> <tag>HEAD</tag> <url>https://github.com/zhp1221/wrench-component</url> </scm> <packaging>pom</packaging> <dependencyManagement> <dependencies> <dependency> <groupId>io.github.zhp1221</groupId> <artifactId>wrench-starter-design-framwork</artifactId> <version>1.0.4</version> </dependency> </dependencies> </dependencyManagement> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>**/** </include> </includes> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>true</filtering> <includes> <include>**/** </include> </includes> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.2.0</version> <configuration> <encoding>UTF-8</encoding> <resources> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> </resource> </resources> </configuration> </plugin> <!-- central发布插件 --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>test</publishingServerId> <tokenAuth>true</tokenAuth> </configuration> </plugin> <!-- source源码插件 --> <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> <!-- javadoc插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <additionalJOption>-Xdoclint:none</additionalJOption> </configuration> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <additionalparam>-Xdoclint:none</additionalparam> <!-- /Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc --> <javadocExecutable>${java.home}${file.separator}..${file.separator}bin${file.separator}javadoc</javadocExecutable> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> <dependencyReducedPomLocation>${project.build.directory}/${project.artifactId}-${project.version}.pom</dependencyReducedPomLocation> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> <!--gpg加密--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <configuration> <!--指定用于签名的 GPG 密钥名称。--> <keyname>test</keyname> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.nicoulaj.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.10</version> <executions> <execution> <id>create-checksums</id> <goals> <goal>artifacts</goal> </goals> <configuration> <algorithms> <algorithm>MD5</algorithm> <algorithm>SHA-1</algorithm> </algorithms> <attachChecksums>true</attachChecksums> </configuration> </execution> <execution> <id>create-pom-checksums</id> <goals> <goal>files</goal> </goals> <configuration> <fileSets> <fileSet> <directory>${project.build.directory}</directory> <includes> <include>*.pom</include> </includes> </fileSet> </fileSets> <algorithms> <algorithm>MD5</algorithm> <algorithm>SHA-1</algorithm> </algorithms> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>