Bug 9087 aaa-cli un-commented (with a trick) 23/62723/2
authorMichael Vorburger <vorburger@redhat.com>
Tue, 5 Sep 2017 19:15:45 +0000 (21:15 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Wed, 6 Sep 2017 00:16:11 +0000 (00:16 +0000)
Change-Id: If3c5ceb9e4ca8a673db24e2e8e39c5e61c25955e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
karaf/pom.xml

index 5e573e799318459e6a28a22b8157ae697bd045c6..16ba361b5baa3e917bb528a468b595c965c2565d 100644 (file)
             </exclusions>
         </dependency>
 
-        <!-- External applications. -->
-        <!-- This leads to "Unsupported 'Bundle-ManifestVersion' value: 1". Uncomment when fixed.
         <dependency>
             <groupId>org.opendaylight.aaa</groupId>
             <artifactId>aaa-cli-jar</artifactId>
+            <!-- This scope test here is just a trick, so that we can use aaa-cli-jar in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
+            <scope>test</scope>
         </dependency>
-        -->
     </dependencies>
 
     <build>
         <plugins>
-            <!-- This leads to "Unsupported 'Bundle-ManifestVersion' value: 1". Uncomment when fixed.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
                             <overWriteSnapshots>true</overWriteSnapshots>
                             <overWriteIfNewer>true</overWriteIfNewer>
                             <excludeTransitive>true</excludeTransitive>
-                            < ! - - Do not include version in JAR filename, as external scripts call this utility,
+                            <!-- Do not include version in JAR filename, as external scripts call this utility,
                                  and they understandly do not want to have to adjust for every ODL release;
-                                 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 - - >
+                                 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
                             <stripVersion>true</stripVersion>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-            -->
         </plugins>
     </build>
 </project>