Merge "Fix For Bug #335 Bug Description : Remove SW2 property "description" to a...
[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" 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     <parent>
4         <artifactId>netconf-subsystem</artifactId>
5         <groupId>org.opendaylight.controller</groupId>
6         <version>0.2.4-SNAPSHOT</version>
7     </parent>
8     <modelVersion>4.0.0</modelVersion>
9     <artifactId>ietf-netconf-monitoring</artifactId>
10     <name>${project.artifactId}</name>
11     <packaging>bundle</packaging>
12
13
14     <dependencies>
15         <dependency>
16             <groupId>org.opendaylight.yangtools.model</groupId>
17             <artifactId>ietf-inet-types</artifactId>
18         </dependency>
19         <dependency>
20             <groupId>org.opendaylight.yangtools.model</groupId>
21             <artifactId>ietf-yang-types</artifactId>
22         </dependency>
23
24         <dependency>
25             <groupId>com.google.guava</groupId>
26             <artifactId>guava</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>org.slf4j</groupId>
30             <artifactId>slf4j-api</artifactId>
31         </dependency>
32     </dependencies>
33
34
35     <build>
36         <plugins>
37             <plugin>
38                 <groupId>org.opendaylight.yangtools</groupId>
39                 <artifactId>yang-maven-plugin</artifactId>
40                 <version>${yangtools.version}</version>
41                 <executions>
42                     <execution>
43                         <goals>
44                             <goal>generate-sources</goal>
45                         </goals>
46                         <configuration>
47                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
48                             <codeGenerators>
49                                 <generator>
50                                     <codeGeneratorClass>
51                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
52                                     </codeGeneratorClass>
53                                     <outputBaseDir>
54                                         ${project.build.directory}/generated-sources/monitoring
55                                     </outputBaseDir>
56                                 </generator>
57                             </codeGenerators>
58                             <inspectDependencies>true</inspectDependencies>
59                         </configuration>
60                     </execution>
61                 </executions>
62                 <dependencies>
63                     <dependency>
64                         <groupId>org.opendaylight.yangtools</groupId>
65                         <artifactId>maven-sal-api-gen-plugin</artifactId>
66                         <version>${yangtools.version}</version>
67                     </dependency>
68                 </dependencies>
69             </plugin>
70             <plugin>
71                 <groupId>org.codehaus.mojo</groupId>
72                 <artifactId>build-helper-maven-plugin</artifactId>
73                 <version>1.7</version>
74                 <executions>
75                     <execution>
76                         <phase>generate-sources</phase>
77                         <goals>
78                             <goal>add-source</goal>
79                         </goals>
80                         <configuration>
81                             <sources>
82                                 <source>${project.build.directory}/generated-sources/monitoring</source>
83                             </sources>
84                         </configuration>
85                     </execution>
86                 </executions>
87             </plugin>
88
89             <plugin>
90                 <groupId>org.apache.felix</groupId>
91                 <artifactId>maven-bundle-plugin</artifactId>
92                 <configuration>
93                     <instructions>
94                         <Import-Package>
95                             com.google.common.collect,
96                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924,
97                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev100924,
98                             org.opendaylight.yangtools.yang.binding,
99                             org.opendaylight.yangtools.yang.common,
100                         </Import-Package>
101                         <Export-Package>
102                             org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.*
103                         </Export-Package>
104                     </instructions>
105                 </configuration>
106             </plugin>
107         </plugins>
108     </build>
109
110 </project>