97117c5aa200afe00d16eea36c1a1bd4703b5fd3
[controller.git] / opendaylight / md-sal / sal-dom-config / 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.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-dom-config</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>org.opendaylight.controller</groupId>
15       <artifactId>config-api</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.opendaylight.controller</groupId>
19       <artifactId>sal-common-api</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>sal-core-api</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>sal-core-spi</artifactId>
28     </dependency>
29   </dependencies>
30
31   <build>
32     <plugins>
33       <plugin>
34         <groupId>org.apache.felix</groupId>
35         <artifactId>maven-bundle-plugin</artifactId>
36         <extensions>true</extensions>
37         <configuration>
38           <instructions>
39             <Import-Package>*,com.google.common.base</Import-Package>
40           </instructions>
41         </configuration>
42       </plugin>
43       <plugin>
44         <groupId>org.opendaylight.yangtools</groupId>
45         <artifactId>yang-maven-plugin</artifactId>
46         <executions>
47           <execution>
48             <goals>
49               <goal>generate-sources</goal>
50             </goals>
51             <configuration>
52               <codeGenerators>
53                 <generator>
54                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
55                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
56                 </generator>
57                 <generator>
58                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
59                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
60                   <additionalConfiguration>
61                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
62                   </additionalConfiguration>
63                 </generator>
64                 <generator>
65                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
66                   <outputBaseDir>target/site/models</outputBaseDir>
67                 </generator>
68               </codeGenerators>
69               <inspectDependencies>true</inspectDependencies>
70             </configuration>
71           </execution>
72         </executions>
73       </plugin>
74     </plugins>
75   </build>
76   <scm>
77     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
78     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
79     <tag>HEAD</tag>
80     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
81   </scm>
82 </project>