keynub-licdongle
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.keynub</groupId>
<artifactId>keynub-licdongle</artifactId>
<version>1.1.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.keynub</groupId>
<artifactId>keynub-licdongle</artifactId>
<version>1.1.1</version>
<packaging>jar</packaging>
<name>KeyNub License Dongle SDK</name>
<description>Java binding for the KeyNub USB-C license dongle (JNA; driverless on Windows/Linux/macOS).</description>
<url>https://www.keynub.com/developers/java/</url>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>KeyNub</name>
<url>https://www.keynub.com</url>
</organization>
<developers>
<developer>
<name>KeyNub</name>
<organization>KeyNub</organization>
<organizationUrl>https://www.keynub.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/AB-KeyNub/KeyNub-SDK.git</connection>
<developerConnection>scm:git:ssh://git@github.com/AB-KeyNub/KeyNub-SDK.git</developerConnection>
<url>https://github.com/AB-KeyNub/KeyNub-SDK</url>
<tag>HEAD</tag>
</scm>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jna.version>5.14.0</jna.version>
<junit.version>5.10.2</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${jna.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<!-- Copy the SDK's license and attribution files into META-INF/ so they are
inside the JAR. The canonical copies stay at the SDK root; this reads them
there directly, so they cannot drift. Required because the natives shipped
with the SDK statically link Mbed TLS and hidapi - the obligation travels
with the binary, not just the repo. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-license-files</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/../..</directory>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
<include>THIRD-PARTY-NOTICES.txt</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- Everything Maven Central requires on top of an ordinary build: signatures, a
sources jar and a javadoc jar. Kept in a profile so a normal `mvn test` neither
slows down nor asks for a signing key. Activate with `mvn -P release deploy`.
Publishing goes through the Central Portal; OSSRH is being retired. The
namespace com.keynub has to be verified there first, which needs a DNS TXT
record on keynub.com and is the long-lead item; start it before the rest. -->
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- Leave the upload manual: a Central deployment is immutable, so the
last look happens in the Portal, not in a build log. -->
<autoPublish>false</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>