GithubHelp home page GithubHelp logo

s4u / sitemapxml-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 875 KB

Maven sitemap.xml generator plugin

Home Page: https://www.simplify4u.org/sitemapxml-maven-plugin/

License: Apache License 2.0

Java 87.13% Groovy 12.87%
java maven-plugin seo sitemap

sitemapxml-maven-plugin's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar monoradioactivo avatar slawekjaranowski avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sitemapxml-maven-plugin's Issues

Add setting to prefer clean URLs over index.html

I'd like to configure sitemap generation to list clean URLs in cases where the default index page is found.

E.g.:

Current behavior Proposed behavior
https://example.com/index.html https://example.com/
https://example.com/path/index.html https://example.com/path/
https://example.com/other.html https://example.com/other.html (no change for non-index pages)

I'd prefer this as the default behavior, but it could be a configurable option.

Google Search Console (the consumer of the sitemap.xml) treats the clean URL and the index.html URL as distinct pages, and I want the clean URL to be canonical, and listed in the sitemap.

[Security] Workflow build.yml is using vulnerable action s4u/maven-settings-action

The workflow build.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Problem when run mvn site com.github.s4u.plugins:sitemapxml-maven-plugin:gen

Sorry For the question here.
Can I use this plugin for a maven project that is in the development phase locally?I mean do I have to publish my site project and use real links or it can be used in localhost development phase with introducing folder of HTML files (I'm using spring boot with thymeleaf template engine)?

[Security] Workflow build.yml is using vulnerable action s4u/maven-settings-action

The workflow build.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Support customized HTML folders

Hi,

In my project, I generate HTML files from some JS files (VUE, actually). The generated HTMLs are located in the target/ folder.

So, can the plugin support to let the user define where the HTML files are?

[Security] Workflow pr.yml is using vulnerable action s4u/maven-settings-action

The workflow pr.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

[Security] Workflow pr.yml is using vulnerable action s4u/maven-settings-action

The workflow pr.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Use in custom controller

I would love to use it in my custom controller for custom entities.
So basically I am looking for usage "as a service" instead of some kind of automatisation in build process.

Support for skip plugin execution

Is your feature request related to a problem? Please describe.
When run

mvn site -Dmaven.site.skip

We have got an error:

[INFO] Generate sitemap.xml - Start
[ERROR] 
java.io.IOException: Invalid outputDirectory
    at org.simplify4u.plugins.sitemapxml.SiteMapXmlMojo.lambda$listDirectory$0 (SiteMapXmlMojo.java:198)
    at java.util.Optional.orElseThrow (Optional.java:290)
    at org.simplify4u.plugins.sitemapxml.SiteMapXmlMojo.listDirectory (SiteMapXmlMojo.java:198)

Describe the solution you'd like
Support for skip plugin execution by maven.site.skip property

Describe alternatives you've considered
Plugin should check is site directory exists.

[Security] Workflow build.yml is using vulnerable action s4u/maven-settings-action

The workflow build.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

[Security] Workflow build.yml is using vulnerable action s4u/maven-settings-action

The workflow build.yml is referencing action s4u/maven-settings-action using references v2.4.0. However this reference is missing the commit 5935b2506fdb5912d2dbbd167716193890e2fabd which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.