|
67 | 67 | <source.version>3.3.1</source.version> |
68 | 68 | <javadoc.version>3.11.2</javadoc.version> |
69 | 69 | <gpg.version>3.2.8</gpg.version> |
70 | | - <sonatype.version>1.7.0</sonatype.version> |
| 70 | + <central.version>0.8.0</central.version> |
71 | 71 | <spotless.version>2.44.5</spotless.version> |
72 | 72 | <dependency.version>3.8.1</dependency.version> |
73 | 73 | </properties> |
|
134 | 134 | </executions> |
135 | 135 | </plugin> |
136 | 136 | <plugin> |
137 | | - <groupId>org.sonatype.plugins</groupId> |
138 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
139 | | - <version>${sonatype.version}</version> |
| 137 | + <groupId>org.sonatype.central</groupId> |
| 138 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 139 | + <version>${central.version}</version> |
140 | 140 | <extensions>true</extensions> |
141 | 141 | <configuration> |
142 | | - <serverId>ossrh</serverId> |
143 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
144 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 142 | + <publishingServerId>central</publishingServerId> |
| 143 | + <autoPublish>true</autoPublish> |
| 144 | + <waitUntil>published</waitUntil> |
145 | 145 | </configuration> |
146 | 146 | </plugin> |
147 | 147 | </plugins> |
148 | 148 | </build> |
149 | 149 | </profile> |
150 | 150 | </profiles> |
151 | 151 |
|
152 | | - <dependencyManagement> |
153 | | - <dependencies> |
154 | | - <dependency> |
155 | | - <groupId>org.projectlombok</groupId> |
156 | | - <artifactId>lombok</artifactId> |
157 | | - <version>${lombok.version}</version> |
158 | | - <scope>provided</scope> |
159 | | - </dependency> |
160 | | - <dependency> |
161 | | - <groupId>org.slf4j</groupId> |
162 | | - <artifactId>slf4j-api</artifactId> |
163 | | - <version>${slf4j.version}</version> |
164 | | - </dependency> |
165 | | - <dependency> |
166 | | - <groupId>org.junit.jupiter</groupId> |
167 | | - <artifactId>junit-jupiter</artifactId> |
168 | | - <version>${junit.version}</version> |
169 | | - <scope>test</scope> |
170 | | - </dependency> |
171 | | - </dependencies> |
172 | | - </dependencyManagement> |
173 | | - |
174 | 152 | <dependencies> |
175 | 153 | <dependency> |
176 | 154 | <groupId>org.projectlombok</groupId> |
177 | 155 | <artifactId>lombok</artifactId> |
| 156 | + <version>${lombok.version}</version> |
| 157 | + <scope>provided</scope> |
178 | 158 | </dependency> |
179 | 159 | <dependency> |
180 | 160 | <groupId>org.slf4j</groupId> |
181 | 161 | <artifactId>slf4j-api</artifactId> |
| 162 | + <version>${slf4j.version}</version> |
182 | 163 | </dependency> |
183 | 164 | <dependency> |
184 | 165 | <groupId>org.junit.jupiter</groupId> |
185 | 166 | <artifactId>junit-jupiter</artifactId> |
| 167 | + <version>${junit.version}</version> |
| 168 | + <scope>test</scope> |
186 | 169 | </dependency> |
187 | 170 | </dependencies> |
188 | 171 |
|
|
267 | 250 | <ignoreVersions> |
268 | 251 | <ignoreVersion> |
269 | 252 | <type>regex</type> |
270 | | - <version>.+-(alpha|beta).*</version> |
| 253 | + <version>(?i).*-(alpha|beta|m|rc)([-.]?\d+)?</version> |
271 | 254 | </ignoreVersion> |
272 | 255 | </ignoreVersions> |
273 | 256 | </ruleSet> |
|
0 commit comments