[
https://issues.apache.org/jira/browse/RAT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896975#comment-17896975
]
ASF subversion and git services commented on RAT-450:
-----------------------------------------------------
Commit fefc482a58077059bd1ca2d7efc05b031e3a7141 in creadur-rat's branch
refs/heads/fix/RAT-450 from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=fefc482a ]
RAT-450: Harmonize log messages to ease migration for RAT consumers of v0.17
> Bug: Deprecation warning does not contain dots at the end of sentences
> ----------------------------------------------------------------------
>
> Key: RAT-450
> URL: https://issues.apache.org/jira/browse/RAT-450
> Project: Apache Rat
> Issue Type: Sub-task
> Reporter: Philipp Ottlinger
> Assignee: Philipp Ottlinger
> Priority: Major
> Fix For: 0.17
>
>
> While enabling the current SNAPSHOT on a project that used v0.16.1 I realized
> that the format of the error message could be more user-friendly.
> ## Shown behaviour
> [WARNING] Parameter 'addDefaultLicenseMatchers' (user property
> 'rat.addDefaultLicenseMatchers') is deprecated: use <config>
> [WARNING] Parameter 'excludes' is deprecated: Deprecated for removal since
> 0.17: Use <inputExclude> instead.
> [WARNING] Parameter 'useDefaultExcludes' (user property
> 'rat.useDefaultExcludes') is deprecated: when set to true specifies that the
> STANDARD_PATTERNS are excluded, as are the STANDARD_SCMS patterns. Use the
> various InputExclude and InputInclude elements to explicitly specify what to
> include or exclude.
> [WARNING] Parameter 'useEclipseDefaultExcludes' (user property
> 'rat.useEclipseDefaultExcludes') is deprecated: when set to true specifies
> that the ECLIPSE patterns are excluded Use "inputIncludeStd ECLIPSE" to
> override.
> [WARNING] Parameter 'useIdeaDefaultExcludes' (user property
> 'rat.useIdeaDefaultExcludes') is deprecated: when set to true specifies that
> the IDEA patterns are excluded Use "inputIncludeStd IDEA" to override.
> [WARNING] Parameter 'useMavenDefaultExcludes' (user property
> 'rat.useMavenDefaultExcludes') is deprecated: when set to true specifies that
> the MAVEN patterns are excluded Use "inputIncludeStd MAVEN" to override.
> ## Expected behaviour
> [WARNING] Parameter 'useMavenDefaultExcludes' (user property
> 'rat.useMavenDefaultExcludes') is deprecated: when set to true specifies that
> the MAVEN patterns are excluded. Use "inputIncludeStd MAVEN" to override.
> This seems to work fine Options as is printed:
> [WARNING] Option [-e, --exclude] used. Deprecated for removal since 0.17: Use
> --input-exclude instead.
> WDYT? [[email protected]]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)