Skip to content

Commit

Permalink
Add release metadata and sign BOM (#117)
Browse files Browse the repository at this point in the history
* Add required metadata to BOM

* Ensure that BOM releases are signed
  • Loading branch information
protocol7 authored Oct 5, 2021
1 parent 8004ab3 commit 341dbcf
Showing 1 changed file with 60 additions and 15 deletions.
75 changes: 60 additions & 15 deletions semantic-metrics-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,32 @@
Semantic Metrics: Bill Of Materials
</description>

<developers>
<developer>
<id>udoprog</id>
<name>John-John Tedro</name>
<email>[email protected]</email>
</developer>
</developers>

<url>https://github.com/spotify/semantic-metrics</url>

<scm>
<connection>scm:git:git://github.com/spotify/semantic-metrics.git</connection>
<developerConnection>scm:git:[email protected]:spotify/semantic-metrics.git
</developerConnection>
<url>https://github.com/spotify/semantic-metrics</url>
<tag>HEAD</tag>
</scm>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -41,19 +67,38 @@
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 341dbcf

Please sign in to comment.