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