[
https://issues.apache.org/jira/browse/RAT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804873#comment-17804873
]
Philipp Ottlinger commented on RAT-343:
---------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] --<
org.apache.rat.test.examples:RAT-179-activate-default-licenses-and-add-new-ones
>--
[INFO] Building RAT-179-activate-default-licenses-and-add-new-ones
1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'licenseFamilies' is unknown for plugin
'apache-rat-plugin:0.16:check (default-cli)'
[INFO]
[INFO] --- apache-rat:0.16:check (default-cli) @
RAT-179-activate-default-licenses-and-add-new-ones ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.201 s
[INFO] Finished at: 2024-01-09T21:12:28+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.16:check
(default-cli) on project RAT-179-activate-default-licenses-and-add-new-ones:
Unable to parse configuration of mojo
org.apache.rat:apache-rat-plugin:0.16:check for parameter licenses: Cannot load
implementation hint 'org.apache.rat.analysis.license.SimplePatternBasedLicense'
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
✘-1
~/creadur-rat-examples/RAT-179/maven/activate-default-licenses-and-add-new-ones
[master|✔]
21:12 $
It's interesting, that running the build on the parent project does not fail,
but if in the subdirectory directly you do see the build warning and the build
fails.
fyi: [[email protected]]
> Custom licensenses not working in contrast to v0.15
> ---------------------------------------------------
>
> Key: RAT-343
> URL: https://issues.apache.org/jira/browse/RAT-343
> Project: Apache Rat
> Issue Type: Bug
> Components: license-meta-data, scan, site
> Affects Versions: 0.16
> Reporter: Philipp Ottlinger
> Priority: Major
>
> Due to the changes introduced in 0.16 projects with custom license
> definitions do not seem to work anymore as reported by [~solomax] with
> OpenMeetings:
> [https://github.com/apache/openmeetings/blob/master/pom.xml#L1393]
> Verify that the documentation provided in
> [https://creadur.apache.org/rat/apache-rat-plugin/examples/custom-license.html]
> is correct and ideally add an example usage to
> [CreadurExamples|https://github.com/ottlinger/creadur-rat-examples] to
> prevent future regressions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)