Do not pull in spotbugs-annotations into binding-parent 24/109424/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Dec 2023 20:21:55 +0000 (21:21 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Dec 2023 23:57:25 +0000 (00:57 +0100)
Binding constructs no longer emit @SuppressFBWarnings, hence there is no
point in pulling in this dependency.

Change-Id: If0cdc88df2b2d585fb3bf2defb07d928325466a5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/binding-parent/pom.xml

index dfdcf38060458e8fe04c67ac47a67b7b3e7ceae3..7e23fa0003e8251c17deeac7d5eeb35a8174df4a 100644 (file)
                 </file>
             </activation>
             <dependencies>
-                <dependency>
-                    <groupId>com.github.spotbugs</groupId>
-                    <artifactId>spotbugs-annotations</artifactId>
-                    <optional>true</optional>
-                </dependency>
                 <dependency>
                     <groupId>com.google.guava</groupId>
                     <artifactId>guava</artifactId>
                         <groupId>org.codehaus.mojo</groupId>
                         <artifactId>build-helper-maven-plugin</artifactId>
                     </plugin>
-                    <plugin>
-                        <artifactId>maven-dependency-plugin</artifactId>
-                        <configuration>
-                            <ignoredUnusedDeclaredDependencies combine.children="append">
-                                <!-- Binding uses SpotBugs only for some constructs (RPCs) methods -->
-                                <ignoredUnusedDeclaredDependency>com.github.spotbugs:spotbugs-annotations</ignoredUnusedDeclaredDependency>
-                            </ignoredUnusedDeclaredDependencies>
-                        </configuration>
-                    </plugin>
                 </plugins>
             </build>
         </profile>