Skip to content

Commit 481c2e3

Browse files
spencergibbolegz
authored andcommitted
Adds pom metadata and excludes samples from central portal publishing
1 parent 5288811 commit 481c2e3

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

pom.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,36 @@
1616
<relativePath/>
1717
</parent>
1818

19+
<scm>
20+
<url>https://github.com/spring-cloud/spring-cloud-function</url>
21+
<connection>
22+
scm:git:git://github.com/spring-cloud/spring-cloud-function.git
23+
</connection>
24+
<developerConnection>
25+
scm:git:ssh://git@github.com/spring-cloud/spring-cloud-function.git
26+
</developerConnection>
27+
<tag>HEAD</tag>
28+
</scm>
29+
30+
<licenses>
31+
<license>
32+
<name>Apache License, Version 2.0</name>
33+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
34+
</license>
35+
</licenses>
36+
<developers>
37+
<developer>
38+
<id>olegz</id>
39+
<name>Oleg Zhurakousky</name>
40+
<email>oleg.zhurakousky at broadcom.com</email>
41+
<organization>Broadcom, Inc.</organization>
42+
<organizationUrl>https://www.spring.io</organizationUrl>
43+
<roles>
44+
<role>Project lead</role>
45+
</roles>
46+
</developer>
47+
</developers>
48+
1949
<properties>
2050
<java.version>17</java.version>
2151
<maven.compiler.source>${java.version}</maven.compiler.source>
@@ -135,6 +165,22 @@
135165
</reporting>
136166

137167
<profiles>
168+
<profile>
169+
<id>central</id>
170+
<build>
171+
<plugins>
172+
<plugin>
173+
<groupId>org.sonatype.central</groupId>
174+
<artifactId>central-publishing-maven-plugin</artifactId>
175+
<configuration>
176+
<excludeArtifacts>
177+
<artifact>spring-cloud-function-samples</artifact>
178+
</excludeArtifacts>
179+
</configuration>
180+
</plugin>
181+
</plugins>
182+
</build>
183+
</profile>
138184
<profile>
139185
<id>core</id>
140186
<modules>

0 commit comments

Comments
 (0)