build: sign keys

This commit is contained in:
sgoudham 2022-09-05 21:03:50 +01:00
parent 9a45e09f4c
commit 8ab44c0189
No known key found for this signature in database
GPG key ID: 44E818FD5457EEA4
2 changed files with 48 additions and 27 deletions

View file

@ -7,12 +7,32 @@
<groupId>com.catppuccin</groupId> <groupId>com.catppuccin</groupId>
<artifactId>palette</artifactId> <artifactId>palette</artifactId>
<version>0.1.0</version> <version>0.1.0</version>
<properties> <properties>
<maven.compiler.source>17</maven.compiler.source> <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/catppuccin/palette.git</connection>
<developerConnection>scm:git:ssh://github.com:catppuccin/palette.git</developerConnection>
<url>https://github.com/catppuccin/palette/tree/main/java</url>
</scm>
<dependencies> <dependencies>
<dependency> <dependency>
@ -31,6 +51,7 @@
<groupId>org.hamcrest</groupId> <groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId> <artifactId>hamcrest-all</artifactId>
<version>1.3</version> <version>1.3</version>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -74,31 +95,31 @@
<source>17</source> <source>17</source>
</configuration> </configuration>
</plugin> </plugin>
<!-- <plugin>--> <plugin>
<!-- <groupId>org.apache.maven.plugins</groupId>--> <groupId>org.apache.maven.plugins</groupId>
<!-- <artifactId>maven-gpg-plugin</artifactId>--> <artifactId>maven-gpg-plugin</artifactId>
<!-- <version>3.0.1</version>--> <version>3.0.1</version>
<!-- <executions>--> <executions>
<!-- <execution>--> <execution>
<!-- <id>sign-artifacts</id>--> <id>sign-artifacts</id>
<!-- <phase>verify</phase>--> <phase>verify</phase>
<!-- <goals>--> <goals>
<!-- <goal>sign</goal>--> <goal>sign</goal>
<!-- </goals>--> </goals>
<!-- </execution>--> </execution>
<!-- </executions>--> </executions>
<!-- </plugin>--> </plugin>
<!-- <plugin>--> <plugin>
<!-- <groupId>org.sonatype.plugins</groupId>--> <groupId>org.sonatype.plugins</groupId>
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>--> <artifactId>nexus-staging-maven-plugin</artifactId>
<!-- <version>1.6.8</version>--> <version>1.6.8</version>
<!-- <extensions>true</extensions>--> <extensions>true</extensions>
<!-- <configuration>--> <configuration>
<!-- <serverId>ossrh</serverId>--> <serverId>ossrh</serverId>
<!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>--> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>--> <autoReleaseAfterClose>true</autoReleaseAfterClose>
<!-- </configuration>--> </configuration>
<!-- </plugin>--> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>

View file

@ -16,7 +16,7 @@ public class Palette {
/** /**
* Retrieve all the flavours of the palette in the * Retrieve all the flavours of the palette in the
* following order: Latte, Frappé, Macchiato & Mocha * following order: Latte, Frappé, Macchiato and Mocha
* *
* @return {@link List} of {@link Flavor} * @return {@link List} of {@link Flavor}
*/ */