24dd31736a9ee7d8d7c6ac0bf8daeb7426bad015
[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     <dependency>
30       <groupId>org.opendaylight.mdsal</groupId>
31       <artifactId>mdsal-singleton-common-api</artifactId>
32     </dependency>
33   </dependencies>
34
35   <build>
36     <plugins>
37       <plugin>
38         <groupId>org.apache.felix</groupId>
39         <artifactId>maven-bundle-plugin</artifactId>
40         <extensions>true</extensions>
41         <configuration>
42           <instructions>
43             <Import-Package>
44               com.google.common.base,
45               org.opendaylight.mdsal.eos.common.api,
46               org.opendaylight.mdsal.eos.dom.api,
47               org.opendaylight.mdsal.singleton.common.api,
48               *
49             </Import-Package>
50           </instructions>
51         </configuration>
52       </plugin>
53       <plugin>
54         <groupId>org.opendaylight.yangtools</groupId>
55         <artifactId>yang-maven-plugin</artifactId>
56         <executions>
57           <execution>
58             <goals>
59               <goal>generate-sources</goal>
60             </goals>
61             <configuration>
62               <codeGenerators>
63                 <generator>
64                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
65                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
66                 </generator>
67                 <generator>
68                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
69                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
70                   <additionalConfiguration>
71                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
72                   </additionalConfiguration>
73                 </generator>
74                 <generator>
75                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
76                   <outputBaseDir>target/site/models</outputBaseDir>
77                 </generator>
78               </codeGenerators>
79               <inspectDependencies>true</inspectDependencies>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84     </plugins>
85   </build>
86   <scm>
87     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
88     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
89     <tag>HEAD</tag>
90     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
91   </scm>
92 </project>