own-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.striveonger.common</groupId> <artifactId>own-parent</artifactId> <version>0.0.2</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>com.striveonger.common</groupId> <artifactId>own-parent</artifactId> <packaging>pom</packaging> <version>0.0.2</version> <name>own-parent</name> <description>自己常用的一些工具包, 旨在可以快速构建自己熟悉的开发环境.</description> <url>https://github.com/striveonger/own-commons</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <developers> <developer> <name>Mr.Lee</name> <email>striveonger@163.com</email> <url>https://blog.striveonger.com</url> </developer> </developers> <scm> <connection>scm:git:git://github.com/striveonger/own-commons.git</connection> <developerConnection>scm:git:ssh://github.com:striveonger/own-commons.git</developerConnection> <url>https://github.com/striveonger/own-commons/tree/master</url> </scm> <distributionManagement> <snapshotRepository> <id>central</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>central</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <!-- Ground Work --> <java.version>17</java.version> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format> </properties> <modules> <module>own-core</module> <module>own-db</module> <module>own-dep</module> <module>own-ext</module> <module>own-leaf</module> <module>own-storage</module> <module>own-test</module> <module>own-third-party</module> <module>own-user</module> <module>own-web</module> </modules> <dependencyManagement> <dependencies> <dependency> <groupId>com.striveonger.common</groupId> <artifactId>own-dep</artifactId> <version>0.0.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <configuration> <keyname>0D3E16A6F713BAF46CEEA5DAA3556BABF3785C3F</keyname> </configuration> <executions> <execution> <!-- id 与 setting.xml 的 gpg 配置中的 id 对应 --> <id>central</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- 配置方式:https://central.sonatype.org/publish/publish-portal-maven/#deploymentname --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <tokenAuth>true</tokenAuth> <!-- <excludeArtifacts> <excludeArtifact>xxx-yyy</excludeArtifact> </excludeArtifacts> --> </configuration> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.16.2</version> <configuration> <generateBackupPoms>false</generateBackupPoms> </configuration> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.6.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <configuration> <passphrase>Lin18733775865</passphrase> <keyname>0D3E16A6F713BAF46CEEA5DAA3556BABF3785C3F</keyname> </configuration> <executions> <execution> <id>central</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>