fix BP gen. XML related issue in projects dep. on serviceutils.upgrade
[serviceutils.git] / upgrade / pom.xml
index 484252149163d210f46aaba62c65419daef16842..3b9bd75bef2ad7a20d2396b0360612256a91c4ad 100644 (file)
@@ -38,22 +38,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-binding-api</artifactId>
     </dependency>
-    <dependency>
-      <groupId>javax.inject</groupId>
-      <artifactId>javax.inject</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.ops4j.pax.cdi</groupId>
-      <artifactId>pax-cdi-api</artifactId>
-      <optional>true</optional>
-    </dependency>
   </dependencies>
   <build>
     <plugins>
-      <plugin>
-        <groupId>org.apache.aries.blueprint</groupId>
-        <artifactId>blueprint-maven-plugin</artifactId>
-      </plugin>
+      <!-- Do *NOT* use annotation based DI with the blueprint-maven-plugin here; the issue is that this
+           will cause problems in other projects having a dependency to this one (they would repeat and re-generate this project's BP XML). -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>