You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2024/04/04 18:25:01 UTC
Re: [PR] Remove property keywords because of conflict in inline command configration parameters [maven-checkstyle-plugin]
slawekjaranowski commented on PR #132:
URL: https://github.com/apache/maven-checkstyle-plugin/pull/132#issuecomment-2037897766
> Example: In pom.xml `<configuration> <configLocation>my_checks.xml</configLocation> </configuration>` But at the code: `@Parameter(property = "checkstyle.config.location", defaultValue = DEFAULT_CONFIG_LOCATION) = protected String configLocation;`
>
> You can see that `configLocation` and `checkstyle.config.location` conflicts
>
> Because of checkstyle.config.location , `mvn checkstyle:check` command doesnt see the configureLocation.
There is no conflicts .... simply properties is used to assign configuration values for not mentioned options
If you have configuration in pom in static way - properties are not used any more ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org