Enable checkstyle in the mdsal-parent pom
[controller.git] / opendaylight / md-sal / mdsal-trace / dom-impl / pom.xml
index d0f7dd5762fc2d4e9aa3526a7ad9df0810dbdc34..c3d8deabbed9cee1bb01559e9a9f021450d4f79e 100644 (file)
@@ -12,28 +12,16 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
   <parent>
     <groupId>org.opendaylight.controller</groupId>
-    <artifactId>config-parent</artifactId>
-    <version>0.7.0-SNAPSHOT</version>
-    <relativePath/>
+    <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>
-      </dependencies>
-    </dependencyManagement>
-
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
@@ -51,19 +39,22 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <groupId>${project.groupId}</groupId>
       <artifactId>sal-broker-impl</artifactId>
     </dependency>
-
-    <!-- Testing Dependencies -->
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>mdsal-binding-dom-codec</artifactId>
     </dependency>
 
+    <!-- Testing Dependencies -->
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>com.google.truth</groupId>
+      <artifactId>truth</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
     <build>
     <plugins>
@@ -72,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>