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>
|
|
|
|
<java.version>8</java.version>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<jetty.port>8080</jetty.port>
|
|
|
|
<jetty.contextpath>/${wtp.contextName}</jetty.contextpath>
|
|
|
|
|
|
|
|
<!-- main versions -->
|
|
|
|
<plantuml.version>1.2021.12</plantuml.version>
|
|
|
|
<jetty.version>8.0.4.v20111024</jetty.version>
|
|
|
|
<codemirror.version>5.63.0</codemirror.version>
|
|
|
|
|
|
|
|
<!-- dependencies -->
|
|
|
|
<jstl.version>1.2</jstl.version>
|
|
|
|
<servlet-api.version>2.5</servlet-api.version>
|
|
|
|
<batik-all.version>1.14</batik-all.version>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Testing -->
|
|
|
|
<junit.version>4.13.2</junit.version>
|
|
|
|
<htmlunit.version>2.53.0</htmlunit.version>
|
|
|
|
|
|
|
|
<!-- build plugin management -->
|
|
|
|
<!-- lock down plugins versions to avoid using Maven defaults -->
|
|
|
|
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
|
|
|
|
<maven-dependency-plugin.version>3.2.0</maven-dependency-plugin.version>
|
|
|
|
<maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
|
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
|
|
|
|
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
|
|
|
|
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
|
|
|
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
|
|
|
<maven-site-plugin.version>3.9.1</maven-site-plugin.version>
|
|
|
|
<maven-project-info-reports-plugin.version>3.1.2</maven-project-info-reports-plugin.version>
|
|
|
|
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
|
|
|
|
<checkstyle.version>9.0.1</checkstyle.version>
|
|
|
|
|
|
|
|
<!-- plugins -->
|
|
|
|
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
|
|
|
|
<!-- <jetty-runner.version>${jetty.version}</jetty-runner.version> -->
|
|
|
|
<jetty-runner.version>8.1.9.v20130131</jetty-runner.version>
|
|
|
|
<jetty-maven-plugin.version>${jetty.version}</jetty-maven-plugin.version>
|
|
|
|
<maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.plantuml</groupId>
|
|
|
|
<artifactId>plantuml</artifactId>
|
|
|
|
<version>${plantuml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>codemirror</artifactId>
|
|
|
|
<version>${codemirror.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>${servlet-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-all</artifactId>
|
|
|
|
<version>${batik-all.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- jlatexmath -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath</artifactId>
|
|
|
|
<version>${jlatexmath.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath-font-greek</artifactId>
|
|
|
|
<version>${jlatexmath-font-greek.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scilab.forge</groupId>
|
|
|
|
<artifactId>jlatexmath-font-cyrillic</artifactId>
|
|
|
|
<version>${jlatexmath-font-cyrillic.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.htmlunit</groupId>
|
|
|
|
<artifactId>htmlunit</artifactId>
|
|
|
|
<version>${htmlunit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
|
|
|
<artifactId>jetty-all</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
|
|
<version>2.1.v20100127</version>
|
|
|
|
<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>
|
|
|
|
</plugin>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
2013-05-28 14:36:42 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2021-10-12 15:51:35 +00:00
|
|
|
<version>${jetty-maven-plugin.version}</version>
|
2013-05-28 14:36:42 +00:00
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>5</scanIntervalSeconds>
|
|
|
|
<webApp>
|
2017-03-09 03:37:27 +00:00
|
|
|
<contextPath>${jetty.contextpath}</contextPath>
|
2013-05-28 14:36:42 +00:00
|
|
|
</webApp>
|
2015-02-11 05:58:20 +00:00
|
|
|
<systemProperties>
|
|
|
|
<systemProperty>
|
|
|
|
<name>jetty.port</name>
|
|
|
|
<value>${jetty.port}</value>
|
|
|
|
</systemProperty>
|
|
|
|
</systemProperties>
|
2013-05-28 14:36:42 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-12 15:51:35 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty-runner</artifactId>
|
|
|
|
<version>${jetty-runner.version}</version>
|
|
|
|
<destFileName>jetty-runner.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</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>
|
|
|
|
<directory>src/main/webapp</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.jspf</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</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>
|