Skip to content

Commit 58ffb4e

Browse files
authored
fix: move release configs to native-image-shared-config (#725)
* fix: move release configs to native-image-shared-config
1 parent 8d411bc commit 58ffb4e

File tree

2 files changed

+85
-77
lines changed

2 files changed

+85
-77
lines changed

java-shared-config/pom.xml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@
3333
<build>
3434
<pluginManagement>
3535
<plugins>
36-
<plugin>
37-
<groupId>org.sonatype.plugins</groupId>
38-
<artifactId>nexus-staging-maven-plugin</artifactId>
39-
<version>1.6.13</version>
40-
<extensions>true</extensions>
41-
<configuration>
42-
<serverId>ossrh</serverId>
43-
<nexusUrl>https://google.oss.sonatype.org/</nexusUrl>
44-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
45-
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
46-
</configuration>
47-
</plugin>
4836
<plugin>
4937
<groupId>org.apache.maven.plugins</groupId>
5038
<artifactId>maven-surefire-plugin</artifactId>
@@ -301,10 +289,6 @@
301289
<groupId>org.apache.maven.plugins</groupId>
302290
<artifactId>maven-compiler-plugin</artifactId>
303291
</plugin>
304-
<plugin>
305-
<groupId>org.sonatype.plugins</groupId>
306-
<artifactId>nexus-staging-maven-plugin</artifactId>
307-
</plugin>
308292
<plugin>
309293
<groupId>org.apache.maven.plugins</groupId>
310294
<artifactId>maven-site-plugin</artifactId>
@@ -506,67 +490,6 @@
506490
</dependencyManagement>
507491

508492
<profiles>
509-
<profile>
510-
<id>release</id>
511-
<activation>
512-
<property>
513-
<name>performRelease</name>
514-
</property>
515-
</activation>
516-
<build>
517-
<plugins>
518-
<plugin>
519-
<groupId>org.apache.maven.plugins</groupId>
520-
<artifactId>maven-source-plugin</artifactId>
521-
<version>3.3.0</version>
522-
<executions>
523-
<execution>
524-
<id>attach-sources</id>
525-
<goals>
526-
<goal>jar-no-fork</goal>
527-
</goals>
528-
</execution>
529-
</executions>
530-
</plugin>
531-
<plugin>
532-
<groupId>org.apache.maven.plugins</groupId>
533-
<artifactId>maven-javadoc-plugin</artifactId>
534-
<version>3.5.0</version>
535-
<executions>
536-
<execution>
537-
<id>attach-javadocs</id>
538-
<goals>
539-
<goal>jar</goal>
540-
</goals>
541-
<configuration>
542-
<doclint>none</doclint>
543-
</configuration>
544-
</execution>
545-
</executions>
546-
</plugin>
547-
<plugin>
548-
<groupId>org.apache.maven.plugins</groupId>
549-
<artifactId>maven-gpg-plugin</artifactId>
550-
<version>3.1.0</version>
551-
<executions>
552-
<execution>
553-
<id>sign-artifacts</id>
554-
<phase>verify</phase>
555-
<goals>
556-
<goal>sign</goal>
557-
</goals>
558-
<configuration>
559-
<gpgArguments>
560-
<arg>--pinentry-mode</arg>
561-
<arg>loopback</arg>
562-
</gpgArguments>
563-
</configuration>
564-
</execution>
565-
</executions>
566-
</plugin>
567-
</plugins>
568-
</build>
569-
</profile>
570493
<profile>
571494
<id>allow-snapshots</id>
572495
<repositories>

native-image-shared-config/pom.xml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,92 @@
7272
</dependencies>
7373
</dependencyManagement>
7474

75+
<build>
76+
<pluginManagement>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.sonatype.plugins</groupId>
80+
<artifactId>nexus-staging-maven-plugin</artifactId>
81+
<version>1.6.13</version>
82+
<extensions>true</extensions>
83+
<configuration>
84+
<serverId>ossrh</serverId>
85+
<nexusUrl>https://google.oss.sonatype.org/</nexusUrl>
86+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
87+
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
88+
</configuration>
89+
</plugin>
90+
</plugins>
91+
</pluginManagement>
92+
<plugins>
93+
<plugin>
94+
<groupId>org.sonatype.plugins</groupId>
95+
<artifactId>nexus-staging-maven-plugin</artifactId>
96+
</plugin>
97+
</plugins>
98+
</build>
7599
<profiles>
100+
<profile>
101+
<id>release</id>
102+
<activation>
103+
<property>
104+
<name>performRelease</name>
105+
</property>
106+
</activation>
107+
<build>
108+
<plugins>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-source-plugin</artifactId>
112+
<version>3.3.0</version>
113+
<executions>
114+
<execution>
115+
<id>attach-sources</id>
116+
<goals>
117+
<goal>jar-no-fork</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-javadoc-plugin</artifactId>
125+
<version>3.5.0</version>
126+
<executions>
127+
<execution>
128+
<id>attach-javadocs</id>
129+
<goals>
130+
<goal>jar</goal>
131+
</goals>
132+
<configuration>
133+
<doclint>none</doclint>
134+
</configuration>
135+
</execution>
136+
</executions>
137+
</plugin>
138+
<plugin>
139+
<groupId>org.apache.maven.plugins</groupId>
140+
<artifactId>maven-gpg-plugin</artifactId>
141+
<version>3.1.0</version>
142+
<executions>
143+
<execution>
144+
<id>sign-artifacts</id>
145+
<phase>verify</phase>
146+
<goals>
147+
<goal>sign</goal>
148+
</goals>
149+
<configuration>
150+
<gpgArguments>
151+
<arg>--pinentry-mode</arg>
152+
<arg>loopback</arg>
153+
</gpgArguments>
154+
</configuration>
155+
</execution>
156+
</executions>
157+
</plugin>
158+
</plugins>
159+
</build>
160+
</profile>
76161
<profile>
77162
<!-- This profile is used to enable GraalVM native image testing -->
78163
<id>native</id>

0 commit comments

Comments
 (0)