OpenHFT/Binary-Compatibility-Enforcer-Plugin

Add a generic way to specify extra options

Closed this issue · 4 comments

like skip-internal-packages *my-internal-package*

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>

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

For Map it would be:

<extraOptions>
    <skip-internal-packages>.*my-unchecked-package.*</skip-internal-packages>
</extraOptions>

Which command line would it translate to?