Skip to content

Commit f9a70f6

Browse files
authored
chore: fix release (#350)
* chore: fix snapshot repo url * chore: fix snapshot repo url * chore: fix release
1 parent a2eec52 commit f9a70f6

File tree

2 files changed

+48
-24
lines changed

2 files changed

+48
-24
lines changed

functions-framework-api/pom.xml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@
4141
</license>
4242
</licenses>
4343

44+
<developers>
45+
<developer>
46+
<name>Andras Kerekes</name>
47+
<email>akerekes@google.com</email>
48+
<organization>Google LLC</organization>
49+
<organizationUrl>http://www.google.com</organizationUrl>
50+
</developer>
51+
<developer>
52+
<name>Di Xu</name>
53+
<email>dixuswe@google.com</email>
54+
<organization>Google LLC</organization>
55+
<organizationUrl>http://www.google.com</organizationUrl>
56+
</developer>
57+
</developers>
58+
4459
<scm>
4560
<connection>scm:git:https://github.com/GoogleCloudPlatform/functions-framework-java.git</connection>
4661
<developerConnection>scm:git:git@github.com:GoogleCloudPlatform/functions-framework-java.git</developerConnection>
@@ -131,18 +146,6 @@
131146
</plugins>
132147
</pluginManagement>
133148
</build>
134-
<distributionManagement>
135-
<snapshotRepository>
136-
<id>sonatype-nexus-snapshots</id>
137-
<name>Sonatype Nexus Snapshots</name>
138-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
139-
</snapshotRepository>
140-
<repository>
141-
<id>sonatype-nexus-staging</id>
142-
<name>Nexus Release Repository</name>
143-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
144-
</repository>
145-
</distributionManagement>
146149
<profiles>
147150
<profile>
148151
<id>sonatype-oss-release</id>
@@ -189,14 +192,13 @@
189192
</executions>
190193
</plugin>
191194
<plugin>
192-
<groupId>org.sonatype.plugins</groupId>
193-
<artifactId>nexus-staging-maven-plugin</artifactId>
194-
<version>1.7.0</version>
195+
<groupId>org.sonatype.central</groupId>
196+
<artifactId>central-publishing-maven-plugin</artifactId>
197+
<version>0.9.0</version>
195198
<extensions>true</extensions>
196199
<configuration>
197-
<serverId>sonatype-nexus-snapshots</serverId>
198-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
199-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
200+
<publishingServerId>sonatype-central-portal</publishingServerId>
201+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
200202
</configuration>
201203
</plugin>
202204
</plugins>

invoker/pom.xml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,29 @@
2424
<tag>HEAD</tag>
2525
</scm>
2626

27+
<developers>
28+
<developer>
29+
<name>Andras Kerekes</name>
30+
<email>akerekes@google.com</email>
31+
<organization>Google LLC</organization>
32+
<organizationUrl>http://www.google.com</organizationUrl>
33+
</developer>
34+
<developer>
35+
<name>Di Xu</name>
36+
<email>dixuswe@google.com</email>
37+
<organization>Google LLC</organization>
38+
<organizationUrl>http://www.google.com</organizationUrl>
39+
</developer>
40+
</developers>
41+
42+
<licenses>
43+
<license>
44+
<name>Apache License, Version 2.0</name>
45+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
46+
<distribution>repo</distribution>
47+
</license>
48+
</licenses>
49+
2750
<modules>
2851
<module>core</module>
2952
<module>testfunction</module>
@@ -105,14 +128,13 @@
105128
</executions>
106129
</plugin>
107130
<plugin>
108-
<groupId>org.sonatype.plugins</groupId>
109-
<artifactId>nexus-staging-maven-plugin</artifactId>
110-
<version>1.7.0</version>
131+
<groupId>org.sonatype.central</groupId>
132+
<artifactId>central-publishing-maven-plugin</artifactId>
133+
<version>0.9.0</version>
111134
<extensions>true</extensions>
112135
<configuration>
113-
<serverId>sonatype-nexus-snapshots</serverId>
114-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
115-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
136+
<publishingServerId>sonatype-central-portal</publishingServerId>
137+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
116138
</configuration>
117139
</plugin>
118140
</plugins>

0 commit comments

Comments
 (0)