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