Skip to content

Commit bf97d6a

Browse files
authored
fix: bom release (#1462)
1 parent bf76d6d commit bf97d6a

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

operator-framework-bom/pom.xml

+74
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,80 @@
3434
</dependencies>
3535
</dependencyManagement>
3636

37+
<properties>
38+
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
39+
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
40+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
41+
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
42+
</properties>
43+
44+
<profiles>
45+
<profile>
46+
<id>release</id>
47+
<build>
48+
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-javadoc-plugin</artifactId>
52+
<version>${maven-javadoc-plugin.version}</version>
53+
<executions>
54+
<execution>
55+
<id>attach-javadocs</id>
56+
<goals>
57+
<goal>jar</goal>
58+
</goals>
59+
</execution>
60+
</executions>
61+
</plugin>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-source-plugin</artifactId>
65+
<version>${maven-source-plugin.version}</version>
66+
<executions>
67+
<execution>
68+
<id>attach-sources</id>
69+
<goals>
70+
<goal>jar</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-gpg-plugin</artifactId>
78+
<version>${maven-gpg-plugin.version}</version>
79+
<executions>
80+
<execution>
81+
<id>sign-artifacts</id>
82+
<phase>verify</phase>
83+
<goals>
84+
<goal>sign</goal>
85+
</goals>
86+
<configuration>
87+
<gpgArguments>
88+
<arg>--pinentry-mode</arg>
89+
<arg>loopback</arg>
90+
</gpgArguments>
91+
</configuration>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.sonatype.plugins</groupId>
97+
<artifactId>nexus-staging-maven-plugin</artifactId>
98+
<version>${nexus-staging-maven-plugin.version}</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<serverId>ossrh</serverId>
102+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
104+
</configuration>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
</profile>
109+
</profiles>
110+
37111
<distributionManagement>
38112
<snapshotRepository>
39113
<id>ossrh</id>

0 commit comments

Comments
 (0)