Maven Central Repository

openfin-desktop-java-adapter

Used in 0 components

Overview

The Java API for OpenFin Runtime

Snippets

<dependency>
    <groupId>co.openfin</groupId>
    <artifactId>openfin-desktop-java-adapter</artifactId>
    <version>11.0.1</version>
</dependency>

Maven POM File

<?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>co.openfin</groupId>
    <artifactId>openfin-desktop-java-adapter</artifactId>
    <version>11.0.1</version>
    <packaging>jar</packaging>

    <name>openfin-desktop-java-adapter</name>
    <description>The Java API for OpenFin Runtime</description>
    <url>http://www.openfin.co</url>

    <properties>
        <user.name>support@openfin.co</user.name>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <licenses>
        <license>
            <name>The MIT License (MIT)</name>
            <url>http://www.opensource.org/licenses/mit-license.php</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <email>support@openfin.co</email>
            <name>OpenFin</name>
            <url>https://openfin.co</url>
            <id>openfin</id>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:https://gitlab-ci-token:${env.OPENFIN_CI_TOKEN}@gitlab.com/openfin/java/java-adapter.git</connection>
        <developerConnection>scm:git:https://gitlab-ci-token:${env.OPENFIN_CI_TOKEN}@gitlab.com/openfin/java/java-adapter.git</developerConnection>
        <url>https://gitlab.com/openfin/java/java-adapter.git</url>
        <tag>openfin-desktop-java-adapter-11.0.1</tag>
  </scm>

    <dependencies>
        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20210307</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty.websocket</groupId>
            <artifactId>websocket-jetty-client</artifactId>
            <version>10.0.12</version>
        </dependency>
        <dependency>
            <groupId>net.java.dev.jna</groupId>
            <artifactId>jna</artifactId>
            <version>5.9.0</version>
        </dependency>
        <dependency>
            <groupId>net.java.dev.jna</groupId>
            <artifactId>jna-platform</artifactId>
            <version>5.9.0</version>
        </dependency>
        <dependency>
            <groupId>dev.onvoid.webrtc</groupId>
            <artifactId>webrtc-java</artifactId>
            <version>0.6.0</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.32</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <!-- To combine all the dependencies into one jar: -->
                <!-- mvn assembly:assembly -DdescriptorId=jar-with-dependencies -->
                <!-- need to compile first since this plugin does NOT build the project -->
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-assembly-plugin</artifactId>
              <configuration>
                <archive>
                    <manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
                </archive>
              </configuration>
            </plugin>

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.0.1</version>
              <configuration>
                  <excludePackageNames>com.openfin.desktop.demo.*,de.*</excludePackageNames>
                  <excludes>com/openfin/desktop/demo/*,de/*</excludes>
                  <additionalparam>-exclude com.openfin.desktop.demo</additionalparam>
                  <packagesheader>&lt;div style="width: 10em; padding-bottom: 5px"&gt;&lt;svg height="100%" viewBox="0 0 1092.83 297.91" width="100%" xmlns="http://www.w3.org/2000/svg"&gt;&lt;g&gt;&lt;path d="M403.08 98.74c34.63 0 57.64 25.06 57.64 59s-23 58.78-57.64 58.78-57.63-24.83-57.63-58.78 23-59 57.63-59zm0 96.14c20 0 33.27-15.72 33.27-37.36 0-21.42-13.22-36.91-33.27-36.91-20.27 0-33.25 15.49-33.25 36.91 0 21.64 12.98 37.36 33.25 37.36zM537.93 216.74c-16.86 0-31.89-7.06-39.18-18.67v66.75h-23.24V101.93h21.41l1.14 15.72c6.61-11.17 20.5-18.91 39.19-18.91 32.35 0 54 21.86 54.45 57.86.68 37.6-22.33 60.14-53.77 60.14zm29.62-59.22c0-22.33-13.21-36.91-33.71-36.91s-33.95 14.58-33.95 36.91 13.44 37.14 33.95 37.14 33.71-14.82 33.71-37.14zM714.24 167.31H627c1.83 19.82 16.18 28.48 32.35 28.48 14.81 0 24.83-7.3 30.3-18.45l20.28 8.2c-8.66 19.81-27.8 31.2-50.8 31.2-32.83 0-55.13-23.23-55.13-58.74 0-34.86 21.86-59.24 55.59-59.24 33 0 54.67 23.24 54.67 59zm-87-17.31h62.42c-1.14-20.74-13.21-31-30.52-31-17.8 0-29.65 11-31.92 31zM836.12 145v68.8H812v-64c0-24.6-15.26-29.16-25.75-29.16-14.35 0-28.93 9.11-28.93 30.53v62.65h-24.18V101.93h22.56l.9 13c6.4-9.81 19.4-16.19 34.63-16.19 27.12 0 44.89 15.5 44.89 46.26zM890.09 86v16h26.43v20h-26.43v91.81h-24.38V122h-16.17v-20h16.18V86c0-28.93 16.18-40.77 38.5-40.77A57.93 57.93 0 0 1 917 46.57V68c-21.45-3.89-26.91 4.77-26.91 18zM935.64 62.74a16.06 16.06 0 1 1 16.18 16 15.95 15.95 0 0 1-16.18-16zm28.25 39.19v111.86h-24.16V101.93zM1092.83 145v68.8h-24.15v-64c0-24.6-15.26-29.16-25.75-29.16-14.35 0-28.93 9.11-28.93 30.53v62.65h-24.15V101.93h22.56l.9 13c6.38-9.79 19.37-16.18 34.63-16.18 27.12-.01 44.89 15.49 44.89 46.25z" style="fill: #fff"&gt;&lt;/path&gt;&lt;path d="M283.38 114a50 50 0 0 0-5.75-4.94l-.75-.52c-.43-.3-.85-.61-1.29-.9s-.95-.6-1.42-.89l-.66-.41c-.59-.35-1.19-.68-1.79-1l-.35-.19a49.6 49.6 0 0 0-23-5.68 49.71 49.71 0 0 1-49.67-49.76A49.62 49.62 0 1 0 149 99.24 49.71 49.71 0 0 1 198.67 149a49.71 49.71 0 0 1-49.76 49.67A49.62 49.62 0 0 1 99.25 149a49.62 49.62 0 1 0-49.62 49.62 49.62 49.62 0 0 1 49.62 49.62 49.71 49.71 0 0 0 99.43 0 49.62 49.62 0 0 1 49.62-49.62 49.56 49.56 0 0 0 25.19-6.86c.66-.39 1.31-.8 2-1.22l.14-.09c.6-.4 1.2-.82 1.78-1.24l.26-.18c.52-.38 1-.79 1.55-1.2l.44-.34c.48-.39.94-.8 1.41-1.21l.51-.44q.9-.81 1.77-1.68l.09-.08a49.84 49.84 0 0 0 5.8-7q.56-.81 1.08-1.64a49.61 49.61 0 0 0-6.94-61.44z" fill="#504cff"&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/div&gt;</packagesheader>
              </configuration>
                <executions>
                     <execution>
                         <id>attach-javadocs</id>
                         <goals>
                             <goal>jar</goal>
                         </goals>
                     </execution>
                 </executions>
                <!-- "mvn javadoc:javadoc" to generate doc-->
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                    <archive>
                        <manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
                    </archive>
            </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.0.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.8</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
                </configuration>
            </plugin>

            <!-- to install locally: -Dgpg.skip clean install -->
            <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>
                            <gpgArguments>
			        <arg>--batch</arg>
			        <arg>--pinentry-mode</arg>
			        <arg>loopback</arg>
			    </gpgArguments>
			</configuration>
                    </execution>
                </executions>
            </plugin>
            
        </plugins>

        <resources>
            <!--filtering needs to only include MANIFEST.MF in resources-->
            <!--http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html-->
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>**/*.MF</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <excludes>
                    <exclude>**/*.MF</exclude>
                </excludes>
            </resource>
        </resources>

    </build>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>

</project>