Maven exclude groupId wildcard usage

Viewed 22

Is it possible to exclude all dependencies starting with com.acme* in groupId?

Example:

<dependency>
        <groupId>com.myproject</groupId>
        <artifactId>test</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <exclusions>
            <exclusion>
                <groupId>com.acme*</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
0 Answers
Related