[ https://issues.apache.org/jira/browse/MNGSITE-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908808#comment-17908808 ]
Matthias Bünger edited comment on MNGSITE-551 at 12/30/24 8:59 AM: ------------------------------------------------------------------- Okay, I will open a PR for this edit: * PR created * [Github-Issue in Maven-Parent|https://github.com/apache/maven-parent/issues/222] created. was (Author: JIRAUSER302100): Okay, I will open a PR for this > Modello generates XSD without licences and fails build > ------------------------------------------------------ > > Key: MNGSITE-551 > URL: https://issues.apache.org/jira/browse/MNGSITE-551 > Project: Maven Project Web Site > Issue Type: Bug > Reporter: Matthias Bünger > Priority: Major > Attachments: image-2024-12-29-18-42-57-796.png > > > When running a regular build (e.g. `mvn verify site`) of the site project, > the rat-plugin breaks the build as two XSD files are generated without a > license > {code} > [INFO] --- apache-rat:0.16.1:check (rat-check) @ maven-site --- > [INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, > generated: 3, approved: 380 licenses. > [WARNING] Files with unapproved licenses: > content/resources/xsd/decoration-1.8.1.xsd > content/resources/xsd/site-2.0.0.xsd > [INFO] > -------------------------------------------------------------------------------------------------------------------------- > [INFO] BUILD FAILURE > [INFO] > -------------------------------------------------------------------------------------------------------------------------- > [INFO] Total time: 5.828 s > [INFO] Finished at: 2024-12-29T18:35:29+01:00 > [INFO] > -------------------------------------------------------------------------------------------------------------------------- > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.16.1:check > (rat-check) on project maven-site: Too many files with unapproved license: 2 > See RAT report in: D:\Github\Maven\maven-site\target\rat.txt -> [Help 1] > [ERROR] > {code} > In the past the license was added, but then removed again (I guess not paid > attention, but that's just a guess). > !image-2024-12-29-18-42-57-796.png! > As the Modello comment in this files clearly says that one should not edit > them - how/where can we configure Modello to add the licence by default? > The modello-plugin is not configured directly in the site's pom.xml -- This message was sent by Atlassian Jira (v8.20.10#820010)