Skip to content

Commit

Permalink
Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0 (
Browse files Browse the repository at this point in the history
…#561)

* Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0

Bumps [org.apache.maven.plugins:maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.12.1 to 3.20.0.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](apache/maven-site-plugin@maven-site-plugin-3.12.1...maven-site-plugin-3.20.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-site-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Migrate to new site plugin

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slawomir Jaranowski <[email protected]>
  • Loading branch information
dependabot[bot] and slawekjaranowski committed Sep 14, 2024
1 parent 36a3899 commit 435cf13
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
<maven-ear-plugin.version>3.3.0</maven-ear-plugin.version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>3.3.1</maven-failsafe-plugin.version>
<maven-fluido-skin.version>1.12.0</maven-fluido-skin.version>
<maven-fluido-skin.version>2.0.0-M10</maven-fluido-skin.version>
<maven-gpg-plugin.version>3.2.5</maven-gpg-plugin.version>
<maven-help-plugin.version>3.4.1</maven-help-plugin.version>
<maven-install-plugin.version>3.1.3</maven-install-plugin.version>
Expand All @@ -219,7 +219,7 @@
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<maven-scm-publish-plugin.version>3.3.0</maven-scm-publish-plugin.version>
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
<maven-site-plugin.version>3.20.0</maven-site-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
<maven-surefire-report-plugin.version>3.3.1</maven-surefire-report-plugin.version>
Expand Down
16 changes: 8 additions & 8 deletions src/site/markdown/index.md.vm
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Parent POM for all MojoHaus hosted Apache Maven plugins and components.
Latest build status: [![GitHub CI](https://github.com/mojohaus/mojo-parent/actions/workflows/maven.yml/badge.svg)](https://github.com/mojohaus/mojo-parent/actions/workflows/maven.yml)

Changelog
---------
=========

[GitHub report](https://github.com/mojohaus/mojo-parent/releases/tag/${project.scm.tag})

How to use the POM
------------------
==================

* for general information about using a parent pom take a look at http://maven.apache.org/guides/introduction/introduction-to-the-pom.html.
* for general information about using a parent pom take a look at https://maven.apache.org/guides/introduction/introduction-to-the-pom.html.
* it boils down to define a parent element in your own POM:

```xml
Expand All @@ -31,7 +31,7 @@ How to use the POM
```

Spotless - automatic code formatting
------------------------------------
====================================

`MojoHaus` Parent POM contains configuration for [spotless-maven-plugin](https://github.com/diffplug/spotless/tree/main/plugin-maven)
with options:
Expand All @@ -58,7 +58,7 @@ mvn spotless:apply
```

Checkstyle
----------
==========

You can use `checkstyle` in order to verify code on each build.

Expand All @@ -72,7 +72,7 @@ Checkstyle can be enabled by adding to build/plugins`:
```

Big code reformat
-----------------
=================

After applying bigger reformatting it is recommended to add or update a `.git-blame-ignore-revs` file
in the root of the repository containing a line with the SHA1 of the formatting commit to ignore those changes
Expand All @@ -83,12 +83,12 @@ and can optionally be considered with [local `git blame`](https://git-scm.com/do


Latest releases
---------------
===============

... may be found at [Maven Central](https://search.maven.org/search?q=g%3Aorg.codehaus.mojo%20AND%20a%3Amojo-parent%20AND%20p%3Apom).

Deploy site to github
---------------------
=====================

To deploy a site to github using [maven-scm-publish-plugin](https://maven.apache.org/plugins/maven-scm-publish-plugin/):

Expand Down
26 changes: 13 additions & 13 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
<bannerLeft>
<name>MojoHaus</name>
<src>https://www.mojohaus.org/images/mojo_logo.png</src>
<href>https://www.mojohaus.org/</href>
<site xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">

<bannerLeft name="MojoHaus" href="https://www.mojohaus.org/">

This comment has been minimized.

Copy link
@slawekjaranowski

slawekjaranowski Sep 14, 2024

Author Member

Now I see that name is always generated near logo and site look like:

image

should I use an alt for image object?
@michael-o

This comment has been minimized.

Copy link
@michael-o

michael-o Sep 15, 2024

Member

This is the correct solution: 301f456

<image src="https://www.mojohaus.org/images/mojo_logo.png" />
</bannerLeft>

<publishDate format="yyyy-MM-dd" position="right" />
<publishDate position="right" />
<version position="right" />

<skin>
Expand All @@ -40,9 +39,9 @@
<siteId>18</siteId>
<url>https://analytics.apache.org/</url>
<options>
<disableCookies/>
<trackPageView/>
<enableLinkTracking/>
<disableCookies />
<trackPageView />
<enableLinkTracking />
</options>
</matomo>
<fluidoSkin>
Expand All @@ -56,13 +55,14 @@

<body>
<links>
<item name="Maven" href="https://maven.apache.org/"/>
<item name="Maven" href="https://maven.apache.org/" />
</links>

<breadcrumbs>
<item name="MojoHaus" href="https://www.mojohaus.org/"/>
<item name="MojoHaus" href="https://www.mojohaus.org/" />
<item name="${this.name}" href="${this.url}" />
</breadcrumbs>

<menu ref="reports" inherit="bottom" />
</body>
</project>
</site>

0 comments on commit 435cf13

Please sign in to comment.