swingfx-markdown-preview-flexmark
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.raghul-tech</groupId> <artifactId>swingfx-markdown-preview-flexmark</artifactId> <version>1.0.0</version> </dependency>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.github.raghul-tech</groupId> <artifactId>swingfx-markdown-preview-parent</artifactId> <version>1.0.0</version> </parent> <artifactId>swingfx-markdown-preview-flexmark</artifactId> <name>SwingFX Markdown Preview Flexmark</name> <description> A Java Swing library for rendering and previewing Markdown (.md) files using JavaFX WebView and Flexmark. This module bundles only the core library code and Flexmark. JavaFX must be provided separately. </description> <dependencies> <!-- JavaFX marked as PROVIDED --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-web</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-graphics</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-fxml</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-base</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-swing</artifactId> <version>${javafx.version}</version> <scope>provided</scope> </dependency> <!-- Flexmark (included in jar) --> <dependency> <groupId>com.vladsch.flexmark</groupId> <artifactId>flexmark-all</artifactId> <version>0.64.8</version> </dependency> </dependencies> <build> <sourceDirectory>${project.basedir}/../swingfx-markdown-preview/src/main/java</sourceDirectory> <resources> <resource> <directory>${project.basedir}/../swingfx-markdown-preview/src/main/resources</directory> </resource> </resources> <plugins> <!-- Compiler --> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <release>${java.version}</release> </configuration> </plugin> <!-- Shade plugin WITHOUT filters --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"/> </transformers> </configuration> </execution> </executions> </plugin> <!-- Source Jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> <!-- Javadoc Jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.3</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> </plugins> </build> </project>