Bump versions by x.y.(z+1)
[netconf.git] / netconf / netconf-console / pom.xml
index 31cefd6884c09362a590cc89d6a79c764d12098a..fef9a1eeff43089f20bc0382cf736a10f229c720 100644 (file)
@@ -9,36 +9,119 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.opendaylight.controller</groupId>
-    <artifactId>config-parent</artifactId>
-    <version>0.5.0-SNAPSHOT</version>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>bundle-parent</artifactId>
+    <version>2.0.7</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.netconf</groupId>
   <artifactId>netconf-console</artifactId>
-  <version>1.1.0-SNAPSHOT</version>
+  <version>1.3.4-SNAPSHOT</version>
   <name>${project.artifactId}</name>
   <packaging>bundle</packaging>
 
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.opendaylight.netconf</groupId>
+        <artifactId>netconf-artifacts</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>1.6.4-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.opendaylight.yangtools</groupId>
+        <artifactId>yangtools-artifacts</artifactId>
+        <version>1.2.4-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <dependencies>
-    <!-- Apache Karaf console dependency -->
-    <dependency>
-     <groupId>org.apache.karaf.shell</groupId>
-     <artifactId>org.apache.karaf.shell.console</artifactId>
-     <version>${karaf.version}</version>
-    </dependency>
-    <dependency>
-     <groupId>org.apache.karaf.shell</groupId>
-     <artifactId>org.apache.karaf.shell.table</artifactId>
-     <version>${karaf.version}</version>
-    </dependency>
+      <!-- Apache Karaf console dependency -->
+      <dependency>
+          <groupId>org.apache.karaf.shell</groupId>
+          <artifactId>org.apache.karaf.shell.console</artifactId>
+          <version>${karaf.version}</version>
+          <scope>provided</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.karaf.shell</groupId>
+          <artifactId>org.apache.karaf.shell.table</artifactId>
+          <version>${karaf.version}</version>
+          <scope>provided</scope>
+      </dependency>
 
-    <!-- Project Dependencies -->
-    <dependency>
-      <groupId>org.opendaylight.netconf</groupId>
-      <artifactId>sal-netconf-connector</artifactId>
-      <version>${mdsal.version}</version>
-    </dependency>
+      <!-- Project Dependencies -->
+      <dependency>
+          <groupId>org.opendaylight.netconf</groupId>
+          <artifactId>sal-netconf-connector</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.mockito</groupId>
+          <artifactId>mockito-core</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>sal-distributed-datastore</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-module-junit4</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-api-mockito</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-core</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.opendaylight.yangtools</groupId>
+          <artifactId>yang-test-util</artifactId>
+      </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+          <configuration>
+            <instructions>
+              <!-- This bundle works with Karaf 3 and 4.0 -->
+              <Import-Package>
+                  org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
+                  org.apache.karaf.shell.console;version="[3.0.0,4.1)",
+                  org.apache.karaf.shell.table;version="[3.0.0,4.1)",
+                  *
+              </Import-Package>
+            </instructions>
+          </configuration>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <configuration>
+                <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+            </configuration>
+        </plugin>
+    </plugins>
+  </build>
+</project>