Compare commits

..

9 Commits

Author SHA1 Message Date
Craig Raw
4aad5001b1 update to v0.0.30-1
Some checks failed
Build OpenPnP Capture Java Distribution / build (8, ubuntu-latest) (push) Has been cancelled
2025-10-21 15:45:39 +02:00
Craig Raw
52a3369828 bump to v0.0.28-6 2025-06-03 12:31:36 +02:00
Craig Raw
5f3b3204f1 bump to v0.0.28-5 2025-03-20 11:41:14 +02:00
Craig Raw
5a6ae0a7e2 bump to v0.0.28-4 2025-03-14 09:24:19 +02:00
Craig Raw
010e025604 bump to v0.0.28-3 2025-03-13 16:06:03 +02:00
Craig Raw
b3feda4c36 bump to v0.0.28-2 2025-03-11 15:07:44 +02:00
Craig Raw
d00fa99545 update binaries download script 2025-03-11 15:05:07 +02:00
Craig Raw
a54917c128 update for forgejo deploy 2025-03-10 12:07:36 +02:00
Craig Raw
3d84c264c1 fix warning on unnecessary double load of openpnp-capture library 2025-03-10 12:02:56 +02:00
2 changed files with 25 additions and 70 deletions

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.30-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>

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: pull-release-binaries.sh <release/tag name>"
echo "Usage: download-openpnp-capture.sh <release/tag name>"
echo " Downloads source and binaries for the native portion of the library"
echo " from Github releases so that this library can be built."
exit
@ -9,26 +9,26 @@ fi
rm -rf openpnp-capture
mkdir -p openpnp-capture
curl -L -o openpnp-capture/source.tar.gz https://github.com/openpnp/openpnp-capture/archive/$1.tar.gz
curl -L -o openpnp-capture/source.tar.gz https://github.com/sparrowwallet/openpnp-capture/archive/$1.tar.gz
tar -C openpnp-capture -xzf openpnp-capture/source.tar.gz --strip 1
mkdir -p openpnp-capture/binaries/darwin-x86-64
curl -L -o openpnp-capture/binaries/darwin-x86-64/libopenpnp-capture.dylib \
https://github.com/openpnp/openpnp-capture/releases/download/$1/libopenpnp-capture-macos-latest-x86_64.dylib
https://github.com/sparrowwallet/openpnp-capture/releases/download/$1/libopenpnp-capture-macos-latest-x86_64.dylib
mkdir -p openpnp-capture/binaries/darwin-aarch64
curl -L -o openpnp-capture/binaries/darwin-aarch64/libopenpnp-capture.dylib \
https://github.com/openpnp/openpnp-capture/releases/download/$1/libopenpnp-capture-macos-latest-arm64.dylib
https://github.com/sparrowwallet/openpnp-capture/releases/download/$1/libopenpnp-capture-macos-latest-arm64.dylib
mkdir -p openpnp-capture/binaries/linux-x86-64
curl -L -o openpnp-capture/binaries/linux-x86-64/libopenpnp-capture.so \
https://github.com/openpnp/openpnp-capture/releases/download/$1/libopenpnp-capture-ubuntu-20.04-x86_64.so
https://github.com/sparrowwallet/openpnp-capture/releases/download/$1/libopenpnp-capture-ubuntu-20.04-x86_64.so
mkdir -p openpnp-capture/binaries/linux-aarch64
curl -L -o openpnp-capture/binaries/linux-aarch64/libopenpnp-capture.so \
https://github.com/openpnp/openpnp-capture/releases/download/$1/libopenpnp-capture-ubuntu-20.04-arm64.so
https://github.com/sparrowwallet/openpnp-capture/releases/download/$1/libopenpnp-capture-ubuntu-20.04-arm64.so
mkdir -p openpnp-capture/binaries/win32-x86-64
curl -L -o openpnp-capture/binaries/win32-x86-64/openpnp-capture.dll \
https://github.com/openpnp/openpnp-capture/releases/download/$1/libopenpnp-capture-windows-latest-x86_64.dll
https://github.com/sparrowwallet/openpnp-capture/releases/download/$1/libopenpnp-capture-windows-latest-x86_64.dll