Release Carbon
[l2switch.git] / l2switch-main / 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.l2switch</groupId>
6     <artifactId>l2switch-parent</artifactId>
7     <version>0.5.1-Carbon</version>
8     <relativePath>../parent</relativePath>
9   </parent>
10   <groupId>org.opendaylight.l2switch.main</groupId>
11   <artifactId>main-impl</artifactId>
12   <packaging>bundle</packaging>
13
14   <dependencies>
15     <dependency>
16       <groupId>org.opendaylight.controller</groupId>
17       <artifactId>sal-binding-api</artifactId>
18     </dependency>
19     <dependency>
20       <groupId>org.opendaylight.openflowplugin.model</groupId>
21       <artifactId>model-flow-service</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>org.opendaylight.controller.model</groupId>
25       <artifactId>model-topology</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.yangtools</groupId>
29       <artifactId>yang-common</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.l2switch.packethandler</groupId>
33       <artifactId>packethandler-model</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.l2switch.packethandler</groupId>
37       <artifactId>packethandler-impl</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.l2switch.addresstracker</groupId>
41       <artifactId>addresstracker-model</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.l2switch.loopremover</groupId>
45       <artifactId>loopremover-model</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller.thirdparty</groupId>
49       <artifactId>net.sf.jung2</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>junit</groupId>
53       <artifactId>junit</artifactId>
54       <scope>test</scope>
55     </dependency>
56     <dependency>
57       <groupId>org.mockito</groupId>
58       <artifactId>mockito-core</artifactId>
59       <scope>test</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.openflowplugin</groupId>
63       <artifactId>openflowplugin-api</artifactId>
64     </dependency>
65   </dependencies>
66
67   <build>
68     <plugins>
69       <plugin>
70         <groupId>org.apache.felix</groupId>
71         <artifactId>maven-bundle-plugin</artifactId>
72         <extensions>true</extensions>
73         <configuration>
74           <instructions>
75             <Export-Package>org.opendaylight.yang.gen.v1.urn.opendaylight.l2switch.main.impl.rev140528</Export-Package>
76             <Import-Package>*</Import-Package>
77           </instructions>
78         </configuration>
79       </plugin>
80       <plugin>
81         <groupId>org.opendaylight.yangtools</groupId>
82         <artifactId>yang-maven-plugin</artifactId>
83         <version>${yangtools.version}</version>
84         <executions>
85           <execution>
86             <goals>
87               <goal>generate-sources</goal>
88             </goals>
89             <configuration>
90               <codeGenerators>
91                 <generator>
92                   <codeGeneratorClass>
93                     org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
94                   </codeGeneratorClass>
95                   <outputBaseDir>${configCodeGeneratorPath}</outputBaseDir>
96                   <additionalConfiguration>
97                     <namespaceToPackage1>
98                       urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
99                     </namespaceToPackage1>
100                   </additionalConfiguration>
101                 </generator>
102                 <generator>
103                   <codeGeneratorClass>
104                     org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
105                   </codeGeneratorClass>
106                   <outputBaseDir>${codeGeneratorPath}</outputBaseDir>
107                 </generator>
108               </codeGenerators>
109               <inspectDependencies>true</inspectDependencies>
110             </configuration>
111           </execution>
112         </executions>
113         <dependencies>
114           <dependency>
115             <groupId>org.opendaylight.controller</groupId>
116             <artifactId>yang-jmx-generator-plugin</artifactId>
117             <version>${config.version}</version>
118           </dependency>
119           <dependency>
120             <groupId>org.opendaylight.mdsal</groupId>
121             <artifactId>maven-sal-api-gen-plugin</artifactId>
122             <version>${mdsal.model.version}</version>
123             <type>jar</type>
124           </dependency>
125         </dependencies>
126       </plugin>
127     </plugins>
128   </build>
129
130 </project>