Skip to content

Commit 0f47fa4

Browse files
authored
Merge pull request #150 from basil/annotation-api
Avoid Enforcer errors in dependent plugins
2 parents 82d4a07 + 0490245 commit 0f47fa4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
<scope>test</scope>
112112
<type>test-jar</type>
113113
<exclusions>
114+
<!-- Provided by Jenkins core -->
114115
<exclusion>
115116
<groupId>com.github.spotbugs</groupId>
116117
<artifactId>spotbugs-annotations</artifactId>
@@ -119,6 +120,10 @@
119120
<groupId>commons-io</groupId>
120121
<artifactId>commons-io</artifactId>
121122
</exclusion>
123+
<exclusion>
124+
<groupId>javax.annotation</groupId>
125+
<artifactId>javax.annotation-api</artifactId>
126+
</exclusion>
122127
</exclusions>
123128
</dependency>
124129

0 commit comments

Comments
 (0)