Declare junit version and use junit dependencyManagement section.
[controller.git] / opendaylight / samples / simpleforwarding / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.1-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10   <scm>
11     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
14     <tag>HEAD</tag>
15   </scm>
16
17   <artifactId>samples.simpleforwarding</artifactId>
18   <version>0.4.1-SNAPSHOT</version>
19   <packaging>bundle</packaging>
20
21   <build>
22     <plugins>
23       <plugin>
24         <groupId>org.apache.felix</groupId>
25         <artifactId>maven-bundle-plugin</artifactId>
26         <version>${bundle.plugin.version}</version>
27         <extensions>true</extensions>
28         <configuration>
29           <instructions>
30             <Import-Package>
31               org.opendaylight.controller.sal.utils,
32               org.opendaylight.controller.sal.core,
33               org.opendaylight.controller.forwardingrulesmanager,
34               org.opendaylight.controller.hosttracker,
35               org.opendaylight.controller.hosttracker.hostAware,
36               org.opendaylight.controller.switchmanager,
37               org.opendaylight.controller.clustering.services,
38               org.opendaylight.controller.sal.action,
39               org.opendaylight.controller.sal.flowprogrammer,
40               org.opendaylight.controller.sal.match,
41               org.opendaylight.controller.sal.packet,
42               org.opendaylight.controller.sal.routing,
43               org.opendaylight.controller.topologymanager,
44               org.apache.commons.lang3.builder,
45               org.junit;resolution:=optional,
46               org.slf4j,
47               org.apache.felix.dm
48             </Import-Package>
49             <Export-Package>
50               org.opendaylight.controller.samples.simpleforwarding
51             </Export-Package>
52             <Bundle-Activator>
53               org.opendaylight.controller.samples.simpleforwarding.internal.Activator
54             </Bundle-Activator>
55           </instructions>
56           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
57         </configuration>
58       </plugin>
59     </plugins>
60   </build>
61   <dependencies>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>topologymanager</artifactId>
65       <version>0.4.1-SNAPSHOT</version>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>forwardingrulesmanager</artifactId>
70       <version>0.4.1-SNAPSHOT</version>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.controller</groupId>
74       <artifactId>hosttracker</artifactId>
75       <version>0.4.1-SNAPSHOT</version>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.controller</groupId>
79       <artifactId>switchmanager</artifactId>
80       <version>0.5.1-SNAPSHOT</version>
81     </dependency>
82     <dependency>
83       <groupId>junit</groupId>
84       <artifactId>junit</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>sal</artifactId>
89       <version>0.5.1-SNAPSHOT</version>
90     </dependency>
91   </dependencies>
92 </project>