|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <properties> |
| 7 | + <java.version>1.8</java.version> |
| 8 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 9 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 10 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 11 | + <maven.compiler.encoding>UTF-8</maven.compiler.encoding> |
| 12 | + </properties> |
| 13 | + <groupId>cc.carm.lib</groupId> |
| 14 | + <artifactId>MineConfiguration</artifactId> |
| 15 | + <version>1.0.0</version> |
| 16 | + <packaging>pom</packaging> |
| 17 | + |
| 18 | + <developers> |
| 19 | + <developer> |
| 20 | + <id>CarmJos</id> |
| 21 | + <name>Carm Jos</name> |
| 22 | + <email>carm@carm.cc</email> |
| 23 | + <url>https://www.carm.cc</url> |
| 24 | + <timezone>Asia/Shanghai</timezone> |
| 25 | + </developer> |
| 26 | + </developers> |
| 27 | + |
| 28 | + <scm> |
| 29 | + <connection>scm:git:git@github.com:CarmJos/Easy.MineConfiguration</connection> |
| 30 | + <developerConnection>scm:git:git@github.com:CarmJos/MineConfiguration.git</developerConnection> |
| 31 | + <url>https://github.com/CarmJos/MineConfiguration</url> |
| 32 | + <tag>HEAD</tag> |
| 33 | + </scm> |
| 34 | + |
| 35 | + <licenses> |
| 36 | + <license> |
| 37 | + <name>The MIT License</name> |
| 38 | + <url>https://opensource.org/licenses/MIT</url> |
| 39 | + </license> |
| 40 | + </licenses> |
| 41 | + |
| 42 | + <issueManagement> |
| 43 | + <system>GitHub Issues</system> |
| 44 | + <url>https://github.com/CarmJos/MineConfiguration/issues</url> |
| 45 | + </issueManagement> |
| 46 | + |
| 47 | + <ciManagement> |
| 48 | + <system>GitHub Actions</system> |
| 49 | + <url>https://github.com/CarmJos/MineConfiguration/actions/workflows/maven.yml</url> |
| 50 | + </ciManagement> |
| 51 | + |
| 52 | + <repositories> |
| 53 | + |
| 54 | + <repository> |
| 55 | + <id>carm-repo</id> |
| 56 | + <name>Carm's Repo</name> |
| 57 | + <url>https://repo.carm.cc/repository/maven-public/</url> |
| 58 | + </repository> |
| 59 | + |
| 60 | + <repository> |
| 61 | + <id>nexus</id> |
| 62 | + <url>https://mvn.lumine.io/repository/maven-public/</url> |
| 63 | + </repository> |
| 64 | + |
| 65 | + <repository> |
| 66 | + <id>central</id> |
| 67 | + <url>https://repo1.maven.org/maven2/</url> |
| 68 | + </repository> |
| 69 | + |
| 70 | + <repository> |
| 71 | + <id>github</id> |
| 72 | + <name>GitHub Packages</name> |
| 73 | + <url>https://maven.pkg.github.com/CarmJos/*</url> |
| 74 | + </repository> |
| 75 | + |
| 76 | + </repositories> |
| 77 | + |
| 78 | + <distributionManagement> |
| 79 | + <downloadUrl>https://github.com/CarmJos/MineConfiguration/releases</downloadUrl> |
| 80 | + <site> |
| 81 | + <id>javadoc</id> |
| 82 | + <name>EasySQL JavaDoc (on Github Pages)</name> |
| 83 | + <url>https://CarmJos.github.io/MineConfiguration</url> |
| 84 | + </site> |
| 85 | + </distributionManagement> |
| 86 | + |
| 87 | + <dependencies> |
| 88 | + |
| 89 | + <dependency> |
| 90 | + <groupId>junit</groupId> |
| 91 | + <artifactId>junit</artifactId> |
| 92 | + <version>4.13.2</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + |
| 96 | + <dependency> |
| 97 | + <groupId>org.jetbrains</groupId> |
| 98 | + <artifactId>annotations</artifactId> |
| 99 | + <version>23.0.0</version> |
| 100 | + <scope>provided</scope> |
| 101 | + </dependency> |
| 102 | + |
| 103 | + </dependencies> |
| 104 | + |
| 105 | + |
| 106 | + <build> |
| 107 | + |
| 108 | + <plugins> |
| 109 | + <plugin> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-surefire-plugin</artifactId> |
| 112 | + <version>2.22.2</version> |
| 113 | + <configuration> |
| 114 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + <plugin> |
| 118 | + <groupId>org.apache.maven.plugins</groupId> |
| 119 | + <artifactId>maven-gpg-plugin</artifactId> |
| 120 | + <version>3.0.1</version> |
| 121 | + <executions> |
| 122 | + <execution> |
| 123 | + <id>sign-artifacts</id> |
| 124 | + <phase>verify</phase> |
| 125 | + <goals> |
| 126 | + <goal>sign</goal> |
| 127 | + </goals> |
| 128 | + </execution> |
| 129 | + </executions> |
| 130 | + <configuration> |
| 131 | + <gpgArguments> |
| 132 | + <arg>--pinentry-mode</arg> |
| 133 | + <arg>loopback</arg> |
| 134 | + </gpgArguments> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + <plugin> |
| 138 | + <groupId>org.apache.maven.plugins</groupId> |
| 139 | + <artifactId>maven-release-plugin</artifactId> |
| 140 | + <version>2.5.3</version> |
| 141 | + <configuration> |
| 142 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 143 | + <useReleaseProfile>false</useReleaseProfile> |
| 144 | + <releaseProfiles>release</releaseProfiles> |
| 145 | + <goals>deploy</goals> |
| 146 | + </configuration> |
| 147 | + </plugin> |
| 148 | + </plugins> |
| 149 | + |
| 150 | + <pluginManagement> |
| 151 | + <plugins> |
| 152 | + |
| 153 | + <plugin> |
| 154 | + <groupId>org.apache.maven.plugins</groupId> |
| 155 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 156 | + <version>3.3.2</version> |
| 157 | + <configuration> |
| 158 | + <classifier>javadoc</classifier> |
| 159 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 160 | + <encoding>UTF-8</encoding> |
| 161 | + <charset>UTF-8</charset> |
| 162 | + <docencoding>UTF-8</docencoding> |
| 163 | + <locale>zh_CN</locale> |
| 164 | + |
| 165 | + <includeDependencySources>true</includeDependencySources> |
| 166 | + <dependencySourceIncludes> |
| 167 | + <dependencySourceInclude>cc.carm.lib:*</dependencySourceInclude> |
| 168 | + </dependencySourceIncludes> |
| 169 | + </configuration> |
| 170 | + <executions> |
| 171 | + <execution> |
| 172 | + <id>attach-javadocs</id> |
| 173 | + <goals> |
| 174 | + <goal>jar</goal> |
| 175 | + </goals> |
| 176 | + </execution> |
| 177 | + </executions> |
| 178 | + </plugin> |
| 179 | + |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-compiler-plugin</artifactId> |
| 183 | + <version>3.10.1</version> |
| 184 | + <configuration> |
| 185 | + <source>${java.version}</source> |
| 186 | + <target>${java.version}</target> |
| 187 | + <encoding>UTF-8</encoding> |
| 188 | + <compilerArgument>-parameters</compilerArgument> |
| 189 | + </configuration> |
| 190 | + </plugin> |
| 191 | + |
| 192 | + <plugin> |
| 193 | + <groupId>org.apache.maven.plugins</groupId> |
| 194 | + <artifactId>maven-jar-plugin</artifactId> |
| 195 | + <version>3.2.2</version> |
| 196 | + </plugin> |
| 197 | + |
| 198 | + <plugin> |
| 199 | + <groupId>org.apache.maven.plugins</groupId> |
| 200 | + <artifactId>maven-source-plugin</artifactId> |
| 201 | + <version>3.2.1</version> |
| 202 | + <executions> |
| 203 | + <execution> |
| 204 | + <phase>package</phase> |
| 205 | + <goals> |
| 206 | + <goal>jar-no-fork</goal> |
| 207 | + </goals> |
| 208 | + </execution> |
| 209 | + </executions> |
| 210 | + </plugin> |
| 211 | + |
| 212 | + <plugin> |
| 213 | + <groupId>org.apache.maven.plugins</groupId> |
| 214 | + <artifactId>maven-shade-plugin</artifactId> |
| 215 | + <version>3.3.0</version> |
| 216 | + <executions> |
| 217 | + <execution> |
| 218 | + <phase>package</phase> |
| 219 | + <goals> |
| 220 | + <goal>shade</goal> |
| 221 | + </goals> |
| 222 | + <configuration> |
| 223 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 224 | + </configuration> |
| 225 | + </execution> |
| 226 | + </executions> |
| 227 | + <configuration> |
| 228 | + <filters> |
| 229 | + <filter> |
| 230 | + <artifact>*:*</artifact> |
| 231 | + <excludes> |
| 232 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 233 | + <exclude>META-INF/*.txt</exclude> |
| 234 | + </excludes> |
| 235 | + </filter> |
| 236 | + </filters> |
| 237 | + </configuration> |
| 238 | + </plugin> |
| 239 | + |
| 240 | + |
| 241 | + </plugins> |
| 242 | + </pluginManagement> |
| 243 | + |
| 244 | + <resources> |
| 245 | + <resource> |
| 246 | + <directory>src/main/resources</directory> |
| 247 | + <filtering>true</filtering> |
| 248 | + </resource> |
| 249 | + </resources> |
| 250 | + |
| 251 | + </build> |
| 252 | + |
| 253 | + <profiles> |
| 254 | + |
| 255 | + <profile> |
| 256 | + <id>ossrh</id> |
| 257 | + <distributionManagement> |
| 258 | + <snapshotRepository> |
| 259 | + <id>ossrh</id> |
| 260 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 261 | + </snapshotRepository> |
| 262 | + |
| 263 | + <repository> |
| 264 | + <id>ossrh</id> |
| 265 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 266 | + </repository> |
| 267 | + </distributionManagement> |
| 268 | + </profile> |
| 269 | + |
| 270 | + <profile> |
| 271 | + <id>github</id> |
| 272 | + <distributionManagement> |
| 273 | + <repository> |
| 274 | + <id>github</id> |
| 275 | + <name>GitHub Packages</name> |
| 276 | + <url>https://maven.pkg.github.com/CarmJos/MineConfiguration</url> |
| 277 | + </repository> |
| 278 | + </distributionManagement> |
| 279 | + </profile> |
| 280 | + |
| 281 | + </profiles> |
| 282 | + |
| 283 | + |
| 284 | +</project> |
0 commit comments