Skip to content

Commit 718a8d5

Browse files
authored
Merge pull request quarkusio#35607 from gsmet/nexus-config
Move plugin config to global parent and clean up other parents
2 parents e724332 + 75dd814 commit 718a8d5

File tree

19 files changed

+28
-542
lines changed

19 files changed

+28
-542
lines changed

build-parent/pom.xml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -844,76 +844,6 @@
844844
</plugins>
845845
</build>
846846
</profile>
847-
848-
<profile>
849-
<id>release</id>
850-
<build>
851-
<plugins>
852-
<plugin>
853-
<groupId>org.sonatype.plugins</groupId>
854-
<artifactId>nexus-staging-maven-plugin</artifactId>
855-
<version>${nexus-staging-maven-plugin.version}</version>
856-
<extensions>true</extensions>
857-
<configuration>
858-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
859-
<serverId>ossrh</serverId>
860-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
861-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
862-
</configuration>
863-
</plugin>
864-
<plugin>
865-
<groupId>org.apache.maven.plugins</groupId>
866-
<artifactId>maven-source-plugin</artifactId>
867-
<executions>
868-
<execution>
869-
<id>attach-sources</id>
870-
<goals>
871-
<goal>jar-no-fork</goal>
872-
</goals>
873-
</execution>
874-
</executions>
875-
</plugin>
876-
<plugin>
877-
<groupId>org.apache.maven.plugins</groupId>
878-
<artifactId>maven-javadoc-plugin</artifactId>
879-
<executions>
880-
<execution>
881-
<id>attach-javadocs</id>
882-
<goals>
883-
<goal>jar</goal>
884-
</goals>
885-
</execution>
886-
</executions>
887-
</plugin>
888-
<plugin>
889-
<!--
890-
## IMPORTANT ##
891-
In your ~/.m2/settings.xml you need to add and edit the following profile:
892-
<profile>
893-
<id>release</id>
894-
<properties>
895-
<gpg.useagent>false</gpg.useagent>
896-
<gpg.executable>/usr/local/Cellar/[email protected]/1.4.23_1/bin/gpg1</gpg.executable> <- use gpg1 on Mac OS X
897-
<gpg.homedir>~/.gnupg</gpg.homedir> <- Update to your own directory
898-
<gpg.passphrase>******</gpg.passphrase> <- Add your passphrase
899-
</properties>
900-
</profile>
901-
-->
902-
<groupId>org.apache.maven.plugins</groupId>
903-
<artifactId>maven-gpg-plugin</artifactId>
904-
<executions>
905-
<execution>
906-
<id>sign-artifacts</id>
907-
<phase>verify</phase>
908-
<goals>
909-
<goal>sign</goal>
910-
</goals>
911-
</execution>
912-
</executions>
913-
</plugin>
914-
</plugins>
915-
</build>
916-
</profile>
917847
<profile>
918848
<id>dokka</id>
919849
<activation>

devtools/gradle/gradle-application-plugin/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
<plugin>
8383
<groupId>org.sonatype.plugins</groupId>
8484
<artifactId>nexus-staging-maven-plugin</artifactId>
85-
<version>${nexus-staging-maven-plugin.version}</version>
8685
<configuration>
8786
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
8887
</configuration>

devtools/gradle/gradle-extension-plugin/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@
5454
<plugin>
5555
<groupId>org.sonatype.plugins</groupId>
5656
<artifactId>nexus-staging-maven-plugin</artifactId>
57-
<version>${nexus-staging-maven-plugin.version}</version>
5857
<configuration>
5958
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
6059
</configuration>
6160
</plugin>
6261
</plugins>
6362
</build>
64-
</project>
63+
</project>

extensions/spring-web/resteasy-classic/tests/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
<plugin>
5656
<groupId>org.sonatype.plugins</groupId>
5757
<artifactId>nexus-staging-maven-plugin</artifactId>
58-
<version>${nexus-staging-maven-plugin.version}</version>
5958
<configuration>
6059
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
6160
</configuration>

extensions/spring-web/resteasy-reactive/tests/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
<plugin>
6060
<groupId>org.sonatype.plugins</groupId>
6161
<artifactId>nexus-staging-maven-plugin</artifactId>
62-
<version>${nexus-staging-maven-plugin.version}</version>
6362
<configuration>
6463
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
6564
</configuration>

independent-projects/arc/pom.xml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
<version.compiler.plugin>3.11.0</version.compiler.plugin>
6868
<version.enforcer.plugin>3.2.1</version.enforcer.plugin>
6969
<version.surefire.plugin>3.1.2</version.surefire.plugin>
70-
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
7170
</properties>
7271

7372
<modules>
@@ -342,68 +341,6 @@
342341
<format.skip>true</format.skip>
343342
</properties>
344343
</profile>
345-
<profile>
346-
<id>release</id>
347-
<build>
348-
<plugins>
349-
<plugin>
350-
<groupId>org.sonatype.plugins</groupId>
351-
<artifactId>nexus-staging-maven-plugin</artifactId>
352-
<version>${nexus-staging-maven-plugin.version}</version>
353-
<extensions>true</extensions>
354-
<configuration>
355-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
356-
<serverId>ossrh</serverId>
357-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
358-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
359-
</configuration>
360-
</plugin>
361-
<plugin>
362-
<groupId>org.apache.maven.plugins</groupId>
363-
<artifactId>maven-source-plugin</artifactId>
364-
<executions>
365-
<execution>
366-
<id>attach-sources</id>
367-
<goals>
368-
<goal>jar-no-fork</goal>
369-
</goals>
370-
</execution>
371-
</executions>
372-
</plugin>
373-
<plugin>
374-
<groupId>org.apache.maven.plugins</groupId>
375-
<artifactId>maven-javadoc-plugin</artifactId>
376-
<executions>
377-
<execution>
378-
<id>attach-javadocs</id>
379-
<goals>
380-
<goal>jar</goal>
381-
</goals>
382-
</execution>
383-
</executions>
384-
</plugin>
385-
<plugin>
386-
<!-- ## IMPORTANT ## In your ~/.m2/settings.xml you
387-
need to add and edit the following profile: <profile> <id>release</id> <properties>
388-
<gpg.useagent>false</gpg.useagent> <gpg.executable>/usr/local/Cellar/[email protected]/1.4.23_1/bin/gpg1</gpg.executable>
389-
<- use gpg1 on Mac OS X <gpg.homedir>~/.gnupg</gpg.homedir> <- Update to
390-
your own directory <gpg.passphrase>******</gpg.passphrase> <- Add your passphrase
391-
</properties> </profile> -->
392-
<groupId>org.apache.maven.plugins</groupId>
393-
<artifactId>maven-gpg-plugin</artifactId>
394-
<executions>
395-
<execution>
396-
<id>sign-artifacts</id>
397-
<phase>verify</phase>
398-
<goals>
399-
<goal>sign</goal>
400-
</goals>
401-
</execution>
402-
</executions>
403-
</plugin>
404-
</plugins>
405-
</build>
406-
</profile>
407344
<profile>
408345
<id>format</id>
409346
<activation>

independent-projects/arc/tests/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
<plugin>
8181
<groupId>org.sonatype.plugins</groupId>
8282
<artifactId>nexus-staging-maven-plugin</artifactId>
83-
<version>${nexus-staging-maven-plugin.version}</version>
8483
<configuration>
8584
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
8685
</configuration>

independent-projects/bootstrap/pom.xml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
<version.compiler.plugin>3.11.0</version.compiler.plugin>
4141
<version.enforcer.plugin>3.2.1</version.enforcer.plugin>
4242
<version.surefire.plugin>3.1.2</version.surefire.plugin>
43-
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
4443
<jandex.version>3.1.3</jandex.version>
4544

4645
<!-- Dependency versions -->
@@ -283,73 +282,6 @@
283282
<format.skip>true</format.skip>
284283
</properties>
285284
</profile>
286-
<profile>
287-
<id>release</id>
288-
<build>
289-
<plugins>
290-
<plugin>
291-
<groupId>org.sonatype.plugins</groupId>
292-
<artifactId>nexus-staging-maven-plugin</artifactId>
293-
<version>${nexus-staging-maven-plugin.version}</version>
294-
<extensions>true</extensions>
295-
<configuration>
296-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
297-
<serverId>ossrh</serverId>
298-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
299-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
300-
</configuration>
301-
</plugin>
302-
<plugin>
303-
<groupId>org.apache.maven.plugins</groupId>
304-
<artifactId>maven-source-plugin</artifactId>
305-
<executions>
306-
<execution>
307-
<id>attach-sources</id>
308-
<goals>
309-
<goal>jar-no-fork</goal>
310-
</goals>
311-
</execution>
312-
</executions>
313-
</plugin>
314-
<plugin>
315-
<groupId>org.apache.maven.plugins</groupId>
316-
<artifactId>maven-javadoc-plugin</artifactId>
317-
<executions>
318-
<execution>
319-
<id>attach-javadocs</id>
320-
<goals>
321-
<goal>jar</goal>
322-
</goals>
323-
</execution>
324-
</executions>
325-
</plugin>
326-
<plugin>
327-
<!-- ## IMPORTANT ## In your ~/.m2/settings.xml you
328-
need to add and edit the following profile:
329-
<profile>
330-
<id>release</id>
331-
<properties>
332-
<gpg.useagent>false</gpg.useagent>
333-
<gpg.executable>/usr/local/Cellar/[email protected]/1.4.23_1/bin/gpg1</gpg.executable> <- use gpg1 on Mac OS X
334-
<gpg.homedir>~/.gnupg</gpg.homedir> <- Update to your own directory <gpg.passphrase>******</gpg.passphrase> <- Add your passphrase
335-
</properties>
336-
</profile>
337-
-->
338-
<groupId>org.apache.maven.plugins</groupId>
339-
<artifactId>maven-gpg-plugin</artifactId>
340-
<executions>
341-
<execution>
342-
<id>sign-artifacts</id>
343-
<phase>verify</phase>
344-
<goals>
345-
<goal>sign</goal>
346-
</goals>
347-
</execution>
348-
</executions>
349-
</plugin>
350-
</plugins>
351-
</build>
352-
</profile>
353285
<profile>
354286
<id>format</id>
355287
<activation>

independent-projects/enforcer-rules/pom.xml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<maven-invoker-plugin.version>3.6.0</maven-invoker-plugin.version>
4343
<maven-core.version>3.8.8</maven-core.version>
4444

45-
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
4645
<!--
4746
Supported Maven versions, interpreted as a version range (Also defined in build-parent)
4847
-->
@@ -211,68 +210,6 @@
211210
<invoker.skip>true</invoker.skip> <!-- maven-invoker-plugin -->
212211
</properties>
213212
</profile>
214-
<profile>
215-
<id>release</id>
216-
<build>
217-
<plugins>
218-
<plugin>
219-
<groupId>org.sonatype.plugins</groupId>
220-
<artifactId>nexus-staging-maven-plugin</artifactId>
221-
<version>${nexus-staging-maven-plugin.version}</version>
222-
<extensions>true</extensions>
223-
<configuration>
224-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
225-
<serverId>ossrh</serverId>
226-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
227-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
228-
</configuration>
229-
</plugin>
230-
<plugin>
231-
<groupId>org.apache.maven.plugins</groupId>
232-
<artifactId>maven-source-plugin</artifactId>
233-
<executions>
234-
<execution>
235-
<id>attach-sources</id>
236-
<goals>
237-
<goal>jar-no-fork</goal>
238-
</goals>
239-
</execution>
240-
</executions>
241-
</plugin>
242-
<plugin>
243-
<groupId>org.apache.maven.plugins</groupId>
244-
<artifactId>maven-javadoc-plugin</artifactId>
245-
<executions>
246-
<execution>
247-
<id>attach-javadocs</id>
248-
<goals>
249-
<goal>jar</goal>
250-
</goals>
251-
</execution>
252-
</executions>
253-
</plugin>
254-
<plugin>
255-
<!-- ## IMPORTANT ## In your ~/.m2/settings.xml you
256-
need to add and edit the following profile: <profile> <id>release</id> <properties>
257-
<gpg.useagent>false</gpg.useagent> <gpg.executable>/usr/local/Cellar/[email protected]/1.4.23_1/bin/gpg1</gpg.executable>
258-
<- use gpg1 on Mac OS X <gpg.homedir>~/.gnupg</gpg.homedir> <- Update to
259-
your own directory <gpg.passphrase>******</gpg.passphrase> <- Add your passphrase
260-
</properties> </profile> -->
261-
<groupId>org.apache.maven.plugins</groupId>
262-
<artifactId>maven-gpg-plugin</artifactId>
263-
<executions>
264-
<execution>
265-
<id>sign-artifacts</id>
266-
<phase>verify</phase>
267-
<goals>
268-
<goal>sign</goal>
269-
</goals>
270-
</execution>
271-
</executions>
272-
</plugin>
273-
</plugins>
274-
</build>
275-
</profile>
276213
<profile>
277214
<id>format</id>
278215
<activation>

0 commit comments

Comments
 (0)