use annotations instead of XML for Blueprint
[ovsdb.git] / southbound / southbound-impl / pom.xml
index 9c43ff1d0a53ae3419da195883b910274be4747e..0e79df9fbb74cf3602b655e257bef075184fcfc8 100644 (file)
@@ -82,13 +82,14 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <version>1.5.0-SNAPSHOT</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.aries.blueprint</groupId>
-      <artifactId>blueprint-maven-plugin-annotation</artifactId>
+      <groupId>javax.inject</groupId>
+      <artifactId>javax.inject</artifactId>
       <optional>true</optional>
     </dependency>
     <dependency>
-      <groupId>javax.inject</groupId>
-      <artifactId>javax.inject</artifactId>
+      <groupId>org.apache.aries.blueprint</groupId>
+      <artifactId>blueprint-maven-plugin-annotation</artifactId>
+      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>org.sonarsource.java</groupId>
@@ -169,6 +170,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   </dependencies>
   <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.aries.blueprint</groupId>
+        <artifactId>blueprint-maven-plugin</artifactId>
+        <configuration>
+          <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>