This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push: new 1aad2141 [MPLUGIN-514] switch from png+imagemap to svg 1aad2141 is described below commit 1aad21414b8ad92a880d22ffb2b935b3fefa85d8 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Wed Mar 20 08:49:39 2024 +0100 [MPLUGIN-514] switch from png+imagemap to svg --- .gitignore | 2 + maven-script/maven-plugin-tools-ant/pom.xml | 2 +- maven-script/maven-plugin-tools-beanshell/pom.xml | 2 +- maven-script/maven-plugin-tools-model/pom.xml | 2 +- maven-script/maven-script-ant/pom.xml | 2 +- maven-script/maven-script-beanshell/pom.xml | 2 +- maven-script/pom.xml | 2 +- pom.xml | 3 +- prepare-svg.sh | 30 ++++ src/site/resources/images/plugin-tools-deps.png | Bin 47339 -> 0 bytes src/site/resources/images/plugin-tools-deps.svg | 163 ++++++++++++++++++++++ src/site/xdoc/index.xml | 53 +------ src/site/xdoc/plugin-tools-deps.odg | Bin 26872 -> 20526 bytes svgo.config.mjs | 37 +++++ 14 files changed, 245 insertions(+), 55 deletions(-) diff --git a/.gitignore b/.gitignore index 992bcd6e..d0bab4e5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ out/ .java-version .factorypath + +/*.svg diff --git a/maven-script/maven-plugin-tools-ant/pom.xml b/maven-script/maven-plugin-tools-ant/pom.xml index 074888ec..c51dbaa4 100644 --- a/maven-script/maven-plugin-tools-ant/pom.xml +++ b/maven-script/maven-plugin-tools-ant/pom.xml @@ -28,7 +28,7 @@ <artifactId>maven-plugin-tools-ant</artifactId> - <name>Maven Plugin Tool for Ant</name> + <name>Maven Plugin Tool for Ant (deprecated)</name> <description>Descriptor extractor for plugins written in Ant.</description> <dependencies> diff --git a/maven-script/maven-plugin-tools-beanshell/pom.xml b/maven-script/maven-plugin-tools-beanshell/pom.xml index 6878708c..3fb5ff1e 100644 --- a/maven-script/maven-plugin-tools-beanshell/pom.xml +++ b/maven-script/maven-plugin-tools-beanshell/pom.xml @@ -28,7 +28,7 @@ <artifactId>maven-plugin-tools-beanshell</artifactId> - <name>Maven Plugin Tool for Beanshell</name> + <name>Maven Plugin Tool for Beanshell (deprecated)</name> <description>Descriptor extractor for plugins written in Beanshell.</description> <dependencies> diff --git a/maven-script/maven-plugin-tools-model/pom.xml b/maven-script/maven-plugin-tools-model/pom.xml index bb616565..26542308 100644 --- a/maven-script/maven-plugin-tools-model/pom.xml +++ b/maven-script/maven-plugin-tools-model/pom.xml @@ -28,7 +28,7 @@ <artifactId>maven-plugin-tools-model</artifactId> - <name>Maven Plugin Metadata Model</name> + <name>Maven Plugin Metadata Model (deprecated)</name> <description>The Maven Plugin Metadata Model provides an API to play with the Metadata model.</description> <dependencies> diff --git a/maven-script/maven-script-ant/pom.xml b/maven-script/maven-script-ant/pom.xml index beb9b5a5..151183bc 100644 --- a/maven-script/maven-script-ant/pom.xml +++ b/maven-script/maven-script-ant/pom.xml @@ -28,7 +28,7 @@ under the License. <artifactId>maven-script-ant</artifactId> - <name>Maven Ant Mojo Support</name> + <name>Maven Ant Mojo Support (deprecated)</name> <description>Maven Ant Mojo Support, ie write Maven plugins with Ant scripts.</description> <dependencies> diff --git a/maven-script/maven-script-beanshell/pom.xml b/maven-script/maven-script-beanshell/pom.xml index 659f9de5..b7e64b95 100644 --- a/maven-script/maven-script-beanshell/pom.xml +++ b/maven-script/maven-script-beanshell/pom.xml @@ -28,7 +28,7 @@ under the License. <artifactId>maven-script-beanshell</artifactId> - <name>Maven Beanshell Mojo Support</name> + <name>Maven Beanshell Mojo Support (deprecated)</name> <description>Maven Beanshell Mojo Support, ie write Maven plugins with Beanshell scripts.</description> <dependencies> diff --git a/maven-script/pom.xml b/maven-script/pom.xml index 8884dc6e..b868f6f1 100644 --- a/maven-script/pom.xml +++ b/maven-script/pom.xml @@ -29,7 +29,7 @@ under the License. <artifactId>maven-script</artifactId> <packaging>pom</packaging> - <name>Maven Script Mojo Support</name> + <name>Maven Script Mojo Support (deprecated)</name> <description>Maven Script Mojo Support lets developer write Maven plugins/goals with scripting languages instead of compiled Java. Scripting support is deprecated, with Maven 4 only Java based Mojos will be supported.</description> <modules> diff --git a/pom.xml b/pom.xml index 1650f7df..54a0e83e 100644 --- a/pom.xml +++ b/pom.xml @@ -342,7 +342,8 @@ <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes combine.children="append"> - <exclude>src/site/resources/images/plugin-descriptors.svg</exclude> + <exclude>src/site/resources/images/*.svg</exclude> + <exclude>*.svg</exclude> <!-- Jenkins job with local Maven repository --> <exclude>src/site/xdoc/plugin-descriptors.mmd</exclude> <!-- Hudson Maven3 integration log --> diff --git a/prepare-svg.sh b/prepare-svg.sh new file mode 100755 index 00000000..5af16d07 --- /dev/null +++ b/prepare-svg.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +#libreoffice --headless --convert-to svg src/xdoc/plugin-tools-deps.odg +# CLI export keeps full A3 page +# I prefer doing it by hand, limiting export to "selection" = avoids extra space + +# svgo https://github.com/svg/svgo +svgo --config svgo.config.mjs plugin-tools-deps.svg -o plugin-tools-deps-optimized.svg + +cat plugin-tools-deps-optimized.svg \ + | sed 's/a xlink:href/a target="_parent" xlink:href/' \ + | sed 's_file://_.._' \ + > src/site/resources/images/plugin-tools-deps.svg diff --git a/src/site/resources/images/plugin-tools-deps.png b/src/site/resources/images/plugin-tools-deps.png deleted file mode 100644 index 0da46f96..00000000 Binary files a/src/site/resources/images/plugin-tools-deps.png and /dev/null differ diff --git a/src/site/resources/images/plugin-tools-deps.svg b/src/site/resources/images/plugin-tools-deps.svg new file mode 100644 index 00000000..d0c2747c --- /dev/null +++ b/src/site/resources/images/plugin-tools-deps.svg @@ -0,0 +1,163 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="642.633" height="75.03mm" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRatio="xMidYMid" version="1.2" viewBox="999 999 17003 7503"> + <g> + <g> + <path fill="none" d="M2099 5899h12103v1203H2099z"/> + <path fill="#E6E6FF" fill-opacity=".502" stroke="#FFF" stroke-opacity=".502" d="M8150 7100H2100V5900h12100v1200z"/> + <path fill="none" stroke="#000" d="M8150 7100H2100V5900h12100v1200z"/> + </g> + <g> + <path fill="none" d="M2099 4499h12103v1203H2099z"/> + <path fill="#E6E6FF" fill-opacity=".502" stroke="#FFF" stroke-opacity=".502" d="M8150 5700H2100V4500h12100v1200z"/> + <path fill="none" stroke="#000" d="M8150 5700H2100V4500h12100v1200z"/> + </g> + <g> + <path fill="none" d="M2398 4699h4258v811H2398z"/> + <a target="_parent" xlink:href="../maven-plugin-tools-java/"> + <path fill="#9CF" d="M4527 5508H2399v-808h4255v808z"/> + <path fill="none" stroke="#000" d="M4527 5508H2399v-808h4255v808z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="2721" y="5276" class="TextPosition"><tspan style="white-space:pre">plugin-tools-java</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M6399 3299h6003v811H6399z"/> + <a target="_parent" xlink:href="../maven-plugin-tools-generators/"> + <path fill="#9CF" d="M9400 4108H6400v-808h6000v808z"/> + <path fill="none" stroke="#000" d="M9400 4108H6400v-808h6000v808z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="6864" y="3876" class="TextPosition"><tspan style="white-space:pre">plugin-tools-generators</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M4233 999h5168v813H4233z"/> + <a target="_parent" xlink:href="../maven-plugin-plugin/"> + <path fill="#9CF" d="M6817 1810H4234v-810h5165v810z"/> + <path fill="none" stroke="#000" d="M6817 1810H4234v-810h5165v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="4588" y="1577" class="TextPosition"><tspan style="white-space:pre">maven-plugin-plugin</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M14599 3399h2203v813h-2203z"/> + <a target="_parent" xlink:href="https://maven.apache.org/doxia/"> + <path fill="#FF9" d="M15700 4210h-1100v-810h2200v810z"/> + <path fill="none" stroke="#000" d="M15700 4210h-1100v-810h2200v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="15067" y="3977" class="TextPosition"><tspan style="white-space:pre">Doxia</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M1699 3289h4327v813H1699z"/> + <a target="_parent" xlink:href="../maven-plugin-tools-api/"> + <path fill="#9CF" d="M3862 4100H1700v-810h4324v810z"/> + <path fill="none" stroke="#000" d="M3862 4100H1700v-810h4324v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="2182" y="3867" class="TextPosition"><tspan style="white-space:pre">plugin-tools-api</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M3862 1809h2957v1483H3862z"/> + <path fill="none" stroke="#000" d="M6817 1810 4219 3111"/> + <path d="m4162 3007 8-39-308 322 442-54-34-17-32-24-29-29-23-36-16-40-7-42z"/> + </g> + <g> + <path fill="none" d="M6816 1809h2586v1492H6816z"/> + <path fill="none" stroke="#000" d="m6817 1810 2237 1291"/> + <path d="m8998 3205-36 16 438 79-288-339 4 37-2 40-9 40-18 40-24 35-31 29z"/> + </g> + <g> + <path fill="none" d="M8799 2089h4403v812H8799z"/> + <a target="_parent" xlink:href="https://maven.apache.org/ref/current/maven-plugin-api/"> + <path fill="#FF9" d="M11000 2899H8800v-809h4400v809z"/> + <path fill="none" stroke="#000" d="M11000 2899H8800v-809h4400v809z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="9102" y="2666" class="TextPosition"><tspan style="white-space:pre">maven-plugin-api</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M14399 4698h1719v812h-1719z"/> + <a target="_parent" xlink:href="https://github.com/paul-hammant/qdox"> + <path fill="#FF9" d="M15258 5508h-858v-809h1716v809z"/> + <path fill="none" stroke="#000" d="M15258 5508h-858v-809h1716v809z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="14721" y="5275" class="TextPosition"><tspan style="white-space:pre">qdox</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M2399 6100h5803v813H2399z"/> + <a target="_parent" xlink:href="../maven-plugin-tools-annotations/"> + <path fill="#9CF" d="M5300 6911H2400v-810h5800v810z"/> + <path fill="none" stroke="#000" d="M5300 6911H2400v-810h5800v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="2667" y="6678" class="TextPosition"><tspan style="white-space:pre">plugin-tools-annotations</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M9399 6100h4503v813H9399z"/> + <a target="_parent" xlink:href="../maven-plugin-tools-annotations/"> + <path fill="#9CF" d="M11650 6911H9400v-810h4500v810z"/> + <path fill="none" stroke="#000" d="M11650 6911H9400v-810h4500v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="9624" y="6678" class="TextPosition"><tspan style="white-space:pre">plugin-annotations</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M999 3545h1403v1561H999z"/> + <path fill="none" stroke="#000" d="M2400 5104H1000V3695h301"/> + <path d="m1305 3814-24 31 419-150-419-150 22 30 18 36 13 40 4 42-3 43-12 41z"/> + </g> + <g> + <path fill="none" d="M999 3546h1403v2962H999z"/> + <path fill="none" stroke="#000" d="M2400 6506H1000V3696h302"/> + <path d="m1306 3815-24 31 419-150-419-150 22 30 18 36 13 40 4 42-3 43-12 41z"/> + </g> + <g> + <path fill="none" d="M14399 6098h1719v812h-1719z"/> + <a target="_parent" xlink:href="https://asm.ow2.io/"> + <path fill="#FF9" d="M15258 6908h-858v-809h1716v809z"/> + <path fill="none" stroke="#000" d="M15258 6908h-858v-809h1716v809z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="14790" y="6675" class="TextPosition"><tspan style="white-space:pre">asm</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M11000 1809h2352v383h-2352z"/> + <path fill="none" stroke="#000" d="m13350 1810-1954 234"/> + <path d="m11379 1926 19-34-398 199 434 99-26-27-22-34-17-37-10-42-1-43 7-42z"/> + </g> + <g> + <path fill="none" d="M6816 1809h4186v405H6816z"/> + <path fill="none" stroke="#000" d="m6817 1810 3785 254"/> + <path d="m10597 2183-25 30 428-122-408-178 20 32 16 37 9 40 2 43-6 42-15 40z"/> + </g> + <g> + <path fill="none" d="M8199 6356h1202v301H8199z"/> + <path fill="none" stroke="#000" d="M8200 6506h801"/> + <path d="m9005 6625-24 31 419-150-419-150 22 30 18 36 13 40 4 42-3 43-12 41z"/> + </g> + <g> + <path fill="none" d="M10099 999h6503v813h-6503z"/> + <a target="_parent" xlink:href="../maven-plugin-report-plugin/"> + <path fill="#9CF" d="M13350 1810h-3250v-810h6500v810z"/> + <path fill="none" stroke="#000" d="M13350 1810h-3250v-810h6500v810z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="10391" y="1577" class="TextPosition"><tspan style="white-space:pre">maven-plugin-report-plugin</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M13399 2098h4603v812h-4603z"/> + <a target="_parent" xlink:href="https://maven.apache.org/shared/maven-reporting-api/"> + <path fill="#FF9" d="M15700 2908h-2300v-809h4600v809z"/> + <path fill="none" stroke="#000" d="M15700 2908h-2300v-809h4600v809z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-weight="400"><tspan x="13484" y="2675" class="TextPosition"><tspan style="white-space:pre">maven-reporting-api</tspan></tspan></tspan></text> + </a> + </g> + <g> + <path fill="none" d="M13349 1809h2353v390h-2353z"/> + <path fill="none" stroke="#000" d="m13350 1810 1954 241"/> + <path d="m15293 2169-27 29 434-98-398-200 19 33 14 38 7 40-1 43-9 42-17 39z"/> + </g> + <g> + <path fill="none" d="M15550 2908h301v493h-301z"/> + <path fill="none" stroke="#000" d="M15700 2909v92"/> + <path d="m15581 3005-31-24 150 419 150-419-30 22-36 18-40 13-42 4-43-3-41-12z"/> + </g> + <g> + <path fill="none" d="M2099 7299h6403v1203H2099z"/> + <a target="_parent" xlink:href="../maven-script/"> + <path fill="#E6E6FF" fill-opacity=".502" stroke="#FFF" stroke-opacity=".502" d="M5300 8500H2100V7300h6400v1200z"/> + <path fill="none" stroke="#000" d="M5300 8500H2100V7300h6400v1200z"/> + <text class="SVGTextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494" font-style="italic" font-weight="400"><tspan x="2350" y="8072" class="TextPosition"><tspan style="white-space:pre">maven-script (deprecated)</tspan></tspan></tspan></text> + </a> + </g> + </g> +</svg> diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index e62096ae..dd1dd032 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -37,28 +37,8 @@ help, and documentation.</p> <p> - <img src="images/plugin-tools-deps.png" width="759" height="474" border="0" usemap="#PluginTools_dependencies" /> - <map name="PluginTools_dependencies"> - <area shape="rect" coords="256,0,467,34" alt="maven-plugin-plugin" href="./maven-plugin-plugin" /> - <area shape="rect" coords="28,95,205,131" alt="plugin-tools-api" href="./maven-plugin-tools-api"/> - <area shape="rect" coords="287,154,496,190" alt="plugin-tools-javadoc" href="./maven-plugin-tools-javadoc"/> - <area shape="rect" coords="44,146,508,198" alt="plugin-tools-java" href="./maven-plugin-tools-java"/> - <area shape="rect" coords="311,213,496,248" alt="plugin-annotations" href="./maven-plugin-annotations"/> - <area shape="rect" coords="44,204,508,256" alt="plugin-tools-annotations" href="./maven-plugin-tools-annotations"/> - <area shape="rect" coords="55,270,293,306" alt="plugin-tools-beanshell" href="./maven-script/maven-plugin-tools-beanshell"/> - <area shape="rect" coords="319,271,557,306" alt="maven-script-beanshell" href="./maven-script/maven-script-beanshell"/> - <area shape="rect" coords="56,329,223,365" alt="plugin-tools-ant" href="./maven-script/maven-plugin-tools-ant"/> - <area shape="rect" coords="388,329,557,365" alt="maven-script-ant" href="./maven-script/maven-script-ant"/> - <area shape="rect" coords="48,388,231,424" alt="plugin-tools-model" href="./maven-script/maven-plugin-tools-model"/> - <area shape="rect" coords="514,95,759,131" alt="plugin-tools-generators" href="./maven-plugin-tools-generators"/> - <area shape="rect" coords="44,263,570,432" alt="maven-script" href="./maven-script"/> - <area shape="rect" coords="340,438,529,474" alt="maven-plugin-api" href="/ref/current/maven-plugin-api/"/> - <area shape="rect" coords="510,154,582,190" alt="qdox" href="https://github.com/paul-hammant/qdox"/> - <area shape="rect" coords="510,212,583,248" alt="asm" href="https://asm.ow2.org/"/> - <area shape="rect" coords="656,134,747,169" alt="Doxia" href="/doxia/"/> - <area shape="rect" coords="599,271,715,306" alt="Beanshell" href="http://www.beanshell.org/"/> - <area shape="rect" coords="600,329,670,366" alt="Ant" href="https://ant.apache.org/"/> - </map> + <object type="image/svg+xml" data="images/plugin-tools-deps.svg" width="643" height="284"> + </object> </p> <table> @@ -83,10 +63,6 @@ <td> <a href="./maven-plugin-tools-java/index.html">maven-plugin-tools-java</a></td> <td>Extractor for plugins written in Java annotated with Mojo Javadoc Tags.</td> </tr> - <tr> - <td> <a href="./maven-plugin-tools-javadoc/index.html">maven-plugin-tools-javadoc</a></td> - <td>Provides doclets to support Mojo Javadoc Tags in the Javadoc Tool.</td> - </tr> <tr> <td> <a href="./maven-plugin-tools-annotations/index.html">maven-plugin-tools-annotations</a></td> <td>Extractor for plugins written in Java with Java annotations.</td> @@ -96,28 +72,9 @@ <td>Provides the Java annotations to use in Mojos.</td> </tr> <tr> - <td><a href="./maven-script/index.html">maven-script</a></td> - <td>Maven Script Mojo Support lets developer write Maven plugins/goals with scripting languages instead of compiled Java.</td> - </tr> - <tr> - <td> <a href="./maven-script/maven-plugin-tools-beanshell/index.html">maven-plugin-tools-beanshell</a></td> - <td>Extractor for plugins written in Beanshell.</td> - </tr> - <tr> - <td> <a href="./maven-script/maven-script-beanshell/index.html">maven-script-beanshell</a></td> - <td>Maven Beanshell Mojo Support, ie write Maven plugins with Beanshell scripts.</td> - </tr> - <tr> - <td> <a href="./maven-script/maven-plugin-tools-ant/index.html">maven-plugin-tools-ant</a></td> - <td>Extractor for plugins written in Ant.</td> - </tr> - <tr> - <td> <a href="./maven-script/maven-script-ant/index.html">maven-script-ant</a></td> - <td>Maven Ant Mojo Support, ie write Maven plugins with Ant script.</td> - </tr> - <tr> - <td> <a href="./maven-script/maven-plugin-tools-model/index.html">maven-plugin-tools-model</a></td> - <td>Plugin Metadata Model for script-based plugins.</td> + <td><a href="./maven-script/index.html">maven-script</a> (deprecated)</td> + <td>Maven Script Mojo Support lets developer write Maven plugins/goals with scripting languages instead of compiled Java.<br/> + Deprecated since 3.7.0</td> </tr> </table> diff --git a/src/site/xdoc/plugin-tools-deps.odg b/src/site/xdoc/plugin-tools-deps.odg index 9d6bf478..549f9a36 100644 Binary files a/src/site/xdoc/plugin-tools-deps.odg and b/src/site/xdoc/plugin-tools-deps.odg differ diff --git a/svgo.config.mjs b/svgo.config.mjs new file mode 100644 index 00000000..84b3da2e --- /dev/null +++ b/svgo.config.mjs @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export default { + js2svg: { + indent: 1, + pretty: true, + }, + plugins: [ + 'preset-default', + { + name: "removeAttrs", + params: { + attrs: [ + "g:class", + "path:class", + ] + } + }, + ], + };