Merge "Refactor Subnet.isSubnetOf - reduce number of 'if' statements. Added unitests."
[controller.git] / opendaylight / netconf / ietf-netconf-monitoring-extension / pom.xml
1 <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">
2     <parent>
3         <artifactId>netconf-subsystem</artifactId>
4         <groupId>org.opendaylight.controller</groupId>
5         <version>0.2.3-SNAPSHOT</version>
6     </parent>
7     <modelVersion>4.0.0</modelVersion>
8     <artifactId>ietf-netconf-monitoring-extension</artifactId>
9     <name>${project.artifactId}</name>
10     <packaging>bundle</packaging>
11
12       <dependencies>
13         <dependency>
14             <groupId>org.opendaylight.controller</groupId>
15             <artifactId>ietf-netconf-monitoring</artifactId>
16         </dependency>
17         <dependency>
18             <groupId>com.google.guava</groupId>
19             <artifactId>guava</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.slf4j</groupId>
23             <artifactId>slf4j-api</artifactId>
24         </dependency>
25     </dependencies>
26
27
28     <build>
29         <plugins>
30             <plugin>
31                 <groupId>org.opendaylight.yangtools</groupId>
32                 <artifactId>yang-maven-plugin</artifactId>
33                 <version>${yangtools.version}</version>
34                 <executions>
35                     <execution>
36                         <goals>
37                             <goal>generate-sources</goal>
38                         </goals>
39                         <configuration>
40                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
41                             <codeGenerators>
42                                 <generator>
43                                     <codeGeneratorClass>
44                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
45                                     </codeGeneratorClass>
46                                     <outputBaseDir>
47                                         target/generated-sources/monitoring
48                                     </outputBaseDir>
49                                 </generator>
50                             </codeGenerators>
51                             <inspectDependencies>true</inspectDependencies>
52                         </configuration>
53                     </execution>
54                 </executions>
55                 <dependencies>
56                     <dependency>
57                         <groupId>org.opendaylight.yangtools</groupId>
58                         <artifactId>maven-sal-api-gen-plugin</artifactId>
59                         <version>${yangtools.binding.version}</version>
60                     </dependency>
61                 </dependencies>
62             </plugin>
63             <plugin>
64                 <groupId>org.codehaus.mojo</groupId>
65                 <artifactId>build-helper-maven-plugin</artifactId>
66                 <version>1.7</version>
67                 <executions>
68                     <execution>
69                         <phase>generate-sources</phase>
70                         <goals>
71                             <goal>add-source</goal>
72                         </goals>
73                         <configuration>
74                             <sources>
75                                 <source>target/generated-sources/sal</source>
76                             </sources>
77                         </configuration>
78                     </execution>
79                 </executions>
80             </plugin>
81
82             <plugin>
83                 <groupId>org.apache.felix</groupId>
84                 <artifactId>maven-bundle-plugin</artifactId>
85                 <configuration>
86                     <instructions>
87                         <Import-Package>
88                             com.google.common.collect,
89                             org.opendaylight.yangtools.yang.binding,
90                             org.opendaylight.yangtools.yang.common,
91                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004,
92                         </Import-Package>
93                         <Export-Package>
94                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.extension.rev131210,
95                         </Export-Package>
96                     </instructions>
97                 </configuration>
98             </plugin>
99         </plugins>
100     </build>
101 </project>