Simplify bundle plugin configuration
[bgpcep.git] / bgp / rib-impl / pom.xml
index 097435b3002538945e2079417de7262947158728..cecae78a56788bae8a2d7cc10eb5de51466a9710 100644 (file)
@@ -6,7 +6,7 @@
        <parent>
                <groupId>org.opendaylight.bgpcep</groupId>
                <artifactId>bgp-parent</artifactId>
-               <version>0.2.0-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>concepts</artifactId>
-            <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
-                       <artifactId>util</artifactId>
-            <version>${project.version}</version>
+                       <artifactId>framework</artifactId>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
-                       <artifactId>framework</artifactId>
-            <version>${project.version}</version>
+                       <artifactId>util</artifactId>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-concepts</artifactId>
-            <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-linkstate</artifactId>
-            <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-parser-api</artifactId>
-            <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-rib-api</artifactId>
-            <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>${project.groupId}</groupId>
+                       <artifactId>bgp-rib-spi</artifactId>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-util</artifactId>
-            <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.google.code.findbugs</groupId>
                        <artifactId>jsr305</artifactId>
-                       <version>2.0.1</version>
                </dependency>
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
-                       <version>${guava.version}</version>
+               </dependency>
+        <dependency>
+                       <groupId>io.netty</groupId>
+                       <artifactId>netty-codec</artifactId>
+               </dependency>
+        <dependency>
+                       <groupId>io.netty</groupId>
+                       <artifactId>netty-common</artifactId>
+               </dependency>
+        <dependency>
+                       <groupId>io.netty</groupId>
+                       <artifactId>netty-transport</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
-                       <version>${slf4j.version}</version>
-               </dependency>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.controller</groupId>
+            <artifactId>sal-binding-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>yang-binding</artifactId>
+        </dependency>
+
+        <!-- Testing dependencies -->
                <dependency>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
-            <version>${mockito.version}</version>
-                       <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>bgp-parser-impl</artifactId>
-            <version>${project.version}</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>${junit.version}</version>
-                       <scope>test</scope>
                </dependency>
        </dependencies>
 
                        <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>
-                            org.opendaylight.protocol.concepts,
-                            org.opendaylight.protocol.framework,
-                                                       com.google.common.base,
-                            com.google.common.collect,
-                            com.google.common.eventbus,
-                            javax.annotation,
-                            javax.management,
-                            org.opendaylight.protocol.bgp.concepts,
-                            org.opendaylight.protocol.bgp.linkstate,
-                            org.opendaylight.protocol.bgp.parser,
-                            org.opendaylight.protocol.bgp.parser.impl,
-                            org.opendaylight.protocol.bgp.parser.message,
-                            org.opendaylight.protocol.bgp.parser.parameter,
-                            org.opendaylight.protocol.bgp.rib,
-                            org.opendaylight.protocol.bgp.util,
-                            org.opendaylight.protocol.util,
-                                                       org.slf4j,
-                                               </Import-Package>
-                                               <Export-Package>
-                                                       org.opendaylight.protocol.bgp.rib.impl
-                                               </Export-Package>
+                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+                        <Export-Package>
+                            org.opendaylight.protocol.bgp.rib.impl.*,
+                        </Export-Package>
                                        </instructions>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
-
-       <distributionManagement>
-               <site>
-                       <id>${project.artifactId}</id>
-                       <name>BGP-RIB-IMPL Module site</name>
-                       <url>${basedir}/target/site/${project.artifactId}</url>
-               </site>
-       </distributionManagement>
-
 </project>