Incrementing versions by 0.1.0 for post-lithium master branch
[l2switch.git] / addresstracker / model / 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.3.0-SNAPSHOT</version>
8     <relativePath>../../parent</relativePath>
9   </parent>
10   <groupId>org.opendaylight.l2switch.addresstracker</groupId>
11   <artifactId>addresstracker-model</artifactId>
12   <packaging>bundle</packaging>
13
14   <dependencies>
15     <dependency>
16       <groupId>org.opendaylight.controller.model</groupId>
17       <artifactId>model-inventory</artifactId>
18     </dependency>
19     <dependency>
20       <groupId>org.opendaylight.yangtools</groupId>
21       <artifactId>yang-common</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>org.opendaylight.yangtools.model</groupId>
25       <artifactId>ietf-yang-types</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.l2switch.packethandler</groupId>
29       <artifactId>packethandler-model</artifactId>
30       <version>${project.version}</version>
31     </dependency>
32   </dependencies>
33
34   <build>
35     <plugins>
36       <plugin>
37         <groupId>org.apache.felix</groupId>
38         <artifactId>maven-bundle-plugin</artifactId>
39         <extensions>true</extensions>
40         <configuration>
41           <instructions>
42             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
43             <Import-Package>org.opendaylight.yangtools.yang.binding.annotations, *</Import-Package>
44             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
45           </instructions>
46         </configuration>
47       </plugin>
48       <plugin>
49         <groupId>org.opendaylight.yangtools</groupId>
50         <artifactId>yang-maven-plugin</artifactId>
51         <version>${yangtools.version}</version>
52         <dependencies>
53           <dependency>
54             <groupId>org.opendaylight.yangtools</groupId>
55             <artifactId>maven-sal-api-gen-plugin</artifactId>
56             <version>${yangtools.version}</version>
57             <type>jar</type>
58           </dependency>
59           <dependency>
60             <groupId>org.opendaylight.yangtools</groupId>
61             <artifactId>yang-binding</artifactId>
62             <version>${yangtools.version}</version>
63             <type>jar</type>
64           </dependency>
65         </dependencies>
66         <executions>
67           <execution>
68             <goals>
69               <goal>generate-sources</goal>
70             </goals>
71             <configuration>
72               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
73               <codeGenerators>
74                 <generator>
75                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
76                   <outputBaseDir>${codeGeneratorPath}</outputBaseDir>
77                 </generator>
78                 <generator>
79                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
80                   <outputBaseDir>target/site/models</outputBaseDir>
81                 </generator>
82                 <generator>
83                   <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
84                   <outputBaseDir>target/site/models</outputBaseDir>
85                 </generator>
86               </codeGenerators>
87               <inspectDependencies>true</inspectDependencies>
88             </configuration>
89           </execution>
90         </executions>
91
92       </plugin>
93       <!--  cleans up auto generated code  -->
94       <plugin>
95         <artifactId>maven-clean-plugin</artifactId>
96         <configuration>
97           <filesets>
98             <fileset>
99               <directory>${codeGeneratorPath}</directory>
100               <includes>
101                 <include>**</include>
102               </includes>
103             </fileset>
104             <fileset>
105               <directory>${codeGeneratorPath}</directory>
106               <includes>
107                 <include>**</include>
108               </includes>
109             </fileset>
110           </filesets>
111         </configuration>
112       </plugin>
113     </plugins>
114   </build>
115
116 </project>