Fixing 'enforce-orbit-deps' enforcer rules to actually work + allow provided scope
This commit is contained in:
parent
857498b115
commit
f275a045c3
14
pom.xml
14
pom.xml
|
@ -146,11 +146,17 @@
|
||||||
<rules>
|
<rules>
|
||||||
<!-- Banned Dependencies (should use Orbit based versions now) -->
|
<!-- Banned Dependencies (should use Orbit based versions now) -->
|
||||||
<bannedDependencies>
|
<bannedDependencies>
|
||||||
|
<excludes>
|
||||||
|
<exclude>javax.servlet</exclude>
|
||||||
|
<exclude>javax.servlet.jsp</exclude>
|
||||||
|
<exclude>org.apache.geronimo.specs</exclude>
|
||||||
|
<exclude>javax.mail</exclude>
|
||||||
|
<exclude>javax.activation</exclude>
|
||||||
|
</excludes>
|
||||||
|
<!-- allowed combinations -->
|
||||||
<includes>
|
<includes>
|
||||||
<include>javax.servlet</include>
|
<include>javax.servlet:*:*:*:provided</include>
|
||||||
<include>org.apache.geronimo.specs</include>
|
<include>javax.servlet.jsp:*:*:*:provided</include>
|
||||||
<include>javax.mail</include>
|
|
||||||
<include>javax.activation</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
<searchTransitive>true</searchTransitive>
|
<searchTransitive>true</searchTransitive>
|
||||||
<message>This dependency is banned, use the ORBIT provided dependency instead.</message>
|
<message>This dependency is banned, use the ORBIT provided dependency instead.</message>
|
||||||
|
|
Loading…
Reference in New Issue