when writing a mojo that acts on dependencies.... which is the nicer way to handle includes and excludes dependency:purge-local-repository has a -Dexclude=groupId:artifactId,groupId:artifactId style while dependency:copy-dependencies has a -DexcludeGroupIds=groupId,groupId -DexcludeArtifactIds=artifactId,artifactId of course if there was no existing pattern i'd probably use the -Dexclude=g:a,g:a,g:a style only allowing wildcards e.g. -Dexclude=g1:*,g2:a2,*:a3,g4.*:a4-* but the fun there is shell escaping is a pain for cross-platform and Java expects quoting to behave differently Anyone???
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
