File tree Expand file tree Collapse file tree 2 files changed +60
-10
lines changed
Expand file tree Collapse file tree 2 files changed +60
-10
lines changed Original file line number Diff line number Diff line change 274274 </plugin >
275275 </plugins >
276276 </build >
277-
278277 <profiles >
279278 <profile >
280279 <id >release</id >
280+ <activation >
281+ <property >
282+ <name >release</name >
283+ </property >
284+ </activation >
281285 <build >
286+ <pluginManagement >
287+ <plugins >
288+ <plugin >
289+ <groupId >org.apache.maven.plugins</groupId >
290+ <artifactId >maven-deploy-plugin</artifactId >
291+ <version >3.1.4</version >
292+ <configuration >
293+ <skip >true</skip >
294+ </configuration >
295+ </plugin >
296+ <plugin >
297+ <groupId >org.sonatype.central</groupId >
298+ <artifactId >central-publishing-maven-plugin</artifactId >
299+ <version >0.10.0</version >
300+ <extensions >true</extensions >
301+ <configuration >
302+ <publishingServerId >central</publishingServerId >
303+ <autoPublish >false</autoPublish >
304+ </configuration >
305+ </plugin >
306+ </plugins >
307+ </pluginManagement >
282308 <plugins >
283309 <plugin >
284310 <groupId >org.apache.maven.plugins</groupId >
285- <artifactId >maven-source -plugin</artifactId >
311+ <artifactId >maven-gpg -plugin</artifactId >
286312 </plugin >
287313 <plugin >
288- <groupId >org.apache.maven.plugins </groupId >
289- <artifactId >maven-gpg -plugin</artifactId >
314+ <groupId >org.sonatype.central </groupId >
315+ <artifactId >central-publishing-maven -plugin</artifactId >
290316 </plugin >
291317 </plugins >
292318 </build >
293319 </profile >
294320 </profiles >
295-
296321</project >
Original file line number Diff line number Diff line change 144144 </plugin >
145145 </plugins >
146146 </build >
147-
148147 <profiles >
149148 <profile >
150149 <id >release</id >
150+ <activation >
151+ <property >
152+ <name >release</name >
153+ </property >
154+ </activation >
151155 <build >
156+ <pluginManagement >
157+ <plugins >
158+ <plugin >
159+ <groupId >org.apache.maven.plugins</groupId >
160+ <artifactId >maven-deploy-plugin</artifactId >
161+ <version >3.1.4</version >
162+ <configuration >
163+ <skip >true</skip >
164+ </configuration >
165+ </plugin >
166+ <plugin >
167+ <groupId >org.sonatype.central</groupId >
168+ <artifactId >central-publishing-maven-plugin</artifactId >
169+ <version >0.10.0</version >
170+ <extensions >true</extensions >
171+ <configuration >
172+ <publishingServerId >central</publishingServerId >
173+ <autoPublish >false</autoPublish >
174+ </configuration >
175+ </plugin >
176+ </plugins >
177+ </pluginManagement >
152178 <plugins >
153179 <plugin >
154180 <groupId >org.apache.maven.plugins</groupId >
155- <artifactId >maven-source -plugin</artifactId >
181+ <artifactId >maven-gpg -plugin</artifactId >
156182 </plugin >
157183 <plugin >
158- <groupId >org.apache.maven.plugins </groupId >
159- <artifactId >maven-gpg -plugin</artifactId >
184+ <groupId >org.sonatype.central </groupId >
185+ <artifactId >central-publishing-maven -plugin</artifactId >
160186 </plugin >
161187 </plugins >
162188 </build >
163189 </profile >
164190 </profiles >
165-
166191</project >
You can’t perform that action at this time.
0 commit comments