Bug 4035: Extract dom-config from core-api and broker-impl
[controller.git] / opendaylight / md-sal / sal-dom-broker / 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.3.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-broker-impl</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>com.lmax</groupId>
19       <artifactId>disruptor</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>sal-common-impl</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>sal-common-util</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-core-api</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-core-spi</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>sal-inmemory-datastore</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.yangtools</groupId>
43       <artifactId>util</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.yangtools</groupId>
47       <artifactId>yang-data-impl</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.yangtools</groupId>
51       <artifactId>yang-parser-impl</artifactId>
52     </dependency>
53
54     <dependency>
55         <groupId>org.opendaylight.yangtools.model</groupId>
56         <artifactId>ietf-yang-types</artifactId>
57     </dependency>
58
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.slf4j</groupId>
65       <artifactId>slf4j-api</artifactId>
66     </dependency>
67
68     <dependency>
69       <groupId>org.opendaylight.yangtools</groupId>
70       <artifactId>mockito-configuration</artifactId>
71       <scope>test</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.slf4j</groupId>
75       <artifactId>slf4j-simple</artifactId>
76       <scope>test</scope>
77     </dependency>
78   </dependencies>
79
80   <build>
81     <plugins>
82
83       <plugin>
84         <groupId>org.apache.felix</groupId>
85         <artifactId>maven-bundle-plugin</artifactId>
86         <extensions>true</extensions>
87         <configuration>
88           <instructions>
89             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
90             <Bundle-Activator>org.opendaylight.controller.sal.dom.broker.osgi.SchemaServiceActivator</Bundle-Activator>
91             <Export-Package>
92                             <!--  Legacy code -->
93                             org.opendaylight.controller.sal.dom.broker,
94                             org.opendaylight.controller.sal.dom.broker.impl,
95                             org.opendaylight.controller.sal.dom.broker.osgi,
96                             org.opendaylight.controller.sal.dom.broker.util,
97                             org.opendaylight.controller.sal.dom.broker.spi,
98                             <!--sal.broker.impl is exported for sal-netconf-connector to use SchemaAwareRpcRegistry.-->
99                             <!-- TODO Remove sal.broker.impl from export when SchemaAwareRpcRegistry is not used in connector anymore -->
100                             org.opendaylight.controller.md.sal.dom.broker.impl,
101                             org.opendaylight.controller.md.sal.dom.broker.impl.*,
102             </Export-Package>
103             <Import-Package>*</Import-Package>
104           </instructions>
105         </configuration>
106       </plugin>
107       <!-- TODO - unite yang-maven-plugin configuration in md-sal-->
108       <plugin>
109         <groupId>org.opendaylight.yangtools</groupId>
110         <artifactId>yang-maven-plugin</artifactId>
111         <executions>
112           <execution>
113             <goals>
114               <goal>generate-sources</goal>
115             </goals>
116             <configuration>
117               <codeGenerators>
118                 <generator>
119                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
120                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
121                   <additionalConfiguration>
122                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
123                   </additionalConfiguration>
124                 </generator>
125                 <generator>
126                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
127                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
128                 </generator>
129                 <generator>
130                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
131                   <outputBaseDir>target/site/models</outputBaseDir>
132                 </generator>
133               </codeGenerators>
134               <inspectDependencies>true</inspectDependencies>
135             </configuration>
136           </execution>
137         </executions>
138       </plugin>
139     </plugins>
140   </build>
141   <scm>
142     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
143     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
144     <tag>HEAD</tag>
145     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
146   </scm>
147 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.