Fix junit dependencies in poms. Reuse existing from parent,
[bgpcep.git] / bgp / parser-impl / pom.xml
index 0a7d3fcc3ae1fce9914628b2e017ae708cd98f53..959ff937d4182f671616fe8321af77f91f5e51a9 100644 (file)
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
-                       <artifactId>bgp-linkstate</artifactId>
+                       <artifactId>util</artifactId>
             <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
-                       <artifactId>util</artifactId>
+                       <artifactId>bgp-parser-api</artifactId>
             <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
-                       <artifactId>bgp-parser-api</artifactId>
+                       <artifactId>bgp-parser-spi</artifactId>
             <version>${project.version}</version>
                </dependency>
                <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
             <version>2010.09.24-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${osgi.version}</version>
+            <scope>provided</scope>
         </dependency>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>${junit.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>${project.groupId}</groupId>
+                       <artifactId>bgp-linkstate</artifactId>
+            <version>${project.version}</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
                                <configuration>
                                        <instructions>
                                                <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                                               <Import-Package>
-                                                       org.opendaylight.protocol.bgp.parser.message,
-                                                       org.opendaylight.protocol.bgp.concepts,
-                            org.opendaylight.protocol.bgp.parser,
-                            org.opendaylight.protocol.bgp.util,
-                                                       org.opendaylight.protocol.concepts,
-                                                       org.opendaylight.protocol.framework,
-                            org.opendaylight.protocol.util,
-                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev130918.*,
-                                                       com.google.common.*,
-                                                       org.slf4j,
-                                               </Import-Package>
                                                <Export-Package>
                                                        org.opendaylight.protocol.bgp.parser.impl.*
                                                </Export-Package>
+                        <Activator>org.opendaylight.protocol.bgp.parser.impl.OSGiActivator</Activator>
                                        </instructions>
                                </configuration>
                        </plugin>