MicroShed / boost

Boost Maven and Gradle plugins for MicroProfile development
Eclipse Public License 1.0
27 stars 13 forks source link

Move runtime-specific enablement/disablement to POM profiles rather than Java logic #364

Open scottkurz opened 5 years ago

scottkurz commented 5 years ago

Easier to understand without reading through Java code.

We can use profile-based "skip", e.g.: boost-maven/boost-maven-plugin/src/it/test-mpRestClient-1.2/pom.xml

    <profile>
        <id>tomee</id>
        <activation>
            ....
        </activation>
        <properties>
            <!-- https://github.com/dev-tools-for-enterprise-java/boost/issues/349 -->
            <skipITs>true</skipITs>
        </properties>

with exclusions configured too if we need to get more fine-grained..