update for forgejo deploy

This commit is contained in:
Craig Raw 2025-03-10 12:07:36 +02:00
parent 3d84c264c1
commit a54917c128

81
pom.xml
View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openpnp</groupId>
<artifactId>openpnp-capture-java</artifactId>
<version>0.0.28-0</version>
<version>0.0.28-1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -29,6 +29,23 @@
<url>http://github.com/openpnp/opencv/issues</url>
</issueManagement>
<repositories>
<repository>
<id>Forgejo-SparrowWallet</id>
<url>https://code.sparrowwallet.com/api/packages/sparrowwallet/maven</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>Forgejo-SparrowWallet</id>
<url>https://code.sparrowwallet.com/api/packages/sparrowwallet/maven</url>
</repository>
<snapshotRepository>
<id>Forgejo-SparrowWallet</id>
<url>https://code.sparrowwallet.com/api/packages/sparrowwallet/maven</url>
</snapshotRepository>
</distributionManagement>
<developers>
<developer>
<id>vonnieda</id>
@ -63,33 +80,6 @@
</configuration>
</plugin>
<!-- Creates a shaded "uber" jar that contains the entire library. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<configuration>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.openpnp.capture.OpenPnpCapture</mainClass>
</transformer>
</transformers>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
<!-- Specifies the file encoding to be used when copying resources. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -187,41 +177,6 @@
</executions>
</plugin>
<!-- Allows simple deployment to Central with mvn clean deploy -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- Signs artifacts before deployment -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>