</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.annotation</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <optional>true</optional>
+ </dependency>
</dependencies>
</project>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.annotation</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<artifactId>org.osgi.framework</artifactId>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.annotation</artifactId>
+ <optional>true</optional>
+ </dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
<artifactId>guava</artifactId>
<scope>compile</scope>
</dependency>
+
<!-- The following, which are just transitive dependencies of bundles4-test,
have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
<dependency>
<artifactId>karaf-util</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <optional>true</optional>
+ </dependency>
</dependencies>
<build>
<name>ODL :: odlparent :: ${project.artifactId}</name>
<packaging>bundle</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.annotation</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
<build>
<plugins>
<plugin>
<classifier>annotations</classifier>
<!-- Keep this version in sync with annotationProcessorPaths declaration below -->
<version>2.9.3</version>
- <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
- <scope>provided</scope>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.7.3</version>
- <scope>provided</scope>
<!-- Contains retention=RUNTIME annotations, which are not really needed -->
<optional>true</optional>
<exclusions>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.annotation</artifactId>
<version>2.2.700</version>
- <scope>provided</scope>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<scope>provided</scope>
</dependency>
- <!--
- Enable useful code quality annotations everywhere. Since these annotations
- are not required at runtime.
- -->
- <dependency>
- <groupId>org.eclipse.jdt</groupId>
- <artifactId>org.eclipse.jdt.annotation</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-annotations</artifactId>
- <scope>provided</scope>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.gaul</groupId>
- <artifactId>modernizer-maven-annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
<!--
Testing output should be routed through slf4j-simple.
-->
<groupId>org.apache.karaf.features</groupId>
<artifactId>org.apache.karaf.features.core</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>org.eclipse.jdt.annotation</artifactId>
+ <optional>true</optional>
+ </dependency>
</dependencies>
<build>
<groupId>org.immutables</groupId>
<artifactId>value</artifactId>
<classifier>annotations</classifier>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <optional>true</optional>
</dependency>
</dependencies>
</project>