javafx-swt
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.tlcsdm</groupId> <artifactId>javafx-swt</artifactId> <version>21.0.4</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2019, 2023 unknowIfGuestInDream ~ All rights reserved. ~ ~ Redistribution and use in source and binary forms, with or without ~ modification, are permitted provided that the following conditions are met: ~ * Redistributions of source code must retain the above copyright ~ notice, this list of conditions and the following disclaimer. ~ * Redistributions in binary form must reproduce the above copyright ~ notice, this list of conditions and the following disclaimer in the ~ documentation and/or other materials provided with the distribution. ~ * Neither the name of unknowIfGuestInDream, any associated website, nor the ~ names of its contributors may be used to endorse or promote products ~ derived from this software without specific prior written permission. ~ ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ~ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ~ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ~ DISCLAIMED. IN NO EVENT SHALL UNKNOWIFGUESTINDREAM BE LIABLE FOR ANY ~ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ~ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ~ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ~ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ~ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <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.tlcsdm</groupId> <artifactId>javafx-swt</artifactId> <version>21.0.4</version> <packaging>jar</packaging> <name>javafx-swt</name> <description>javafx-swt</description> <url>https://github.com/tlcsdm/javafx-swt</url> <inceptionYear>2023</inceptionYear> <licenses> <license> <name>EPL-2.0</name> <url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html</url> </license> </licenses> <developers> <developer> <name>UnknowIfGuestInDream</name> <email>liang.tang.cx@gmail.com</email> <organization>Tlcsdm</organization> </developer> </developers> <scm> <connection>https://github.com/tlcsdm/javafx-swt.git</connection> <url>https://github.com/tlcsdm/javafx-swt</url> </scm> <issueManagement> <system>github</system> <url>https://github.com/tlcsdm/javafx-swt/issues</url> </issueManagement> <properties> <project.github.repository>tlcsdm/javafx-swt</project.github.repository> <maven.test.skip>true</maven.test.skip> <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version> <maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version> <maven-gpg-plugin.version>3.2.3</maven-gpg-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> <maven-help-plugin.version>3.5.1</maven-help-plugin.version> <maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version> <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <javafx.version>21.0.4</javafx.version> <swt.version>3.124.100</swt.version> <swt.artifactId></swt.artifactId> </properties> <dependencies> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-base</artifactId> <version>${javafx.version}</version> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>${javafx.version}</version> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-graphics</artifactId> <version>${javafx.version}</version> </dependency> <dependency> <groupId>org.eclipse.platform</groupId> <artifactId>${swt.artifactId}</artifactId> <version>${swt.version}</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <encoding>${project.build.sourceEncoding}</encoding> <compilerArgs> <arg>-XDignore.symbol.file</arg> <arg>--add-exports</arg> <arg>javafx.graphics/com.sun.javafx.tk=javafx.swt</arg> <arg>--add-exports</arg> <arg>javafx.graphics/com.sun.javafx.cursor=javafx.swt</arg> <arg>--add-exports</arg> <arg>javafx.graphics/com.sun.glass.ui=javafx.swt</arg> <arg>--add-exports</arg> <arg>javafx.graphics/com.sun.javafx.embed=javafx.swt</arg> <arg>--add-exports</arg> <arg>javafx.graphics/com.sun.javafx.stage=javafx.swt</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>javafx.swt</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-help-plugin</artifactId> <version>${maven-help-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${maven-bundle-plugin.version}</version> <extensions>true</extensions> <configuration> <instructions> <Export-Package>javafx.embed.swt.*</Export-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <goals> <goal>manifest</goal> </goals> <phase>process-classes</phase> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <distributionManagement> <repository> <id>releases</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>snapshots</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <goals> <goal>jar-no-fork</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <show>public</show> <failOnError>false</failOnError> <nohelp>true</nohelp> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <additionalJOptions> <additionalJOption>-Xdoclint:none</additionalJOption> </additionalJOptions> </configuration> <executions> <execution> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <!-- mvn clean deploy -P release --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <!-- auto close and release on nexus --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <serverId>sonatype-nexus-snapshots</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>mac_x86_64</id> <activation> <os> <name>mac os x</name> <arch>x86_64</arch> </os> </activation> <properties> <swt.artifactId>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId> </properties> </profile> <profile> <id>mac_aarch64</id> <activation> <os> <name>mac os x</name> <arch>aarch64</arch> </os> </activation> <properties> <swt.artifactId>org.eclipse.swt.cocoa.macosx.aarch64</swt.artifactId> </properties> </profile> <profile> <id>linux_aarch64</id> <activation> <os> <name>linux</name> <arch>aarch64</arch> </os> </activation> <properties> <swt.artifactId>org.eclipse.swt.gtk.linux.aarch64</swt.artifactId> </properties> </profile> <profile> <id>linux</id> <activation> <os> <name>linux</name> </os> </activation> <properties> <swt.artifactId>org.eclipse.swt.gtk.linux.ppc64le</swt.artifactId> </properties> </profile> <profile> <id>windows</id> <activation> <os> <family>windows</family> </os> </activation> <properties> <swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId> </properties> </profile> </profiles> </project>