You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "yli@sudytech.com" <yl...@sudytech.com> on 2019/01/05 10:03:47 UTC

maven exclusions of dependency

Can support regex expression for maven exclusions of dependency?
I wish ingore multi dependency that has same regex , instead of write multi exclusion.
Example:
I want to exclude all springframework dependency like as
<exclusion>
                      <groupId>org.springframework*</groupId>
                      <artifactId>*</artifactId>
            </exclusion>
then this equivalent to below way
<exclusion>
                                <groupId>org.springframework</groupId>
                                <artifactId>*</artifactId>
                   </exclusion>
                   <exclusion>
                                <groupId>org.springframework.boot</groupId>
                                <artifactId>*</artifactId>
                    </exclusion>
                   <exclusion>
                                <groupId>org.springframework.cloud</groupId>
                                <artifactId>*</artifactId>
                     </exclusion>
                       ……



********************************************

李翌 
15850741084                                 1483554349@qq.com 
南京市雨花台区软件大道66号华通科技园3层                 210012
http://www.sudytech.com
********************************************