diff --git a/pom.jdk8.xml b/pom.jdk8.xml
index afaf6c6..1e75229 100644
--- a/pom.jdk8.xml
+++ b/pom.jdk8.xml
@@ -6,121 +6,30 @@
>
4.0.0
- org.sourceforge.plantuml
+
+ org.sourceforge.plantuml
+ plantumlservlet-parent
+ 1-SNAPSHOT
+ pom.parent.xml
+
+
plantumlservlet
- 1-SNAPSHOT
war
- PlantUML Servlet
- https://plantuml.github.io/plantuml-server/index.html
8
- ${java.version}
- ${java.version}
- UTF-8
- UTF-8
-
-
- true
-
- false
-
-
- test
-
- yyyyMMdd-HHmm
- ${maven.build.timestamp}
-
- 1.5
- plantuml
-
- 8080
- /${wtp.contextName}
-
-
- 1.2023.8
-
- 11.0.15
- 0.36.1
-
-
- 1.2
- ${jetty.version}
- ${jetty.version}
- ${jetty.version}
-
- 1.0.7
- ${jlatexmath.version}
- ${jlatexmath.version}
-
- 1.16
- 2.8
-
-
- 5.9.3
- 1.9.3
- 4.9.1
- 5.3.3
- 2.11.0
- ${jetty.version}
-
- 3.2.0
- 3.5.0
- 3.3.1
- 3.11.0
- 2.15.0
- 3.1.0
- 3.3.2
- 3.1.1
- 3.1.1
- 3.12.1
- 3.4.3
- 3.2.2
- 9.3
+
+ 9.3
- 2.10
- ${jetty.version}
- ${jetty.version}
- 1.5.1
- 3.5.0
- 2.4.4
+
+ 2.4.4
-
- net.sourceforge.plantuml
- plantuml
- ${plantuml.version}
- compile
-
-
- org.webjars.npm
- monaco-editor
- ${monaco-editor.version}
- runtime
-
jakarta.servlet
jakarta.servlet-api
@@ -155,82 +64,8 @@
-
-
- org.scilab.forge
- jlatexmath
- ${jlatexmath.version}
- runtime
-
-
- org.scilab.forge
- jlatexmath-font-greek
- ${jlatexmath-font-greek.version}
- runtime
-
-
- org.scilab.forge
- jlatexmath-font-cyrillic
- ${jlatexmath-font-cyrillic.version}
- runtime
-
-
-
- org.apache.xmlgraphics
- batik-svgrasterizer
- ${batik-all.version}
- runtime
-
-
- org.apache.xmlgraphics
- batik-svggen
- ${batik-all.version}
- runtime
-
-
- org.apache.xmlgraphics
- fop
- ${fop.version}
- runtime
-
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit.version}
- test
-
-
- org.junit.jupiter
- junit-jupiter-params
- ${junit.version}
- test
-
-
- org.junit.platform
- junit-platform-suite-api
- ${junit-suite.version}
- test
-
-
- org.seleniumhq.selenium
- selenium-java
- ${selenium.version}
- test
-
-
- io.github.bonigarcia
- webdrivermanager
- ${selenium-webdrivermanager.version}
- test
-
org.eclipse.jetty
jetty-server
@@ -244,393 +79,4 @@
-
-
- plantuml
-
-
-
-
- maven-clean-plugin
- ${maven-clean-plugin.version}
-
-
- maven-dependency-plugin
- ${maven-dependency-plugin.version}
-
-
- maven-resources-plugin
- ${maven-resources-plugin.version}
-
-
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- maven-surefire-plugin
- ${maven-surefire-plugin.version}
-
-
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
- maven-install-plugin
- ${maven-install-plugin.version}
-
-
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
-
- maven-site-plugin
- ${maven-site-plugin.version}
-
-
- maven-project-info-reports-plugin
- ${maven-project-info-reports-plugin.version}
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
- com.puppycrawl.tools
- checkstyle
- ${checkstyle.version}
-
-
-
- ${basedir}/src/main/config/checkstyle.xml
- false
- true
- true
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
- ${project.build.directory}/outdated-dependencies.txt
- file:///${basedir}/src/main/config/rules.xml
-
-
-
-
-
-
-
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- ${maven.compiler.target}
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- ${maven-surefire-plugin.version}
-
- ${skipTests}
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- ${maven-site-plugin.version}
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
-
- validate
-
- check
-
-
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
-
- validate
-
- display-property-updates
-
-
-
-
-
- org.basepom.maven
- duplicate-finder-maven-plugin
- ${duplicate-finder-maven-plugin.version}
-
-
- verify
-
- check
-
-
-
-
-
- ^about\.html$
- ^license/LICENSE\.dom-software\.txt$
- ^org/apache/batik/apps/rasterizer/resources/rasterizer\.policy$
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven-javadoc-plugin.version}
-
- private
- true
-
- true
-
-
-
- maven-dependency-plugin
- ${maven-dependency-plugin.version}
-
-
-
-
- unpack-resources
- generate-test-sources
-
- unpack
-
-
-
-
- org.webjars.npm
- monaco-editor
- ${monaco-editor.version}
- **/min/vs/loader.js,**/min/vs/**/*,**/min-maps/vs/**/*
- ${project.build.outputDirectory}
-
-
-
-
-
- package
-
- copy
-
-
-
-
- org.eclipse.jetty
- jetty-runner
- ${jetty-runner.version}
- jetty-runner.jar
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
- ${maven-eclipse-plugin.version}
-
- ${wtp.version}
- ${wtp.contextName}
-
-
-
- org.eclipse.jetty
- jetty-maven-plugin
- ${jetty-maven-plugin.version}
-
-
- ${basedir}/src/main/config/jetty.xml
- 5
-
- ${jetty.contextpath}
-
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
-
- ${basedir}/src/main/webapp
-
- *.jspf
-
- true
-
-
-
-
-
- maven-clean-plugin
-
-
- clean-minified-resources
- initialize
-
- clean
-
-
- true
-
-
- ${basedir}/src/main/webapp/min
-
-
-
-
-
-
-
- org.primefaces.extensions
- resources-optimizer-maven-plugin
- ${resources-optimizer-maven-plugin.version}
-
-
- optimize
- generate-resources
-
- optimize
-
-
-
-
- DEFAULT
- true
- .min
- ECMASCRIPT_2020
- ECMASCRIPT5_STRICT
- true
-
-
- ${basedir}/src/main/webapp
-
- components/**/*.js
- js/**/*.js
-
-
- js/language/**
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml.min.js
-
-
-
-
- ${basedir}/src/main/webapp/js/language
-
- language.js
- validation/validation.js
- **/*.js
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml-language.min.js
-
-
-
-
- ${basedir}/src/main/webapp/components
-
- **/*.css
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml.min.css
-
-
-
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- ${maven-project-info-reports-plugin.version}
-
-
-
- index
- dependencies
-
-
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
-
-
-
-
- property-updates-report
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven-javadoc-plugin.version}
-
-
- html
-
- javadoc
-
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
-
- checkstyle
- checkstyle-aggregate
-
-
-
-
-
-
diff --git a/pom.parent.xml b/pom.parent.xml
new file mode 100644
index 0000000..d229535
--- /dev/null
+++ b/pom.parent.xml
@@ -0,0 +1,673 @@
+
+
+ 4.0.0
+
+ org.sourceforge.plantuml
+ plantumlservlet-parent
+ 1-SNAPSHOT
+ pom
+
+ PlantUML Servlet
+ https://plantuml.github.io/plantuml-server/index.html
+
+
+
+
+
+ ${java.version}
+ ${java.version}
+ UTF-8
+ UTF-8
+
+
+ true
+
+ false
+
+
+ test
+
+ yyyyMMdd-HHmm
+ ${maven.build.timestamp}
+
+ 1.5
+ plantuml
+
+ 8080
+ /${wtp.contextName}
+
+
+ 1.2023.8
+
+ 11.0.15
+
+ 0.36.1
+
+
+ 1.2
+ ${jetty.version}
+ ${jetty.version}
+ ${jetty.version}
+
+ 1.0.7
+ ${jlatexmath.version}
+ ${jlatexmath.version}
+
+ 1.16
+ 2.8
+
+
+ 5.9.3
+ 1.9.3
+ 4.10.0
+ 5.3.3
+ 2.11.0
+ ${jetty.version}
+
+
+
+ 3.2.0
+ 3.5.0
+ 3.3.1
+ 3.11.0
+ 2.15.0
+ 3.1.0
+ 3.3.2
+ 3.1.1
+ 3.1.1
+ 3.12.1
+ 3.4.3
+ 3.2.2
+ 10.12.0
+
+
+ 2.10
+ ${jetty.version}
+ ${jetty.version}
+ 1.5.1
+ 3.5.0
+ 2.5.6
+ 1.0.6
+
+
+
+
+ net.sourceforge.plantuml
+ plantuml
+ ${plantuml.version}
+ compile
+
+
+ org.webjars.npm
+ monaco-editor
+ ${monaco-editor.version}
+ runtime
+
+
+ org.eclipse.jetty
+ apache-jsp
+ ${apache-jsp.version}
+ ${apache-jsp.scope}
+
+
+ org.eclipse.jetty
+ jetty-annotations
+ ${jetty-annotations.version}
+ provided
+
+
+
+ org.scilab.forge
+ jlatexmath
+ ${jlatexmath.version}
+ runtime
+
+
+ org.scilab.forge
+ jlatexmath-font-greek
+ ${jlatexmath-font-greek.version}
+ runtime
+
+
+ org.scilab.forge
+ jlatexmath-font-cyrillic
+ ${jlatexmath-font-cyrillic.version}
+ runtime
+
+
+
+ org.apache.xmlgraphics
+ batik-svgrasterizer
+ ${batik-all.version}
+ runtime
+
+
+ org.apache.xmlgraphics
+ batik-svggen
+ ${batik-all.version}
+ runtime
+
+
+ org.apache.xmlgraphics
+ fop
+ ${fop.version}
+ runtime
+
+
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ ${junit.version}
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter-params
+ ${junit.version}
+ test
+
+
+ org.junit.platform
+ junit-platform-suite-api
+ ${junit-suite.version}
+ test
+
+
+ org.seleniumhq.selenium
+ selenium-java
+ ${selenium.version}
+ test
+
+
+ io.github.bonigarcia
+ webdrivermanager
+ ${selenium-webdrivermanager.version}
+ test
+
+
+ org.eclipse.jetty
+ jetty-server
+ ${jetty-server.version}
+ test
+
+
+
+
+ plantuml
+
+
+
+
+ maven-clean-plugin
+ ${maven-clean-plugin.version}
+
+
+ maven-dependency-plugin
+ ${maven-dependency-plugin.version}
+
+
+ maven-resources-plugin
+ ${maven-resources-plugin.version}
+
+
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+
+ maven-war-plugin
+ ${maven-war-plugin.version}
+
+
+ maven-install-plugin
+ ${maven-install-plugin.version}
+
+
+ maven-deploy-plugin
+ ${maven-deploy-plugin.version}
+
+
+ maven-site-plugin
+ ${maven-site-plugin.version}
+
+
+ maven-project-info-reports-plugin
+ ${maven-project-info-reports-plugin.version}
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ ${maven-checkstyle-plugin.version}
+
+
+ com.puppycrawl.tools
+ checkstyle
+ ${checkstyle.version}
+
+
+
+ ${basedir}/src/main/config/checkstyle.xml
+ false
+ true
+ true
+
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ ${versions-maven-plugin.version}
+
+ ${project.build.directory}/outdated-dependencies.txt
+ file:///${basedir}/src/main/config/rules.xml
+
+
+
+
+
+
+
+
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+
+ ${maven.compiler.target}
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${skipTests}
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ ${maven-site-plugin.version}
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ ${maven-checkstyle-plugin.version}
+
+
+
+ validate
+
+ check
+
+
+
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ ${versions-maven-plugin.version}
+
+
+ validate
+
+ display-property-updates
+ display-dependency-updates
+
+
+
+
+
+
+ org.basepom.maven
+ duplicate-finder-maven-plugin
+ ${duplicate-finder-maven-plugin.version}
+
+
+ verify
+
+ check
+
+
+
+
+
+ ^about\.html$
+ ^license/LICENSE\.dom-software\.txt$
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ ${maven-javadoc-plugin.version}
+
+ private
+ true
+
+ true
+
+
+
+
+ maven-dependency-plugin
+ ${maven-dependency-plugin.version}
+
+
+
+
+ unpack-resources
+ generate-test-sources
+
+ unpack
+
+
+
+
+ org.webjars.npm
+ monaco-editor
+ ${monaco-editor.version}
+ **/min/vs/loader.js,**/min/vs/**/*,**/min-maps/vs/**/*
+ ${project.build.outputDirectory}
+
+
+
+
+
+
+ package
+
+ copy
+
+
+
+
+ org.eclipse.jetty
+ jetty-runner
+ ${jetty-runner.version}
+ jetty-runner.jar
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-eclipse-plugin
+ ${maven-eclipse-plugin.version}
+
+ ${wtp.version}
+ ${wtp.contextName}
+
+
+
+
+ org.eclipse.jetty
+ jetty-maven-plugin
+ ${jetty-maven-plugin.version}
+
+
+ ${basedir}/src/main/config/jetty.xml
+ 5
+
+ ${jetty.contextpath}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ ${maven-war-plugin.version}
+
+
+
+ ${basedir}/src/main/webapp
+
+ *.jspf
+
+ true
+
+
+
+
+
+
+ maven-clean-plugin
+
+
+ clean-minified-resources
+ initialize
+
+ clean
+
+
+ true
+
+
+ ${basedir}/src/main/webapp/min
+
+
+
+
+
+
+
+
+ org.primefaces.extensions
+ resources-optimizer-maven-plugin
+ ${resources-optimizer-maven-plugin.version}
+
+
+ optimize
+ generate-resources
+
+ optimize
+
+
+
+
+ DEFAULT
+ true
+ .min
+ ECMASCRIPT_2020
+ ECMASCRIPT5_STRICT
+ true
+
+
+
+ ${basedir}/src/main/webapp
+
+ components/**/*.js
+ js/**/*.js
+
+
+ js/language/**
+
+
+
+ ${withoutCSSJSCompress}
+ false
+ ${basedir}/src/main/webapp/min/plantuml.min.js
+
+
+
+
+
+ ${basedir}/src/main/webapp/js/language
+
+ language.js
+ validation/validation.js
+ **/*.js
+
+
+
+ ${withoutCSSJSCompress}
+ false
+ ${basedir}/src/main/webapp/min/plantuml-language.min.js
+
+
+
+
+
+ ${basedir}/src/main/webapp/components
+
+ **/*.css
+
+
+
+ ${withoutCSSJSCompress}
+ false
+ ${basedir}/src/main/webapp/min/plantuml.min.css
+
+
+
+
+
+
+
+
+ com.fizzed
+ fizzed-watcher-maven-plugin
+ ${fizzed-watcher-maven-plugin.verson}
+
+
+
+ ${basedir}/src/main/webapp/components
+ true
+
+ *.js
+ *.css
+
+
+ *.min.js
+ *.min.css
+
+
+
+
+ clean:clean@clean-minified-resources
+ org.primefaces.extensions:resources-optimizer-maven-plugin:optimize
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ ${maven-project-info-reports-plugin.version}
+
+
+
+ index
+ dependencies
+
+
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ ${versions-maven-plugin.version}
+
+
+
+
+
+ property-updates-report
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ ${maven-javadoc-plugin.version}
+
+
+ html
+
+ javadoc
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ ${maven-checkstyle-plugin.version}
+
+
+
+ checkstyle
+ checkstyle-aggregate
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 2144107..763c1f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,638 +6,17 @@
>
4.0.0
- org.sourceforge.plantuml
- plantumlservlet
- 1-SNAPSHOT
- war
+
+ org.sourceforge.plantuml
+ plantumlservlet-parent
+ 1-SNAPSHOT
+ pom.parent.xml
+
- PlantUML Servlet
- https://plantuml.github.io/plantuml-server/index.html
+ plantumlservlet
+ war
11
- ${java.version}
- ${java.version}
- UTF-8
- UTF-8
-
-
- true
-
- false
-
-
- test
-
- yyyyMMdd-HHmm
- ${maven.build.timestamp}
-
- 1.5
- plantuml
-
- 8080
- /${wtp.contextName}
-
-
- 1.2023.8
-
- 11.0.15
-
- 0.36.1
-
-
- 1.2
- ${jetty.version}
- ${jetty.version}
- ${jetty.version}
-
- 1.0.7
- ${jlatexmath.version}
- ${jlatexmath.version}
-
- 1.16
- 2.8
-
-
- 5.9.3
- 1.9.3
- 4.9.1
- 5.3.3
- 2.11.0
- ${jetty.version}
-
-
-
- 3.2.0
- 3.5.0
- 3.3.1
- 3.11.0
- 2.15.0
- 3.1.0
- 3.3.2
- 3.1.1
- 3.1.1
- 3.12.1
- 3.4.3
- 3.2.2
- 10.11.0
-
-
- 2.10
- ${jetty.version}
- ${jetty.version}
- 1.5.1
- 3.5.0
- 2.5.6
- 1.0.6
-
-
-
- net.sourceforge.plantuml
- plantuml
- ${plantuml.version}
- compile
-
-
- org.webjars.npm
- monaco-editor
- ${monaco-editor.version}
- runtime
-
-
- org.eclipse.jetty
- apache-jsp
- ${apache-jsp.version}
- ${apache-jsp.scope}
-
-
- org.eclipse.jetty
- jetty-annotations
- ${jetty-annotations.version}
- provided
-
-
-
- org.scilab.forge
- jlatexmath
- ${jlatexmath.version}
- runtime
-
-
- org.scilab.forge
- jlatexmath-font-greek
- ${jlatexmath-font-greek.version}
- runtime
-
-
- org.scilab.forge
- jlatexmath-font-cyrillic
- ${jlatexmath-font-cyrillic.version}
- runtime
-
-
-
- org.apache.xmlgraphics
- batik-svgrasterizer
- ${batik-all.version}
- runtime
-
-
- org.apache.xmlgraphics
- batik-svggen
- ${batik-all.version}
- runtime
-
-
- org.apache.xmlgraphics
- fop
- ${fop.version}
- runtime
-
-
-
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit.version}
- test
-
-
- org.junit.jupiter
- junit-jupiter-params
- ${junit.version}
- test
-
-
- org.junit.platform
- junit-platform-suite-api
- ${junit-suite.version}
- test
-
-
- org.seleniumhq.selenium
- selenium-java
- ${selenium.version}
- test
-
-
- io.github.bonigarcia
- webdrivermanager
- ${selenium-webdrivermanager.version}
- test
-
-
- org.eclipse.jetty
- jetty-server
- ${jetty-server.version}
- test
-
-
-
-
- plantuml
-
-
-
-
- maven-clean-plugin
- ${maven-clean-plugin.version}
-
-
- maven-dependency-plugin
- ${maven-dependency-plugin.version}
-
-
- maven-resources-plugin
- ${maven-resources-plugin.version}
-
-
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- maven-surefire-plugin
- ${maven-surefire-plugin.version}
-
-
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
- maven-install-plugin
- ${maven-install-plugin.version}
-
-
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
-
- maven-site-plugin
- ${maven-site-plugin.version}
-
-
- maven-project-info-reports-plugin
- ${maven-project-info-reports-plugin.version}
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
- com.puppycrawl.tools
- checkstyle
- ${checkstyle.version}
-
-
-
- ${basedir}/src/main/config/checkstyle.xml
- false
- true
- true
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
- ${project.build.directory}/outdated-dependencies.txt
- file:///${basedir}/src/main/config/rules.xml
-
-
-
-
-
-
-
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- ${maven.compiler.target}
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- ${maven-surefire-plugin.version}
-
- ${skipTests}
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- ${maven-site-plugin.version}
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
-
- validate
-
- check
-
-
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
-
- validate
-
- display-property-updates
-
-
-
-
-
- org.basepom.maven
- duplicate-finder-maven-plugin
- ${duplicate-finder-maven-plugin.version}
-
-
- verify
-
- check
-
-
-
-
-
- ^about\.html$
- ^license/LICENSE\.dom-software\.txt$
- ^org/apache/batik/apps/rasterizer/resources/rasterizer\.policy$
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven-javadoc-plugin.version}
-
- private
- true
-
- true
-
-
-
- maven-dependency-plugin
- ${maven-dependency-plugin.version}
-
-
-
-
- unpack-resources
- generate-test-sources
-
- unpack
-
-
-
-
- org.webjars.npm
- monaco-editor
- ${monaco-editor.version}
- **/min/vs/loader.js,**/min/vs/**/*,**/min-maps/vs/**/*
- ${project.build.outputDirectory}
-
-
-
-
-
- package
-
- copy
-
-
-
-
- org.eclipse.jetty
- jetty-runner
- ${jetty-runner.version}
- jetty-runner.jar
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
- ${maven-eclipse-plugin.version}
-
- ${wtp.version}
- ${wtp.contextName}
-
-
-
- org.eclipse.jetty
- jetty-maven-plugin
- ${jetty-maven-plugin.version}
-
-
- ${basedir}/src/main/config/jetty.xml
- 5
-
- ${jetty.contextpath}
-
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
-
- ${basedir}/src/main/webapp
-
- *.jspf
-
- true
-
-
-
-
-
- maven-clean-plugin
-
-
- clean-minified-resources
- initialize
-
- clean
-
-
- true
-
-
- ${basedir}/src/main/webapp/min
-
-
-
-
-
-
-
- org.primefaces.extensions
- resources-optimizer-maven-plugin
- ${resources-optimizer-maven-plugin.version}
-
-
- optimize
- generate-resources
-
- optimize
-
-
-
-
- DEFAULT
- true
- .min
- ECMASCRIPT_2020
- ECMASCRIPT5_STRICT
- true
-
-
- ${basedir}/src/main/webapp
-
- components/**/*.js
- js/**/*.js
-
-
- js/language/**
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml.min.js
-
-
-
-
- ${basedir}/src/main/webapp/js/language
-
- language.js
- validation/validation.js
- **/*.js
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml-language.min.js
-
-
-
-
- ${basedir}/src/main/webapp/components
-
- **/*.css
-
-
-
- ${withoutCSSJSCompress}
- false
- ${basedir}/src/main/webapp/min/plantuml.min.css
-
-
-
-
-
-
-
- com.fizzed
- fizzed-watcher-maven-plugin
- ${fizzed-watcher-maven-plugin.verson}
-
-
-
- ${basedir}/src/main/webapp/components
- true
-
- *.js
- *.css
-
-
- *.min.js
- *.min.css
-
-
-
-
- clean:clean@clean-minified-resources
- org.primefaces.extensions:resources-optimizer-maven-plugin:optimize
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- ${maven-project-info-reports-plugin.version}
-
-
-
- index
- dependencies
-
-
-
-
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
-
-
-
-
- property-updates-report
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven-javadoc-plugin.version}
-
-
- html
-
- javadoc
-
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- ${maven-checkstyle-plugin.version}
-
-
-
- checkstyle
- checkstyle-aggregate
-
-
-
-
-
-
diff --git a/src/main/webapp/min/plantuml.min.js b/src/main/webapp/min/plantuml.min.js
index 0506661..075a507 100644
--- a/src/main/webapp/min/plantuml.min.js
+++ b/src/main/webapp/min/plantuml.min.js
@@ -43,11 +43,11 @@ var r=n.substring(n.lastIndexOf(".")+1).toLowerCase();k=["txt","puml","plantuml"
return{type:p,isDiagramCode:h,valid:p||h}}function e(h,t){function p(k){var n=new FormData;n.append("diagram",k,k.name);return makeRequest("POST","metadata",{data:n,responseType:"json",headers:{Accept:"application/json"}})}f.classList.add("wait");return(new Promise(function(k,n){if(t.type)p(h).then(function(r){setEditorValue(document.editor,r.decoded);k()},function(r){r=r.response;l.innerText=r.message||r;n()});else if(t.isDiagramCode){var q=new FileReader;q.onload=function(r){setEditorValue(document.editor,
r.target.result)};q.readAsText(h);k()}else l.innerText="File not supported. Only PNG and SVG diagram images as well as PlantUML code text files are supported.",n()})).then(function(){return b()},function(){}).finally(function(){return f.classList.remove("wait")})}var f=document.getElementById("diagram-import"),g=document.getElementById("diagram-import-input"),m=document.getElementById("diagram-import-ok-btn"),l=document.getElementById("diagram-import-error-message");window.addEventListener("dragenter",
function(h){h.stopPropagation();h.preventDefault();isVisible(f)||a(!1)},!1);g.addEventListener("dragenter",function(h){return h.target.classList.add("drop-able")},!1);g.addEventListener("dragover",function(h){h.stopPropagation();h.preventDefault();null!==h.dataTransfer&&(h.dataTransfer.dropEffect="copy")},!1);g.addEventListener("dragexit",function(h){return h.target.classList.remove("drop-able")},!1);g.addEventListener("drop",function(h){function t(){h.stopPropagation();h.preventDefault()}var p=h.dataTransfer.files||
-h.target.files;if(!p||1>p.length)return t();p=p[0];var k=d(p);if(!k.valid)return t();"true"!==f.dataset.isOpenManually&&(t(),e(p,k))},!1);m.addEventListener("click",function(){var h=g.files[0];e(h,d(h))});registerModalListener("diagram-import",a,b)}
+h.target.files;if(!p||1>p.length)return t();p=p[0];var k=d(p);if(!k.valid)return t();"true"!==f.dataset.isOpenManually&&(t(),e(p,k))},!1);g.addEventListener("change",function(h){return c(h.target)});m.addEventListener("click",function(){var h=g.files[0];e(h,d(h))});registerModalListener("diagram-import",a,b)}
var $jscomp$destructuring$var16=function(){var a={};return{registerModalListener:function(b,c,d){a[b]={fnOpen:c,fnClose:d}},openModal:function(b){var c=$jscomp.getRestArguments.apply(1,arguments),d,e=null==(d=a[b])?void 0:d.fnOpen;e?e.apply(null,$jscomp.arrayFromIterable(c)):setVisibility(document.getElementById(b),!0,!0)},closeModal:function(b){var c=$jscomp.getRestArguments.apply(1,arguments),d,e=null==(d=a[b])?void 0:d.fnClose;e?e.apply(null,$jscomp.arrayFromIterable(c)):setVisibility(document.getElementById(b),
!1)}}}(),registerModalListener=$jscomp$destructuring$var16.registerModalListener,openModal=$jscomp$destructuring$var16.openModal,closeModal=$jscomp$destructuring$var16.closeModal;
-function initModals(a){function b(c){"Escape"===c.key||"Esc"===c.key?(c.preventDefault(),closeModal(c.target.closest(".modal").id)):"Enter"===c.key&&(c.preventDefault(),(c=modal.querySelector('input.ok[type\x3d"button"]'))&&!c.disabled&&c.click())}document.querySelectorAll(".modal").forEach(function(c){c.addEventListener("keydown",b,!1)});initSettings();"previewer"!==a&&(initDiagramExport(),initDiagramImport())}function isModalOpen(a){return isVisible(document.getElementById(a))}
-function closeAllModals(){document.querySelectorAll(".modal").forEach(function(a){return closeModal(a.id)})}
+function initModals(a){function b(c){"Escape"===c.key||"Esc"===c.key?(c.preventDefault(),closeModal(c.target.closest(".modal").id)):"Enter"===c.key&&(c.preventDefault(),(c=c.target.closest(".modal").querySelector('input.ok[type\x3d"button"]'))&&!c.disabled&&c.click())}document.querySelectorAll(".modal").forEach(function(c){c.addEventListener("keydown",b,!1)});initSettings();"previewer"!==a&&(initDiagramExport(),initDiagramImport())}
+function isModalOpen(a){return isVisible(document.getElementById(a))}function closeAllModals(){document.querySelectorAll(".modal").forEach(function(a){return closeModal(a.id)})}
function initSettings(){function a(){setVisibility(document.getElementById("settings"),!0,!0);b.value=document.appConfig.theme;c.value=document.appConfig.diagramPreviewType;d.value=document.appConfig.editorWatcherTimeout;setEditorValue(document.settingsEditor,JSON.stringify(document.appConfig.editorCreateOptions,null," "))}var b=document.getElementById("theme"),c=document.getElementById("diagramPreviewType"),d=document.getElementById("editorWatcherTimeout");document.settingsEditor=monaco.editor.create(document.getElementById("settings-monaco-editor"),
Object.assign({},{language:"json"},document.appConfig.editorCreateOptions));b.addEventListener("change",function(e){e=e.target.value;var f=document.settingsEditor.getValue();setEditorValue(document.settingsEditor,f.replace(new RegExp('("theme"\\s*:\\s*)"'+("dark"===e?"vs":"vs-dark")+'"',"gm"),'$1"'+("dark"===e?"vs-dark":"vs")+'"'))});document.getElementById("settings-ok-btn").addEventListener("click",function(){var e=Object.assign({},document.appConfig);e.theme=b.value;e.editorWatcherTimeout=d.value;
e.diagramPreviewType=c.value;e.editorCreateOptions=JSON.parse(document.settingsEditor.getValue());updateConfig(e);closeModal("settings")});window.addEventListener("keydown",function(e){","===e.key&&(isMac?e.metaKey:e.ctrlKey)&&(e.preventDefault(),isModalOpen("settings")||a())},!1);registerModalListener("settings",a)}