server-sdk-kotlin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.vonage</groupId> <artifactId>server-sdk-kotlin</artifactId> <version>1.1.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>com.vonage</groupId> <artifactId>server-sdk-kotlin</artifactId> <version>1.1.0</version> <name>Vonage Kotlin Server SDK</name> <description>Kotlin client for Vonage APIs</description> <url>https://github.com/Vonage/vonage-kotlin-sdk</url> <organization> <name>Vonage</name> <url>https://developer.vonage.com</url> </organization> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>${project.url}/blob/main/LICENCE.txt</url> </license> </licenses> <developers> <developer> <id>devrel</id> <name>Vonage DevRel</name> <email>devrel@vonage.com</email> </developer> </developers> <scm> <developerConnection>${project.scm.connection}</developerConnection> <url>${project.url}</url> </scm> <issueManagement> <system>GitHub</system> <url>${project.url}/issues</url> </issueManagement> <properties> <nexusUrl>https://oss.sonatype.org</nexusUrl> <project.scm.connection>scm:git@github.com:Vonage/vonage-kotlin-sdk</project.scm.connection> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <kotlin.compiler.languageVersion>2.0</kotlin.compiler.languageVersion> <kotlin.compiler.apiVersion>${kotlin.compiler.languageVersion}</kotlin.compiler.apiVersion> <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget> <kotlin.lib.version>2.0.21</kotlin.lib.version> <java.version>8</java.version> </properties> <dependencies> <dependency> <groupId>com.vonage</groupId> <artifactId>server-sdk</artifactId> <version>8.13.0</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> <version>${kotlin.lib.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-test-junit5</artifactId> <version>${kotlin.lib.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.marcinziolo</groupId> <artifactId>kotlin-wiremock</artifactId> <version>2.1.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock-standalone</artifactId> <version>3.9.2</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>nexus-releases</id> <url>${nexusUrl}/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <phase>validate</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <replaceregexp file="src/main/kotlin/com/vonage/client/kt/Vonage.kt" match="VONAGE_KOTLIN_SDK_VERSION = ".+"" replace="VONAGE_KOTLIN_SDK_VERSION = "${project.version}"" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.6.3</version> </requireMavenVersion> <requireJavaVersion> <version>${java.version}</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>jacoco-init</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> <manifestEntries> <Build-Time>${maven.build.timestamp}</Build-Time> </manifestEntries> </archive> </configuration> <executions> <execution> <id>dokka-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <classifier>javadoc</classifier> <classesDirectory>${project.build.directory}/dokka</classesDirectory> <skipIfEmpty>true</skipIfEmpty> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <release>${java.version}</release> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> <version>1.9.20</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>dokka</goal> <!--goal>javadocJar</goal--> </goals> </execution> </executions> <configuration> <reportUndocumented>true</reportUndocumented> </configuration> </plugin> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.lib.version}</version> <extensions>true</extensions> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <extensions>true</extensions> <configuration> <serverId>nexus-releases</serverId> <nexusUrl>${nexusUrl}</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>uberjar</id> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>3.7.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>