Merge "1. Corrected Ip Protocol match field. 2. Added mask for Ipv6 Extension header...
[controller.git] / opendaylight / netconf / ietf-netconf-monitoring / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <parent>
6         <artifactId>netconf-subsystem</artifactId>
7         <groupId>org.opendaylight.controller</groupId>
8         <version>0.2.3-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>ietf-netconf-monitoring</artifactId>
12     <name>${project.artifactId}</name>
13     <packaging>bundle</packaging>
14
15
16     <dependencies>
17         <dependency>
18             <groupId>org.opendaylight.yangtools.model</groupId>
19             <artifactId>ietf-inet-types</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.opendaylight.yangtools.model</groupId>
23             <artifactId>ietf-yang-types</artifactId>
24         </dependency>
25
26         <dependency>
27             <groupId>com.google.guava</groupId>
28             <artifactId>guava</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.slf4j</groupId>
32             <artifactId>slf4j-api</artifactId>
33         </dependency>
34     </dependencies>
35
36
37     <build>
38         <plugins>
39             <plugin>
40                 <groupId>org.opendaylight.yangtools</groupId>
41                 <artifactId>yang-maven-plugin</artifactId>
42                 <version>${yangtools.version}</version>
43                 <executions>
44                     <execution>
45                         <goals>
46                             <goal>generate-sources</goal>
47                         </goals>
48                         <configuration>
49                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
50                             <codeGenerators>
51                                 <generator>
52                                     <codeGeneratorClass>
53                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
54                                     </codeGeneratorClass>
55                                     <outputBaseDir>
56                                         target/generated-sources/monitoring
57                                     </outputBaseDir>
58                                 </generator>
59                             </codeGenerators>
60                             <inspectDependencies>true</inspectDependencies>
61                         </configuration>
62                     </execution>
63                 </executions>
64                 <dependencies>
65                     <dependency>
66                         <groupId>org.opendaylight.yangtools</groupId>
67                         <artifactId>maven-sal-api-gen-plugin</artifactId>
68                         <version>${yangtools.binding.version}</version>
69                     </dependency>
70                 </dependencies>
71             </plugin>
72             <plugin>
73                 <groupId>org.codehaus.mojo</groupId>
74                 <artifactId>build-helper-maven-plugin</artifactId>
75                 <version>1.7</version>
76                 <executions>
77                     <execution>
78                         <phase>generate-sources</phase>
79                         <goals>
80                             <goal>add-source</goal>
81                         </goals>
82                         <configuration>
83                             <sources>
84                                 <source>target/generated-sources/sal</source>
85                             </sources>
86                         </configuration>
87                     </execution>
88                 </executions>
89             </plugin>
90
91             <plugin>
92                 <groupId>org.apache.felix</groupId>
93                 <artifactId>maven-bundle-plugin</artifactId>
94                 <configuration>
95                     <instructions>
96                         <Import-Package>
97                             com.google.common.collect,
98                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924,
99                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev100924,
100                             org.opendaylight.yangtools.yang.binding,
101                             org.opendaylight.yangtools.yang.common,
102                         </Import-Package>
103                         <Export-Package>
104                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.*
105                         </Export-Package>
106                     </instructions>
107                 </configuration>
108             </plugin>
109         </plugins>
110     </build>
111
112 </project>