Removed some sonar warnings from pcep.
[bgpcep.git] / framework / pom.xml
index 89404be8740bc8caa939fae504610040ba8fc571..7c93e4998aa6e46cec365ebb5636e2b371bbb9eb 100644 (file)
@@ -5,8 +5,9 @@
 
        <parent>
                <groupId>org.opendaylight.bgpcep</groupId>
-               <artifactId>protocol-parent</artifactId>
-               <version>0.3.0-SNAPSHOT</version>
+               <artifactId>commons.parent</artifactId>
+        <version>0.3.0-SNAPSHOT</version>
+        <relativePath>../commons/parent</relativePath>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
         <dependency>
                        <groupId>io.netty</groupId>
                        <artifactId>netty-buffer</artifactId>
-            <version>${netty.version}</version>
                </dependency>
         <dependency>
                        <groupId>io.netty</groupId>
                        <artifactId>netty-codec</artifactId>
-            <version>${netty.version}</version>
                </dependency>
         <dependency>
                        <groupId>io.netty</groupId>
                        <artifactId>netty-common</artifactId>
-            <version>${netty.version}</version>
                </dependency>
         <dependency>
                        <groupId>io.netty</groupId>
                        <artifactId>netty-transport</artifactId>
-            <version>${netty.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
-                       <version>${guava.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.google.code.findbugs</groupId>
                        <artifactId>jsr305</artifactId>
-                       <version>2.0.1</version>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
-                       <version>${slf4j.version}</version>
-               </dependency>
+        </dependency>
+
+        <!-- Testing dependencies -->
                <dependency>
                        <groupId>org.opendaylight.bgpcep</groupId>
                        <artifactId>mockito-configuration</artifactId>
-            <version>${project.version}</version>
-                       <scope>test</scope>
                </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+        </dependency>
        </dependencies>
 
        <build>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
-                               <version>${maven.bundle.version}</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
                                                <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                                               <Import-Package>
-                                                       com.google.common.base,
-                                                       com.google.common.collect,
-                                                       org.opendaylight.protocol.concepts,
-                                                       org.slf4j,
-                            javax.net.ssl,
-                            org.opendaylight.protocol.util,
-                                                       javax.annotation,
-                                                       javax.management,
-                                                       io.netty.*,
-                                               </Import-Package>
-                                               <Export-Package>
-                                                       org.opendaylight.protocol.framework,
-                                               </Export-Package>
                                        </instructions>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
-                               <version>2.4</version>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                        </plugin>
                </plugins>
        </build>
-
-       <distributionManagement>
-               <site>
-                       <id>${project.artifactId}</id>
-                       <name>COMMON-PROTOCOL Module site</name>
-                       <url>${basedir}/target/site/${project.artifactId}</url>
-               </site>
-       </distributionManagement>
-
 </project>