Enable checkstyle in the mdsal-parent pom
[controller.git] / opendaylight / md-sal / mdsal-trace / dom-impl / pom.xml
index c08bc89226307b798ab39bc8a757ae264480825d..c3d8deabbed9cee1bb01559e9a9f021450d4f79e 100644 (file)
@@ -11,36 +11,17 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.opendaylight.mdsal</groupId>
-    <artifactId>binding-parent</artifactId>
-    <version>0.11.0-SNAPSHOT</version>
-    <relativePath/>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>mdsal-parent</artifactId>
+    <version>1.8.0-SNAPSHOT</version>
+    <relativePath>../../parent</relativePath>
   </parent>
 
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>mdsal-trace-dom-impl</artifactId>
-  <version>1.6.0-SNAPSHOT</version>
+  <version>1.8.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
 
-  <dependencyManagement>
-    <dependencies>
-       <dependency>
-         <groupId>org.opendaylight.controller</groupId>
-         <artifactId>mdsal-artifacts</artifactId>
-         <version>${project.version}</version>
-         <type>pom</type>
-         <scope>import</scope>
-       </dependency>
-       <dependency>
-          <groupId>org.opendaylight.mdsal</groupId>
-          <artifactId>mdsal-artifacts</artifactId>
-          <version>2.3.0-SNAPSHOT</version>
-          <type>pom</type>
-          <scope>import</scope>
-      </dependency>
-      </dependencies>
-    </dependencyManagement>
-
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
@@ -65,14 +46,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
     <!-- Testing Dependencies -->
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
-
     <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
+      <groupId>com.google.truth</groupId>
+      <artifactId>truth</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
@@ -83,25 +63,15 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>maven-bundle-plugin</artifactId>
             <extensions>true</extensions>
             <configuration>
-            <instructions>
-                <!--<Embed-Dependency>sal-broker-impl;type=!pom;inline=false</Embed-Dependency>-->
-                <Import-Package>
-                org.opendaylight.controller.md.sal.binding.api,
-                org.opendaylight.controller.md.sal.dom.broker.impl,org.opendaylight.controller.md.sal.binding.impl,
-                org.opendaylight.controller.sal.core.api.model,*
-                </Import-Package>
-                <Export-Package>org.opendaylight.controller.md.sal.trace.dom.impl</Export-Package>
-                <Embed-Transitive>true</Embed-Transitive>
-            </instructions>
+                <instructions>
+                    <Import-Package>
+                      org.opendaylight.controller.md.sal.dom.broker.impl,
+                      *
+                    </Import-Package>
+                    <Export-Package>org.opendaylight.controller.md.sal.trace.dom.impl</Export-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>