|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 |
|
7 |
| - <groupId>top.mryan2005</groupId> |
| 7 | + <groupId>top.mryan2005.maven</groupId> |
8 | 8 | <artifactId>simplifiedjava</artifactId>
|
9 | 9 | <version>1.0.6-beta</version>
|
10 | 10 |
|
|
20 | 20 | </developer>
|
21 | 21 | </developers>
|
22 | 22 |
|
| 23 | + <licenses> |
| 24 | + <license> |
| 25 | + <name>The Apache Software License, Version 2.0</name> |
| 26 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 27 | + </license> |
| 28 | + </licenses> |
| 29 | + <description>This is a Java library that can help you to write Java code more easily. I think it is just like the file bits/stdc++.h in C++, so I named it JavaPlusPlus.</description> |
| 30 | + <url>https://github.com/Mryan2005/SimplifiedJava</url> |
| 31 | + <scm> |
| 32 | + <connection>https://github.com/Mryan2005/SimplifiedJava.git</connection> |
| 33 | + < developerConnection>scm:git:ssh:// [email protected]/Mryan2005/SimplifiedJava.git |
| 34 | + </developerConnection> |
| 35 | + <url>https://github.com/Mryan2005/SimplifiedJava</url> |
| 36 | + </scm> |
23 | 37 | <properties>
|
24 | 38 | <java.version>21</java.version>
|
25 | 39 | <maven.compiler.source>21</maven.compiler.source>
|
|
78 | 92 | <target>${maven.compiler.target}</target>
|
79 | 93 | </configuration>
|
80 | 94 | </plugin>
|
| 95 | + <!-- central发布插件 --> |
| 96 | + <plugin> |
| 97 | + <groupId>org.sonatype.central</groupId> |
| 98 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 99 | + <version>0.4.0</version> |
| 100 | + <extensions>true</extensions> |
| 101 | + <configuration> |
| 102 | + <publishingServerId>Mryan2005</publishingServerId> |
| 103 | + <tokenAuth>true</tokenAuth> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + <!-- source源码插件 --> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-source-plugin</artifactId> |
| 110 | + <version>2.2.1</version> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <id>attach-sources</id> |
| 114 | + <goals> |
| 115 | + <goal>jar-no-fork</goal> |
| 116 | + </goals> |
| 117 | + </execution> |
| 118 | + </executions> |
| 119 | + </plugin> |
| 120 | + <!-- javadoc插件 --> |
| 121 | + <plugin> |
| 122 | + <groupId>org.apache.maven.plugins</groupId> |
| 123 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 124 | + <version>2.9.1</version> |
| 125 | + <executions> |
| 126 | + <execution> |
| 127 | + <id>attach-javadocs</id> |
| 128 | + <goals> |
| 129 | + <goal>jar</goal> |
| 130 | + </goals> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + </plugin> |
| 134 | + <plugin> |
| 135 | + <groupId>org.apache.maven.plugins</groupId> |
| 136 | + <artifactId>maven-gpg-plugin</artifactId> |
| 137 | + <version>1.5</version> |
| 138 | + <configuration> |
| 139 | + <executable>C:\Program Files\Git\usr\bin\gpg.exe</executable> |
| 140 | + <keyname>top.mryan2005.maven</keyname> |
| 141 | + </configuration> |
| 142 | + <executions> |
| 143 | + <execution> |
| 144 | + <id>sign-artifacts</id> |
| 145 | + <phase>verify</phase> |
| 146 | + <goals> |
| 147 | + <goal>sign</goal> |
| 148 | + </goals> |
| 149 | + </execution> |
| 150 | + </executions> |
| 151 | + </plugin> |
81 | 152 | </plugins>
|
82 | 153 | </build>
|
83 | 154 |
|
|
0 commit comments