|
37 | 37 | </developerConnection> |
38 | 38 | <tag>HEAD</tag> |
39 | 39 | </scm> |
40 | | - <distributionManagement> |
41 | | - <snapshotRepository> |
42 | | - <id>ossrh</id> |
43 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
44 | | - </snapshotRepository> |
45 | | - <repository> |
46 | | - <id>ossrh</id> |
47 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
48 | | - </repository> |
49 | | - </distributionManagement> |
50 | 40 |
|
51 | 41 | <modules> |
52 | 42 | <module>springdoc-openapi-starter-common</module> |
|
60 | 50 | <properties> |
61 | 51 | <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
62 | 52 | <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
63 | | - <nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin> |
| 53 | + <central-publishing-maven-plugin.version>0.7.0 |
| 54 | + </central-publishing-maven-plugin.version> |
64 | 55 | <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> |
65 | 56 | <swagger-api.version>2.2.30</swagger-api.version> |
66 | 57 | <swagger-ui.version>5.21.0</swagger-ui.version> |
67 | 58 | <gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version> |
68 | 59 | <jjwt.version>0.9.1</jjwt.version> |
69 | 60 | <therapi-runtime-javadoc.version>0.15.0</therapi-runtime-javadoc.version> |
70 | 61 | <spring-cloud-function.version>4.2.2</spring-cloud-function.version> |
71 | | - <spring-security-oauth2-authorization-server.version>1.4.0</spring-security-oauth2-authorization-server.version> |
| 62 | + <spring-security-oauth2-authorization-server.version>1.4.3</spring-security-oauth2-authorization-server.version> |
72 | 63 | </properties> |
73 | 64 |
|
74 | 65 | <dependencyManagement> |
|
85 | 76 | <artifactId>swagger-ui</artifactId> |
86 | 77 | <version>${swagger-ui.version}</version> |
87 | 78 | </dependency> |
88 | | - <dependency> |
89 | | - <groupId>javax.xml</groupId> |
90 | | - <artifactId>jaxb-impl</artifactId> |
91 | | - <version>${jaxb-impl.version}</version> |
92 | | - </dependency> |
93 | | - <dependency> |
94 | | - <groupId>javax.jws</groupId> |
95 | | - <artifactId>javax.jws-api</artifactId> |
96 | | - <version>${javax.jws-api.version}</version> |
97 | | - <scope>test</scope> |
98 | | - </dependency> |
99 | 79 | <dependency> |
100 | 80 | <groupId>io.jsonwebtoken</groupId> |
101 | 81 | <artifactId>jjwt</artifactId> |
102 | 82 | <version>${jjwt.version}</version> |
103 | | - <scope>test</scope> |
104 | | - </dependency> |
105 | | - <!-- spring Cloud --> |
106 | | - <dependency> |
107 | | - <groupId>org.springframework.cloud</groupId> |
108 | | - <artifactId>spring-cloud-function-core</artifactId> |
109 | | - <version>${spring-cloud-function.version}</version> |
110 | | - </dependency> |
111 | | - <dependency> |
112 | | - <groupId>org.springframework.cloud</groupId> |
113 | | - <artifactId>spring-cloud-function-web</artifactId> |
114 | | - <version>${spring-cloud-function.version}</version> |
115 | | - </dependency> |
116 | | - <dependency> |
117 | | - <groupId>org.springframework.cloud</groupId> |
118 | | - <artifactId>spring-cloud-starter-function-web</artifactId> |
119 | | - <version>${spring-cloud-function.version}</version> |
120 | 83 | </dependency> |
| 84 | + <!-- spring Cloud Function--> |
121 | 85 | <dependency> |
122 | 86 | <groupId>org.springframework.cloud</groupId> |
123 | | - <artifactId>spring-cloud-starter-function-webflux</artifactId> |
| 87 | + <artifactId>spring-cloud-function-dependencies</artifactId> |
124 | 88 | <version>${spring-cloud-function.version}</version> |
| 89 | + <type>pom</type> |
| 90 | + <scope>import</scope> |
125 | 91 | </dependency> |
| 92 | + <!-- spring Security Oauth2 Authorization Server--> |
126 | 93 | <dependency> |
127 | 94 | <groupId>org.springframework.security</groupId> |
128 | 95 | <artifactId>spring-security-oauth2-authorization-server</artifactId> |
129 | 96 | <version>${spring-security-oauth2-authorization-server.version}</version> |
130 | 97 | </dependency> |
131 | | - <!-- SpringDoc --> |
132 | | - <dependency> |
133 | | - <groupId>org.springdoc</groupId> |
134 | | - <artifactId>springdoc-openapi-starter-common</artifactId> |
135 | | - <version>${project.version}</version> |
136 | | - </dependency> |
137 | | - <dependency> |
138 | | - <groupId>org.springdoc</groupId> |
139 | | - <artifactId>springdoc-openapi-starter-webmvc-api</artifactId> |
140 | | - <version>${project.version}</version> |
141 | | - </dependency> |
142 | | - <dependency> |
143 | | - <groupId>org.springdoc</groupId> |
144 | | - <artifactId>springdoc-openapi-starter-webflux-api</artifactId> |
145 | | - <version>${project.version}</version> |
146 | | - </dependency> |
147 | | - <dependency> |
148 | | - <groupId>org.springdoc</groupId> |
149 | | - <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
150 | | - <version>${project.version}</version> |
151 | | - </dependency> |
152 | | - <dependency> |
153 | | - <groupId>org.springdoc</groupId> |
154 | | - <artifactId>springdoc-openapi-starter-webflux-ui</artifactId> |
155 | | - <version>${project.version}</version> |
156 | | - </dependency> |
157 | 98 | </dependencies> |
158 | 99 | </dependencyManagement> |
159 | 100 | <dependencies> |
160 | 101 | <dependency> |
161 | 102 | <groupId>org.springframework.boot</groupId> |
162 | 103 | <artifactId>spring-boot-starter-test</artifactId> |
163 | 104 | <scope>test</scope> |
164 | | - <exclusions> |
165 | | - <exclusion> |
166 | | - <groupId>org.junit.vintage</groupId> |
167 | | - <artifactId>junit-vintage-engine</artifactId> |
168 | | - </exclusion> |
169 | | - </exclusions> |
170 | 105 | </dependency> |
171 | 106 | </dependencies> |
172 | 107 | <build> |
173 | | - <pluginManagement> |
174 | | - <plugins> |
175 | | - <plugin> |
176 | | - <groupId>org.codehaus.gmavenplus</groupId> |
177 | | - <artifactId>gmavenplus-plugin</artifactId> |
178 | | - <version>${gmavenplus-plugin.version}</version> |
179 | | - </plugin> |
180 | | - </plugins> |
181 | | - </pluginManagement> |
182 | 108 | <plugins> |
183 | 109 | <plugin> |
184 | 110 | <groupId>org.apache.maven.plugins</groupId> |
|
270 | 196 | </executions> |
271 | 197 | </plugin> |
272 | 198 | <plugin> |
273 | | - <groupId>org.sonatype.plugins</groupId> |
274 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
275 | | - <version>${nexus-staging-maven-plugin}</version> |
| 199 | + <groupId>org.sonatype.central</groupId> |
| 200 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 201 | + <version>${central-publishing-maven-plugin.version}</version> |
276 | 202 | <extensions>true</extensions> |
277 | 203 | <configuration> |
278 | | - <serverId>ossrh</serverId> |
279 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
280 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 204 | + <publishingServerId>central</publishingServerId> |
| 205 | + <autoPublish>true</autoPublish> |
| 206 | + <waitUntil>published</waitUntil> |
281 | 207 | </configuration> |
282 | | - <dependencies> |
283 | | - <dependency> |
284 | | - <groupId>com.thoughtworks.xstream</groupId> |
285 | | - <artifactId>xstream</artifactId> |
286 | | - <version>1.4.15</version> |
287 | | - </dependency> |
288 | | - </dependencies> |
289 | 208 | </plugin> |
290 | 209 | <plugin> |
291 | 210 | <artifactId>maven-release-plugin</artifactId> |
|
303 | 222 | </profile> |
304 | 223 | </profiles> |
305 | 224 | <repositories> |
306 | | - <repository> |
307 | | - <id>central</id> |
308 | | - <url>https://repo.maven.apache.org/maven2</url> |
309 | | - <snapshots> |
310 | | - <enabled>false</enabled> |
311 | | - </snapshots> |
312 | | - </repository> |
313 | | - <repository> |
314 | | - <id>spring-release</id> |
315 | | - <name>Spring release</name> |
316 | | - <url>https://repo.spring.io/release</url> |
317 | | - <snapshots> |
318 | | - <enabled>false</enabled> |
319 | | - </snapshots> |
320 | | - </repository> |
321 | | - <repository> |
322 | | - <id>spring-snapshot</id> |
323 | | - <name>Spring Snapshots</name> |
324 | | - <url>https://repo.spring.io/snapshot</url> |
325 | | - <snapshots> |
326 | | - <enabled>true</enabled> |
327 | | - </snapshots> |
328 | | - </repository> |
329 | 225 | <repository> |
330 | 226 | <id>spring-milestones</id> |
331 | 227 | <name>Spring Milestones</name> |
332 | 228 | <url>https://repo.spring.io/milestone</url> |
| 229 | + <releases> |
| 230 | + <enabled>true</enabled> |
| 231 | + </releases> |
333 | 232 | <snapshots> |
334 | 233 | <enabled>false</enabled> |
335 | 234 | </snapshots> |
336 | 235 | </repository> |
337 | 236 | </repositories> |
338 | 237 | <pluginRepositories> |
339 | 238 | <pluginRepository> |
340 | | - <id>spring-releases</id> |
341 | | - <name>Spring Releases</name> |
342 | | - <url>https://repo.spring.io/release</url> |
| 239 | + <id>spring-milestones</id> |
| 240 | + <name>Spring Milestones</name> |
| 241 | + <url>https://repo.spring.io/milestone</url> |
| 242 | + <releases> |
| 243 | + <enabled>true</enabled> |
| 244 | + </releases> |
343 | 245 | <snapshots> |
344 | 246 | <enabled>false</enabled> |
345 | 247 | </snapshots> |
|
0 commit comments