2021-10-11 14:40:15 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-10-12 15:51:35 +00:00
|
|
|
<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"
|
|
|
|
>
|
2013-05-28 14:36:42 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
2013-05-28 14:36:42 +00:00
|
|
|
<groupId>org.sourceforge.plantuml</groupId>
|
|
|
|
<artifactId>plantumlservlet</artifactId>
|
|
|
|
<version>1-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
|
|
|
<name>PlantUML Servlet</name>
|
|
|
|
<url>https://plantuml.github.io/plantuml-server/index.html</url>
|
|
|
|
|
|
|
|
<properties>
|
2021-10-15 13:11:55 +00:00
|
|
|
<java.version>11</java.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Skip tests by default.
|
|
|
|
Run tests manually:
|
|
|
|
- mvn test -DskipTests=false
|
|
|
|
- mvn test -DskipTests=false -DargLine="-Dsystem.test.server=http://localhost:8080/plantuml"
|
|
|
|
-->
|
|
|
|
<skipTests>true</skipTests>
|
2023-05-18 22:35:34 +00:00
|
|
|
<!--
|
|
|
|
JS and CSS compression / minify
|
|
|
|
If false minify is enabled.
|
|
|
|
Dev Tipp: set to `true` and run `mvn fizzed-watcher:run` while developing the frontend
|
|
|
|
-->
|
|
|
|
<withoutCSSJSCompress>false</withoutCSSJSCompress>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
2021-10-15 13:11:55 +00:00
|
|
|
<!--
|
|
|
|
This artifact is required for:
|
|
|
|
1. EmbeddedJettyServer -> scope: test
|
|
|
|
2. Tomcat docker image -> scope: compile
|
|
|
|
BUT: Jetty docker image as well as jetty-runner will crash on runtime if
|
|
|
|
this artifact is included because it's already provided so that the
|
|
|
|
artifact would apear multiple times on the classpath.
|
|
|
|
You can test it via: `mvn jetty:run [-Dapache-jsp.scope=compile]`
|
|
|
|
Error: java.util.ServiceConfigurationError: org.apache.juli.logging.Log: org.eclipse.jetty.apache.jsp.JuliLog not a subtype
|
|
|
|
HENCE: Default is the "test" scope and for Tomcat docker image building add:
|
|
|
|
-Dapache-jsp.scope=compile
|
|
|
|
-->
|
|
|
|
<apache-jsp.scope>test</apache-jsp.scope>
|
|
|
|
|
2021-10-12 15:51:35 +00:00
|
|
|
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
|
|
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
|
|
|
|
|
|
<wtp.version>1.5</wtp.version>
|
|
|
|
<wtp.contextName>plantuml</wtp.contextName>
|
|
|
|
|
2021-10-15 13:11:55 +00:00
|
|
|
<jetty.http.port>8080</jetty.http.port>
|
2021-10-12 15:51:35 +00:00
|
|
|
<jetty.contextpath>/${wtp.contextName}</jetty.contextpath>
|
|
|
|
|
|
|
|
<!-- main versions -->
|
2023-05-22 16:03:58 +00:00
|
|
|
<plantuml.version>1.2023.8</plantuml.version>
|
2021-10-15 13:11:55 +00:00
|
|
|
<!-- Please keep the jetty version identical with the docker image -->
|
2023-05-05 15:50:02 +00:00
|
|
|
<jetty.version>11.0.15</jetty.version>
|
2023-05-19 19:49:55 +00:00
|
|
|
<!--
|
|
|
|
While changing the version, please update the versions in the following files as well:
|
|
|
|
- src/main/webapp/components/app-head.jsp (script import)
|
|
|
|
- src/main/webapp/components/editor/editor.js : loadMonacoCodeEditorAsync (require.config)
|
|
|
|
- src/test/java/net/sourceforge/plantuml/servlet/TestDependencies.java : testMonacoEditorWebJar (JUnit Test)
|
|
|
|
as well as inside the pom.jdk8.xml :D
|
|
|
|
-->
|
2023-04-28 22:29:29 +00:00
|
|
|
<monaco-editor.version>0.36.1</monaco-editor.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
|
|
|
<!-- dependencies -->
|
|
|
|
<jstl.version>1.2</jstl.version>
|
2021-10-15 13:11:55 +00:00
|
|
|
<apache-jsp.version>${jetty.version}</apache-jsp.version>
|
|
|
|
<jetty-annotations.version>${jetty.version}</jetty-annotations.version>
|
|
|
|
<glassfish-jstl.version>${jetty.version}</glassfish-jstl.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<!-- jlatexmath -->
|
|
|
|
<jlatexmath.version>1.0.7</jlatexmath.version>
|
|
|
|
<jlatexmath-font-greek.version>${jlatexmath.version}</jlatexmath-font-greek.version>
|
|
|
|
<jlatexmath-font-cyrillic.version>${jlatexmath.version}</jlatexmath-font-cyrillic.version>
|
2023-05-05 15:50:02 +00:00
|
|
|
<!-- PDF -->
|
|
|
|
<batik-all.version>1.16</batik-all.version>
|
|
|
|
<fop.version>2.8</fop.version>
|
2021-12-12 14:01:14 +00:00
|
|
|
|
2021-10-12 15:51:35 +00:00
|
|
|
<!-- Testing -->
|
2023-05-05 15:50:02 +00:00
|
|
|
<junit.version>5.9.3</junit.version>
|
|
|
|
<junit-suite.version>1.9.3</junit-suite.version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<selenium.version>4.9.1</selenium.version>
|
2023-05-18 22:35:34 +00:00
|
|
|
<selenium-webdrivermanager.version>5.3.3</selenium-webdrivermanager.version>
|
2023-04-28 22:29:29 +00:00
|
|
|
<commons-io.version>2.11.0</commons-io.version>
|
2021-10-15 13:11:55 +00:00
|
|
|
<jetty-server.version>${jetty.version}</jetty-server.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
|
|
|
<!-- build plugin management -->
|
|
|
|
<!-- lock down plugins versions to avoid using Maven defaults -->
|
2023-05-05 15:50:02 +00:00
|
|
|
<maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
|
|
|
|
<maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version>
|
|
|
|
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
|
|
|
<versions-maven-plugin.version>2.15.0</versions-maven-plugin.version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<maven-surefire-plugin.version>3.1.0</maven-surefire-plugin.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
|
2023-05-05 15:50:02 +00:00
|
|
|
<maven-install-plugin.version>3.1.1</maven-install-plugin.version>
|
|
|
|
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
|
|
|
|
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
|
|
|
|
<maven-project-info-reports-plugin.version>3.4.3</maven-project-info-reports-plugin.version>
|
|
|
|
<maven-checkstyle-plugin.version>3.2.2</maven-checkstyle-plugin.version>
|
2023-05-18 22:35:34 +00:00
|
|
|
<checkstyle.version>10.11.0</checkstyle.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
|
|
|
<!-- plugins -->
|
|
|
|
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
|
2021-10-15 13:11:55 +00:00
|
|
|
<jetty-runner.version>${jetty.version}</jetty-runner.version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<jetty-maven-plugin.version>${jetty.version}</jetty-maven-plugin.version>
|
2023-05-05 15:50:02 +00:00
|
|
|
<duplicate-finder-maven-plugin.version>1.5.1</duplicate-finder-maven-plugin.version>
|
|
|
|
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
2023-05-18 22:35:34 +00:00
|
|
|
<resources-optimizer-maven-plugin.version>2.5.6</resources-optimizer-maven-plugin.version>
|
|
|
|
<fizzed-watcher-maven-plugin.verson>1.0.6</fizzed-watcher-maven-plugin.verson>
|
2021-10-12 15:51:35 +00:00
|
|
|
</properties>
|
2021-10-15 13:11:55 +00:00
|
|
|
|
2021-10-12 15:51:35 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.plantuml</groupId>
|
|
|
|
<artifactId>plantuml</artifactId>
|
|
|
|
<version>${plantuml.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>compile</scope>
|
2021-10-12 15:51:35 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
2023-04-28 22:29:29 +00:00
|
|
|
<artifactId>monaco-editor</artifactId>
|
|
|
|
<version>${monaco-editor.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
2021-10-12 15:51:35 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-10-15 13:11:55 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>apache-jsp</artifactId>
|
|
|
|
<version>${apache-jsp.version}</version>
|
|
|
|
<scope>${apache-jsp.scope}</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-annotations</artifactId>
|
|
|
|
<version>${jetty-annotations.version}</version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- jlatexmath -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath</artifactId>
|
|
|
|
<version>${jlatexmath.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
2021-10-12 15:51:35 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath-font-greek</artifactId>
|
|
|
|
<version>${jlatexmath-font-greek.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
2021-10-12 15:51:35 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath-font-cyrillic</artifactId>
|
|
|
|
<version>${jlatexmath-font-cyrillic.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
2021-10-12 15:51:35 +00:00
|
|
|
</dependency>
|
2023-05-07 18:45:29 +00:00
|
|
|
<!-- PDF
|
|
|
|
PlantUMLs PDF generation requires:
|
|
|
|
- batik-dom
|
|
|
|
- batik-svgrasterizer (includes batik-dom)
|
|
|
|
- batik-svggen
|
|
|
|
- fop
|
|
|
|
-->
|
2023-05-05 15:50:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
2023-05-07 18:45:29 +00:00
|
|
|
<artifactId>batik-svgrasterizer</artifactId>
|
2023-05-05 15:50:02 +00:00
|
|
|
<version>${batik-all.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-svggen</artifactId>
|
|
|
|
<version>${batik-all.version}</version>
|
|
|
|
<scope>runtime</scope>
|
2023-05-05 15:50:02 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>fop</artifactId>
|
|
|
|
<version>${fop.version}</version>
|
2023-05-07 18:45:29 +00:00
|
|
|
<scope>runtime</scope>
|
2023-05-05 15:50:02 +00:00
|
|
|
</dependency>
|
|
|
|
|
2023-05-18 22:35:34 +00:00
|
|
|
<!-- Testing -->
|
2021-10-12 15:51:35 +00:00
|
|
|
<dependency>
|
2023-05-05 15:50:02 +00:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-05-11 18:58:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-05-05 15:50:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-suite-api</artifactId>
|
|
|
|
<version>${junit-suite.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-10-12 15:51:35 +00:00
|
|
|
<dependency>
|
2023-04-28 22:29:29 +00:00
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
<version>${selenium.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.bonigarcia</groupId>
|
|
|
|
<artifactId>webdrivermanager</artifactId>
|
|
|
|
<version>${selenium-webdrivermanager.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-10-12 15:51:35 +00:00
|
|
|
<dependency>
|
2021-10-15 13:11:55 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${jetty-server.version}</version>
|
2021-10-12 15:51:35 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2013-05-28 14:36:42 +00:00
|
|
|
<build>
|
|
|
|
<finalName>plantuml</finalName>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
2021-10-11 14:40:15 +00:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>${maven-clean-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
2023-05-05 15:50:02 +00:00
|
|
|
</plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>${maven-resources-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>${maven-install-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>${maven-deploy-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>${maven-site-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
|
|
|
</plugin>
|
2021-10-11 14:40:15 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
2021-10-11 14:40:15 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${checkstyle.version}</version>
|
2021-10-11 14:40:15 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation>
|
|
|
|
<linkXRef>false</linkXRef>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>${versions-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<outputFile>${project.build.directory}/outdated-dependencies.txt</outputFile>
|
|
|
|
<rulesUri>file:///${basedir}/src/main/config/rules.xml</rulesUri>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-11 14:40:15 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
2013-05-28 14:36:42 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2013-05-28 14:36:42 +00:00
|
|
|
<configuration>
|
2021-10-12 15:51:35 +00:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2013-05-28 14:36:42 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2013-05-28 14:36:42 +00:00
|
|
|
<configuration>
|
2021-10-12 15:51:35 +00:00
|
|
|
<skipTests>${skipTests}</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>${maven-site-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<?m2e execute onConfiguration,onIncremental?>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>${versions-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>display-property-updates</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-10-15 13:11:55 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
|
|
<version>${duplicate-finder-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<ignoredResourcePatterns>
|
|
|
|
<ignoredResourcePattern>^about\.html$</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>^license/LICENSE\.dom-software\.txt$</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>^org/apache/batik/apps/rasterizer/resources/rasterizer\.policy$</ignoredResourcePattern>
|
|
|
|
</ignoredResourcePatterns>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<show>private</show>
|
|
|
|
<nohelp>true</nohelp>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<failOnWarnings>true</failOnWarnings>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
|
|
<executions>
|
2021-10-15 13:11:55 +00:00
|
|
|
<execution>
|
|
|
|
<?m2e execute onConfiguration,onIncremental?>
|
|
|
|
<!-- To provide webjars for the embedded jetty server for junit tests -->
|
|
|
|
<id>unpack-resources</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
2023-04-28 22:29:29 +00:00
|
|
|
<artifactId>monaco-editor</artifactId>
|
|
|
|
<version>${monaco-editor.version}</version>
|
|
|
|
<includes>**/min/vs/loader.js,**/min/vs/**/*,**/min-maps/vs/**/*</includes>
|
2021-10-15 13:11:55 +00:00
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-10-12 15:51:35 +00:00
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
2021-10-15 13:11:55 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<artifactId>jetty-runner</artifactId>
|
|
|
|
<version>${jetty-runner.version}</version>
|
|
|
|
<destFileName>jetty-runner.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-10-15 13:11:55 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<version>${maven-eclipse-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wtpversion>${wtp.version}</wtpversion>
|
|
|
|
<wtpContextName>${wtp.contextName}</wtpContextName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>${jetty-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- jetty.xml
|
|
|
|
Only necessary to support old proxy.
|
|
|
|
The old proxy needs empty path segments support in URIs.
|
|
|
|
Hence: allow AMBIGUOUS_EMPTY_SEGMENT
|
|
|
|
-->
|
|
|
|
<jettyXmls>${basedir}/src/main/config/jetty.xml</jettyXmls>
|
|
|
|
<scanIntervalSeconds>5</scanIntervalSeconds>
|
|
|
|
<webApp>
|
|
|
|
<contextPath>${jetty.contextpath}</contextPath>
|
|
|
|
</webApp>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-28 15:27:53 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${maven-war-plugin.version}</version>
|
2011-12-28 15:27:53 +00:00
|
|
|
<configuration>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
2021-10-15 13:11:55 +00:00
|
|
|
<directory>${basedir}/src/main/webapp</directory>
|
2011-12-28 15:27:53 +00:00
|
|
|
<includes>
|
|
|
|
<include>*.jspf</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-05-18 22:35:34 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean-minified-resources</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}/src/main/webapp/min</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.primefaces.extensions</groupId>
|
|
|
|
<artifactId>resources-optimizer-maven-plugin</artifactId>
|
|
|
|
<version>${resources-optimizer-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>optimize</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>optimize</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<warningLevel>DEFAULT</warningLevel>
|
|
|
|
<failOnWarning>true</failOnWarning>
|
|
|
|
<suffix>.min</suffix>
|
|
|
|
<languageIn>ECMASCRIPT_2020</languageIn>
|
|
|
|
<languageOut>ECMASCRIPT5_STRICT</languageOut>
|
|
|
|
<emitUseStrict>true</emitUseStrict>
|
|
|
|
<resourcesSets>
|
|
|
|
<resourcesSet>
|
|
|
|
<inputDir>${basedir}/src/main/webapp</inputDir>
|
|
|
|
<includes>
|
|
|
|
<include>components/**/*.js</include>
|
|
|
|
<include>js/**/*.js</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>js/language/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
<aggregations>
|
|
|
|
<aggregation>
|
|
|
|
<withoutCompress>${withoutCSSJSCompress}</withoutCompress>
|
|
|
|
<removeIncluded>false</removeIncluded>
|
|
|
|
<outputFile>${basedir}/src/main/webapp/min/plantuml.min.js</outputFile>
|
|
|
|
</aggregation>
|
|
|
|
</aggregations>
|
|
|
|
</resourcesSet>
|
|
|
|
<resourcesSet>
|
|
|
|
<inputDir>${basedir}/src/main/webapp/js/language</inputDir>
|
|
|
|
<includes>
|
|
|
|
<include>language.js</include>
|
|
|
|
<include>validation/validation.js</include>
|
|
|
|
<include>**/*.js</include>
|
|
|
|
</includes>
|
|
|
|
<aggregations>
|
|
|
|
<aggregation>
|
|
|
|
<withoutCompress>${withoutCSSJSCompress}</withoutCompress>
|
|
|
|
<removeIncluded>false</removeIncluded>
|
|
|
|
<outputFile>${basedir}/src/main/webapp/min/plantuml-language.min.js</outputFile>
|
|
|
|
</aggregation>
|
|
|
|
</aggregations>
|
|
|
|
</resourcesSet>
|
|
|
|
<resourcesSet>
|
|
|
|
<inputDir>${basedir}/src/main/webapp/components</inputDir>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.css</include>
|
|
|
|
</includes>
|
|
|
|
<aggregations>
|
|
|
|
<aggregation>
|
|
|
|
<withoutCompress>${withoutCSSJSCompress}</withoutCompress>
|
|
|
|
<removeIncluded>false</removeIncluded>
|
|
|
|
<outputFile>${basedir}/src/main/webapp/min/plantuml.min.css</outputFile>
|
|
|
|
</aggregation>
|
|
|
|
</aggregations>
|
|
|
|
</resourcesSet>
|
|
|
|
</resourcesSets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.fizzed</groupId>
|
|
|
|
<artifactId>fizzed-watcher-maven-plugin</artifactId>
|
|
|
|
<version>${fizzed-watcher-maven-plugin.verson}</version>
|
|
|
|
<configuration>
|
|
|
|
<watches>
|
|
|
|
<watch>
|
|
|
|
<directory>${basedir}/src/main/webapp/components</directory>
|
|
|
|
<recursive>true</recursive>
|
|
|
|
<includes>
|
|
|
|
<include>*.js</include>
|
|
|
|
<include>*.css</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*.min.js</exclude>
|
|
|
|
<exclude>*.min.css</exclude>
|
|
|
|
</excludes>
|
|
|
|
</watch>
|
|
|
|
</watches>
|
|
|
|
<goals>
|
|
|
|
<goal>clean:clean@clean-minified-resources</goal>
|
|
|
|
<goal>org.primefaces.extensions:resources-optimizer-maven-plugin:optimize</goal>
|
|
|
|
</goals>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-28 14:36:42 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2021-10-12 15:51:35 +00:00
|
|
|
|
2014-02-06 17:28:06 +00:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
2014-02-06 17:28:06 +00:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
2021-10-12 15:51:35 +00:00
|
|
|
<reports>
|
2014-02-06 17:28:06 +00:00
|
|
|
<report>index</report>
|
|
|
|
<report>dependencies</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
2021-10-11 14:40:15 +00:00
|
|
|
</plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>${versions-maven-plugin.version}</version>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<!-- <report>dependency-updates-report</report> -->
|
|
|
|
<!-- <report>plugin-updates-report</report> -->
|
|
|
|
<report>property-updates-report</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
2014-02-06 17:28:06 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2014-02-06 17:28:06 +00:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>html</id>
|
|
|
|
<reports>
|
|
|
|
<report>javadoc</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
2014-02-06 17:28:06 +00:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>checkstyle</report>
|
2021-10-11 14:40:15 +00:00
|
|
|
<report>checkstyle-aggregate</report>
|
2014-02-06 17:28:06 +00:00
|
|
|
</reports>
|
|
|
|
</reportSet>
|
2021-10-11 14:40:15 +00:00
|
|
|
</reportSets>
|
2014-02-06 17:28:06 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2011-11-02 22:11:52 +00:00
|
|
|
</project>
|