This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch sources-with-puml
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 7379c2e970e0be2cd9536d44fc025751b88ad302
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sun Dec 31 10:41:32 2023 +0100

    Use puml to generate sources diagrams
---
 content/xdoc/scm.xml                    |  10 +++
 src/plantuml/maven-sources/core.puml    |  43 ++++++++++++
 src/plantuml/maven-sources/plugins.puml | 116 ++++++++++++++++++++++++++++++++
 src/plantuml/maven-sources/site.puml    |  28 ++++++++
 4 files changed, 197 insertions(+)

diff --git a/content/xdoc/scm.xml b/content/xdoc/scm.xml
index 17e95b61..a2bec661 100644
--- a/content/xdoc/scm.xml
+++ b/content/xdoc/scm.xml
@@ -66,6 +66,16 @@ repo start master --all</pre>
       </subsection>
 
       <subsection name="Maven Sources Overview">
+        <p>
+          <object type="image/svg+xml" data="maven-sources/site.svg"/>
+        </p>
+        <p>
+          <object type="image/svg+xml" data="maven-sources/core.svg"/>
+        </p>
+        <p>
+          <object type="image/svg+xml" data="maven-sources/plugins.svg"/>
+        </p>
+
         <p align="center">
           <img src="maven-sources.png" width="843" height="837" border="0" 
usemap="#maven-sources" />
           <map name="maven-sources">
diff --git a/src/plantuml/maven-sources/core.puml 
b/src/plantuml/maven-sources/core.puml
new file mode 100644
index 00000000..eb1e694b
--- /dev/null
+++ b/src/plantuml/maven-sources/core.puml
@@ -0,0 +1,43 @@
+/*
+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.
+*/
+@startuml
+!pragma layout smetana
+
+skinparam rectangle {
+  BackgroundColor LightBlue
+}
+
+package "Maven Core" {
+  rectangle Maven
+  rectangle "Core ITs"
+  rectangle Resolver
+  rectangle "Ant Tasks"
+}
+
+'hidden dependencies to change layout
+Maven -[hidden]> "Core ITs"
+"Core ITs" -[hidden]> Resolver
+Resolver -[hidden]> "Ant Tasks"
+
+url of Maven is [[https://github.com/apache/maven]]
+url of "Core ITs" is [[https://github.com/apache/maven-integration-testing]]
+url of Resolver is [[https://github.com/apache/maven-resolver]]
+url of "Ant Tasks" is [[https://github.com/maven-resolver-ant-tasks]]
+
+@enduml
diff --git a/src/plantuml/maven-sources/plugins.puml 
b/src/plantuml/maven-sources/plugins.puml
new file mode 100644
index 00000000..4fb25376
--- /dev/null
+++ b/src/plantuml/maven-sources/plugins.puml
@@ -0,0 +1,116 @@
+/*
+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.
+*/
+@startuml
+!pragma layout smetana
+
+skinparam rectangle {
+  BackgroundColor LightBlue
+}
+
+
+package Plugins {
+
+  package Core {
+    rectangle clean
+    rectangle compiler
+    rectangle deploy
+    rectangle install
+    rectangle resources
+    rectangle site
+    rectangle surefire
+    rectangle verifier
+  }
+
+  package Packaging {
+    rectangle ear
+    rectangle ejb
+    rectangle jar
+    rectangle rar
+    rectangle war
+    rectangle acr
+    rectangle shade
+    rectangle source
+    rectangle jlink
+    rectangle jmod
+  }
+
+  package Reporting {
+    rectangle changelog
+    rectangle changes
+    rectangle checkstyle
+    rectangle doap
+    rectangle javadoc
+    rectangle jdeps
+    rectangle jxr
+    rectangle linkcheck
+    rectangle pmd
+    rectangle "project-info-reports"
+  }
+
+  package Tools {
+    rectangle antrun
+    rectangle archetype
+    rectangle assembly
+    rectangle dependency
+    rectangle enforcer
+    rectangle gpg
+    rectangle help
+    rectangle invoker
+    rectangle jarsigner
+    rectangle jdeprscan
+    rectangle patch
+    rectangle pdf
+    rectangle plugin
+    rectangle release
+    rectangle "remote-resource"
+    rectangle scm
+    rectangle "scm-ppublish"
+    rectangle scripting
+    rectangle stage
+    rectangle toolchains
+  }
+}
+
+'hidden dependencies to change layout
+Core      -[hidden]-> Packaging
+Packaging -[hidden]-> Reporting
+Reporting -[hidden]-> Tools
+
+clean     -[hidden]> compiler
+compiler  -[hidden]> deploy
+deploy    -[hidden]> install
+install   -[hidden]> resources
+resources -[hidden]> site
+site      -[hidden]> surefire
+surefire  -[hidden]> verifier
+
+ear       -[hidden]> ejb
+ejb       -[hidden]> jar
+jar       -[hidden]> rar
+rar       -[hidden]> war
+war       -[hidden]> acr
+acr       -[hidden]> shade
+shade     -[hidden]> source
+source    -[hidden]> jlink
+jlink     -[hidden]> jmod
+
+
+url of clean is [[https://github.com/apache/maven-clean-plugin]]
+
+@enduml
diff --git a/src/plantuml/maven-sources/site.puml 
b/src/plantuml/maven-sources/site.puml
new file mode 100644
index 00000000..39d11570
--- /dev/null
+++ b/src/plantuml/maven-sources/site.puml
@@ -0,0 +1,28 @@
+/*
+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.
+*/
+@startuml
+!pragma layout smetana
+
+rectangle Site
+rectangle Sources #LightBlue
+
+url of Site is [[https://github.com/apache/maven-site]]
+url of Sources is [[https://github.com/apache/maven-sources]]
+
+@enduml

Reply via email to