Skip to content

Commit 4e19904

Browse files
ci: fix function-maven-plugin release (GoogleCloudPlatform#217)
Developer and license information was missing from the pom and is required to publish to the Maven central repo.
1 parent b3045ad commit 4e19904

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

function-maven-plugin/pom.xml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33

4+
<parent>
5+
<groupId>org.sonatype.oss</groupId>
6+
<artifactId>oss-parent</artifactId>
7+
<version>9</version>
8+
</parent>
9+
410
<groupId>com.google.cloud.functions</groupId>
511
<artifactId>function-maven-plugin</artifactId>
612
<packaging>maven-plugin</packaging>
@@ -17,6 +23,14 @@
1723
<tag>HEAD</tag>
1824
</scm>
1925

26+
<licenses>
27+
<license>
28+
<name>Apache License, Version 2.0</name>
29+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
30+
<distribution>repo</distribution>
31+
</license>
32+
</licenses>
33+
2034
<properties>
2135
<maven.compiler.source>11</maven.compiler.source>
2236
<maven.compiler.target>11</maven.compiler.target>
@@ -157,4 +171,4 @@
157171
</build>
158172
</profile>
159173
</profiles>
160-
</project>
174+
</project>

0 commit comments

Comments
 (0)