Discussion:
properties analyze
Royce Gerard Remer
2018-11-21 02:31:13 UTC
Permalink
I'm considering writing a feature for the maven-help-plugin, but wanted to
confer here first: a properties-analyze goal which can:
a) list unused maven properties (like maven-dependency-plugin:analyze)
b) list undeclared properties (this can happen when you have a profile
which references a property which doesn't exist)
c) optionally fail the build for either of the above conditions

I didn't see this in any other maven plugins, and can't find a discussion
on this topic in the lists. I do see a ton of 'cleanup unused properties'
jira issues, however.

Good idea? Already implemented somewhere else? Good idea but wrong place to
implement the feature?
Karl Heinz Marbaise
2018-11-22 07:40:57 UTC
Permalink
Hi,

I would also suggest to check if this can be done as an enforcer rule...

Kind regards
Karl Heinz Marbaise
Post by Royce Gerard Remer
c) optionally fail the build for either of the above conditions
Wouldn't the maven-enforcer-plugin be a better fit for this?
Might even be implemented using custom rules?
https://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html
With kind regards,
Jurrie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@maven.apache.org
For additional commands, e-mail: dev-***@maven.apache.org

Continue reading on narkive:
Loading...