Mite Mitreski
Mite Mitreski

Reputation: 3626

Conditionally adding build extension

Is there a way to conditionally run build plugin extensions. More specifically :

           <extensions>
                <extension>
                    <groupId>co.leantechniques</groupId>
                    <artifactId>maven-buildtime-extension</artifactId>
                    <version>1.0.1</version>
                </extension>
            </extensions>

Apparently you cannot add extension in a profile for eaxample :

<profiles>
    <profile>
        <id>someid</id>
        <build>
            EXTENSION
        </build>
    </profile>
</profiles> 

any other good solution?

Upvotes: 2

Views: 52

Answers (0)

Related Questions