Skip to content

Commit

Permalink
Moved CssProtocol to separate module to fix JavaDoc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Apr 1, 2024
1 parent 24ace73 commit 6fa0d89
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skippedModules>webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt-j2cl,webfx-kit-javafxgraphics-fat-j2cl</skippedModules>
<skippedModules>webfx-kit-cssprotocol-java-plugin,webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt-j2cl,webfx-kit-javafxgraphics-fat-j2cl</skippedModules>
</configuration>
</plugin>
</plugins>
Expand Down
1 change: 1 addition & 0 deletions webfx-kit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<module>webfx-kit-javafxgraphics-emul</module>
<module>webfx-kit-javafxmedia-emul</module>
<module>webfx-kit-javafxweb-emul</module>
<module>webfx-kit-cssprotocol-openjfx-plugin</module>
<module>webfx-kit-javafxcontrols-peers-base</module>
<module>webfx-kit-javafxcontrols-peers-gwt-j2cl</module>
<module>webfx-kit-javafxcontrols-registry</module>
Expand Down
26 changes: 26 additions & 0 deletions webfx-kit/webfx-kit-cssprotocol-openjfx-plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- File managed by WebFX (DO NOT EDIT MANUALLY) -->
<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>

<parent>
<groupId>dev.webfx</groupId>
<artifactId>webfx-kit</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>

<artifactId>webfx-kit-cssprotocol-openjfx-plugin</artifactId>

<dependencies>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-kit-launcher</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>

</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.webfx.kit.launcher.spi.impl.openjfx;
package dev.webfx.kit.css.protocol;

import dev.webfx.kit.launcher.WebFxKitLauncher;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// File managed by WebFX (DO NOT EDIT MANUALLY)

module webfx.kit.cssprotocol.openjfx.plugin {

// Direct dependencies modules
requires webfx.kit.launcher;

// Exported packages
exports dev.webfx.kit.css.protocol;

// Provided services
provides java.net.spi.URLStreamHandlerProvider with dev.webfx.kit.css.protocol.CssProtocol;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev.webfx.kit.css.protocol.CssProtocol
17 changes: 17 additions & 0 deletions webfx-kit/webfx-kit-cssprotocol-openjfx-plugin/webfx.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>

<exported-packages>
<source-packages/>
<resource-packages/>
</exported-packages>

<dependencies>
<used-by-source-modules/>
</dependencies>

<providers>
<provider interface="java.net.spi.URLStreamHandlerProvider">dev.webfx.kit.css.protocol.CssProtocol</provider>
</providers>

</project>
7 changes: 7 additions & 0 deletions webfx-kit/webfx-kit-javafxgraphics-openjfx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
<artifactId>javafx-graphics</artifactId>
</dependency>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-kit-cssprotocol-openjfx-plugin</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-kit-javafxgraphics-peers</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@
// Provided services
provides dev.webfx.kit.launcher.spi.WebFxKitLauncherProvider with dev.webfx.kit.launcher.spi.impl.openjfx.JavaFxWebFxKitLauncherProvider;
provides dev.webfx.platform.uischeduler.spi.UiSchedulerProvider with dev.webfx.platform.uischeduler.spi.impl.openjfx.FxUiSchedulerProvider;
provides java.net.spi.URLStreamHandlerProvider with dev.webfx.kit.launcher.spi.impl.openjfx.CssProtocol;

}

This file was deleted.

2 changes: 1 addition & 1 deletion webfx-kit/webfx-kit-javafxgraphics-openjfx/webfx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<providers>
<provider interface="dev.webfx.kit.launcher.spi.WebFxKitLauncherProvider">dev.webfx.kit.launcher.spi.impl.openjfx.JavaFxWebFxKitLauncherProvider</provider>
<provider interface="dev.webfx.platform.uischeduler.spi.UiSchedulerProvider">dev.webfx.platform.uischeduler.spi.impl.openjfx.FxUiSchedulerProvider</provider>
<provider interface="java.net.spi.URLStreamHandlerProvider">dev.webfx.kit.launcher.spi.impl.openjfx.CssProtocol</provider>
</providers>

<dependencies>
<used-by-source-modules/>
<plugin-module>webfx-kit-cssprotocol-openjfx-plugin</plugin-module>
</dependencies>

<graalvm-reflection-json>
Expand Down
2 changes: 1 addition & 1 deletion webfx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skippedModules>webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt-j2cl,webfx-kit-javafxgraphics-fat-j2cl</skippedModules>
<skippedModules>webfx-kit-cssprotocol-java-plugin,webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt-j2cl,webfx-kit-javafxgraphics-fat-j2cl</skippedModules>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 6fa0d89

Please sign in to comment.