Skip to content

Commit d033a11

Browse files
jackjlliJack Li(Analytics Engineering)
andauthored
Add profile release-sign-artifacts for pinot-spark-connector (#6229)
Co-authored-by: Jack Li(Analytics Engineering) <jlli@jlli-mn1.linkedin.biz>
1 parent bee125e commit d033a11

File tree

1 file changed

+15
-0
lines changed
  • pinot-connectors/pinot-spark-connector

1 file changed

+15
-0
lines changed

pinot-connectors/pinot-spark-connector/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,21 @@
186186
</plugins>
187187
</build>
188188
</profile>
189+
<profile>
190+
<id>release-sign-artifacts</id>
191+
<build>
192+
<plugins>
193+
<plugin>
194+
<!-- GPG signing. It's due to the fact that maven-source-plugin and scala-maven-plugin
195+
have separate lifecycles, and the gpg files created by the former get deleted by the latter.
196+
Thus, explicitly adding this plugin to a new profile to sign the files at the end all at once. -->
197+
<groupId>org.apache.maven.plugins</groupId>
198+
<artifactId>maven-gpg-plugin</artifactId>
199+
<version>1.6</version>
200+
</plugin>
201+
</plugins>
202+
</build>
203+
</profile>
189204
</profiles>
190205

191206
<build>

0 commit comments

Comments
 (0)