When using the depgraph plugin, the groupFilter/artifactFilter/versionFilter parameters don't seem to be used by the execution. The resulting graph ends up with has artifacts that do not match the filters given. Is this a known problem?
Example of filters used with depgraph:fullgraph:
-DgroupFilter='^com\.company\..*$' -DartifactFilter='^.*$' -DversionFilter='^.*$'
Will appreciate any clues. Thanks.
The forum mangled my groupFilter. It should have a slash escaping the dots, except for the last dot.
You have missed the prefix of the system properties. Here an example:
mvn depgraph:fullgraph -Ddepgraph.groupFilter='^ch\\..\*$' -Ddepgraph.artifactFilter='^srk.\*$' -Ddepgraph.versionFilter
Have a look at the "expression" entries of the plugin doc page:
Martin, thanks a lot! I completely missed that. Its working as expected now.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.