|
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.dreamlike</groupId> |
| 7 | + <name>UnsafeJava</name> |
| 8 | + <description>提供无需添加额外启动参数就可以使用各种内部api的解决方案</description> |
| 9 | + <url>https://github.com/dreamlike-ocean/UnsafeJava</url> |
| 10 | + <groupId>io.github.dreamlike-ocean</groupId> |
8 | 11 | <artifactId>unsafe-java</artifactId> |
9 | | - <version>1.0-SNAPSHOT</version> |
| 12 | + <version>1.0</version> |
10 | 13 | <packaging>pom</packaging> |
11 | 14 |
|
| 15 | + <licenses> |
| 16 | + <license> |
| 17 | + <name>MIT License</name> |
| 18 | + <url>https://opensource.org/licenses/MIT</url> |
| 19 | + <distribution>repo</distribution> |
| 20 | + </license> |
| 21 | + </licenses> |
| 22 | + <scm> |
| 23 | + <url>https://github.com/dreamlike-ocean/UnsafeJava</url> |
| 24 | + <connection>https://github.com/dreamlike-ocean/UnsafeJava.git</connection> |
| 25 | + </scm> |
| 26 | + |
| 27 | + <developers> |
| 28 | + <developer> |
| 29 | + <name>dreamlike-ocean</name> |
| 30 | + <id>dreamlike-ocean</id> |
| 31 | + |
| 32 | + <roles> |
| 33 | + <role>owner</role> |
| 34 | + </roles> |
| 35 | + <timezone>+8</timezone> |
| 36 | + </developer> |
| 37 | + </developers> |
| 38 | + |
12 | 39 | <modules> |
13 | 40 | <module>unsafe-vthread</module> |
14 | 41 | <module>vertx-ext</module> |
|
17 | 44 |
|
18 | 45 | <properties> |
19 | 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
20 | | - <java.version>21</java.version> |
| 47 | + <java.version>22</java.version> |
| 48 | + <core.version>1.2</core.version> |
21 | 49 | </properties> |
22 | 50 |
|
23 | 51 | <dependencyManagement> |
24 | 52 | <dependencies> |
25 | 53 | <dependency> |
26 | | - <groupId>top.dreamlike</groupId> |
| 54 | + <groupId>io.github.dreamlike-ocean</groupId> |
27 | 55 | <artifactId>unsafe-core</artifactId> |
28 | | - <version>1.0</version> |
| 56 | + <version>${core.version}</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>io.github.dreamlike-ocean</groupId> |
| 60 | + <artifactId>unsafe-vthread</artifactId> |
| 61 | + <version>1.0.0</version> |
29 | 62 | </dependency> |
30 | 63 | </dependencies> |
31 | 64 | </dependencyManagement> |
32 | 65 |
|
33 | | - <build> |
34 | | - <plugins> |
35 | | - <plugin> |
36 | | - <groupId>org.apache.maven.plugins</groupId> |
37 | | - <artifactId>maven-compiler-plugin</artifactId> |
38 | | - <executions> |
39 | | - <execution> |
40 | | - <id>compile</id> |
41 | | - <phase>compile</phase> |
42 | | - <goals> |
43 | | - <goal>compile</goal> |
44 | | - </goals> |
45 | | - </execution> |
46 | | - <execution> |
47 | | - <id>testCompile</id> |
48 | | - <phase>test-compile</phase> |
49 | | - <goals> |
50 | | - <goal>testCompile</goal> |
51 | | - </goals> |
52 | | - </execution> |
53 | | - </executions> |
54 | | - <configuration> |
55 | | - <parameters>true</parameters> |
56 | | - <source>${java.version}</source> |
57 | | - <target>${java.version}</target> |
58 | | - <encoding>UTF-8</encoding> |
59 | | - <compilerArgument> |
60 | | - --enable-preview |
61 | | - </compilerArgument> |
62 | | - </configuration> |
63 | | - </plugin> |
64 | | - </plugins> |
65 | | - </build> |
| 66 | + <profiles> |
| 67 | + <profile> |
| 68 | + <id>default</id> |
| 69 | + <activation> |
| 70 | + <activeByDefault>true</activeByDefault> |
| 71 | + </activation> |
| 72 | + <build> |
| 73 | + <plugins> |
| 74 | + <plugin> |
| 75 | + <groupId>org.sonatype.plugins</groupId> |
| 76 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 77 | + <version>1.6.13</version> |
| 78 | + <extensions>true</extensions> |
| 79 | + <configuration> |
| 80 | + <serverId>ossrh</serverId> |
| 81 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 82 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 83 | + </configuration> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-source-plugin</artifactId> |
| 88 | + <version>3.2.1</version> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <id>attach-sources</id> |
| 92 | + <goals> |
| 93 | + <goal>jar-no-fork</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + <plugin> |
| 99 | + <groupId>org.apache.maven.plugins</groupId> |
| 100 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 101 | + <version>3.4.1</version> |
| 102 | + <configuration> |
| 103 | + <release>${java.version}</release> |
| 104 | + <!-- jdk1.8要加上,1.7要去掉,否则会报错 --> |
| 105 | + <additionalJOptions> |
| 106 | + <additionalJOption>-Xdoclint:none</additionalJOption> |
| 107 | + <additonalJOption>--enable-preview</additonalJOption> |
| 108 | + </additionalJOptions> |
| 109 | + </configuration> |
| 110 | + <executions> |
| 111 | + <execution> |
| 112 | + <id>attach-javadocs</id> |
| 113 | + <goals> |
| 114 | + <goal>jar</goal> |
| 115 | + </goals> |
| 116 | + </execution> |
| 117 | + </executions> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.apache.maven.plugins</groupId> |
| 121 | + <artifactId>maven-gpg-plugin</artifactId> |
| 122 | + <version>1.5</version> |
| 123 | + <executions> |
| 124 | + <execution> |
| 125 | + <id>sign-artifacts</id> |
| 126 | + <phase>verify</phase> |
| 127 | + <goals> |
| 128 | + <goal>sign</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + </executions> |
| 132 | + </plugin> |
| 133 | + </plugins> |
| 134 | + </build> |
| 135 | + <distributionManagement> |
| 136 | + <snapshotRepository> |
| 137 | + <id>ossrh</id> |
| 138 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 139 | + </snapshotRepository> |
| 140 | + <repository> |
| 141 | + <id>ossrh</id> |
| 142 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 143 | + </repository> |
| 144 | + </distributionManagement> |
| 145 | + </profile> |
| 146 | + </profiles> |
66 | 147 | </project> |