Add a generic way to specify extra options
Closed this issue · 4 comments
minborg commented
like skip-internal-packages *my-internal-package*
minborg commented
Example:
<plugin>
<groupId>net.openhft</groupId>
<artifactId>binary-compatibility-enforcer-plugin</artifactId>
<version>1.0.11-SNAPSHOT</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>enforcer</goal>
</goals>
<configuration>
<referenceVersion>2.23ea0</referenceVersion>
<artifactsURI>https://teamcity.chronicle.software/repository/download</artifactsURI>
<binaryCompatibilityPercentageRequired>100.0</binaryCompatibilityPercentageRequired>
<extraOptions>
<extraOption>
<name>skip-internal-packages</name>
<value>.*my-unchecked-package.*</value>
</extraOption>
</extraOptions>
</configuration>
</execution>
</executions>
</plugin>
alamar commented
Let's make sure it uses native map format of Maven Plugin API.
How it should work - what would be the command line given that invocation @minborg
minborg commented
For Map it would be:
<extraOptions>
<skip-internal-packages>.*my-unchecked-package.*</skip-internal-packages>
</extraOptions>
alamar commented
Which command line would it translate to?