Skip to content

Commit 0c64cfe

Browse files
committed
Update version to 0.1.4 and add Maven Central and GPG signing profiles in POM
1 parent 19b4847 commit 0c64cfe

File tree

1 file changed

+64
-1
lines changed

1 file changed

+64
-1
lines changed

pom.xml

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>io.github.clojang</groupId>
66
<artifactId>sophodromos</artifactId>
7-
<version>0.1.3</version>
7+
<version>0.1.4</version>
88
<packaging>maven-plugin</packaging>
99

1010
<name>SophoDromos</name>
@@ -568,6 +568,13 @@
568568
</plugins>
569569
</reporting>
570570

571+
<distributionManagement>
572+
<repository>
573+
<id>central</id>
574+
<url>https://central.sonatype.com/api/v1/publisher</url>
575+
</repository>
576+
</distributionManagement>
577+
571578
<profiles>
572579
<!-- Release Profile -->
573580
<profile>
@@ -608,6 +615,62 @@
608615
</build>
609616
</profile>
610617

618+
<!-- Maven Central Profile -->
619+
<profile>
620+
<id>maven-central</id>
621+
<distributionManagement>
622+
<repository>
623+
<id>central</id>
624+
<url>https://central.sonatype.com/api/v1/publisher</url>
625+
</repository>
626+
</distributionManagement>
627+
<build>
628+
<plugins>
629+
<plugin>
630+
<groupId>org.sonatype.central</groupId>
631+
<artifactId>central-publishing-maven-plugin</artifactId>
632+
<version>0.6.0</version>
633+
<extensions>true</extensions>
634+
<configuration>
635+
<publishingServerId>central</publishingServerId>
636+
<autoPublish>true</autoPublish>
637+
<waitUntil>published</waitUntil>
638+
</configuration>
639+
</plugin>
640+
</plugins>
641+
</build>
642+
</profile>
643+
644+
<!-- GPG Signing Profile -->
645+
<profile>
646+
<id>sign-artifacts</id>
647+
<build>
648+
<plugins>
649+
<plugin>
650+
<groupId>org.apache.maven.plugins</groupId>
651+
<artifactId>maven-gpg-plugin</artifactId>
652+
<version>3.2.8</version>
653+
<executions>
654+
<execution>
655+
<id>sign-artifacts</id>
656+
<phase>verify</phase>
657+
<goals>
658+
<goal>sign</goal>
659+
</goals>
660+
<configuration>
661+
<gpgArguments>
662+
<arg>--pinentry-mode</arg>
663+
<arg>loopback</arg>
664+
<arg>--batch</arg>
665+
</gpgArguments>
666+
</configuration>
667+
</execution>
668+
</executions>
669+
</plugin>
670+
</plugins>
671+
</build>
672+
</profile>
673+
611674
<!-- Skip Quality Checks Profile -->
612675
<profile>
613676
<id>skip-quality</id>

0 commit comments

Comments
 (0)