1cc31744f5411cfcbf4166ce210a547dc30c8bc3
[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.1-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>junit</groupId>
19       <artifactId>junit</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.eclipse.xtend</groupId>
23       <artifactId>org.eclipse.xtend.lib</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>config-api</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-common-impl</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-common-util</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>sal-core-api</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>sal-core-spi</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     <dependency>
54       <groupId>org.slf4j</groupId>
55       <artifactId>slf4j-api</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.slf4j</groupId>
59       <artifactId>slf4j-simple</artifactId>
60       <version>${slf4j.version}</version>
61       <scope>test</scope>
62     </dependency>
63   </dependencies>
64
65   <build>
66     <plugins>
67
68       <plugin>
69         <groupId>org.apache.felix</groupId>
70         <artifactId>maven-bundle-plugin</artifactId>
71         <extensions>true</extensions>
72         <configuration>
73           <instructions>
74             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
75             <Bundle-Activator>org.opendaylight.controller.sal.dom.broker.osgi.SchemaServiceActivator</Bundle-Activator>
76             <Export-Package>org.opendaylight.controller.sal.dom.broker.spi</Export-Package>
77             <Private-Package>org.opendaylight.controller.sal.dom.broker,
78                             org.opendaylight.controller.sal.dom.broker.impl,
79                             org.opendaylight.controller.sal.dom.broker.impl.*,
80                             org.opendaylight.controller.sal.dom.broker.osgi,
81                             org.opendaylight.controller.sal.dom.broker.util,
82                             org.opendaylight.controller.config.yang.md.sal.dom.impl,
83                             org.opendaylight.controller.config.yang.md.sal.dom.statistics,
84                             org.opendaylight.controller.md.sal.dom.broker.impl,
85                             org.opendaylight.controller.md.sal.dom.broker.impl.*,
86                             org.opendaylight.controller.md.sal.dom.store.impl,
87                             org.opendaylight.controller.md.sal.dom.store.impl.*,
88                             org.opendaylight.yangtools.yang.util,
89                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.dom.impl.rev131028.*</Private-Package>
90             <Import-Package>*</Import-Package>
91           </instructions>
92         </configuration>
93       </plugin>
94       <plugin>
95         <groupId>org.eclipse.xtend</groupId>
96         <artifactId>xtend-maven-plugin</artifactId>
97       </plugin>
98       <!-- TODO - unite yang-maven-plugin configuration in md-sal-->
99       <plugin>
100         <groupId>org.opendaylight.yangtools</groupId>
101         <artifactId>yang-maven-plugin</artifactId>
102         <dependencies>
103           <dependency>
104             <groupId>org.opendaylight.controller</groupId>
105             <artifactId>yang-jmx-generator-plugin</artifactId>
106             <version>${config.version}</version>
107           </dependency>
108           <dependency>
109             <groupId>org.opendaylight.yangtools</groupId>
110             <artifactId>maven-sal-api-gen-plugin</artifactId>
111             <version>${yangtools.version}</version>
112             <type>jar</type>
113           </dependency>
114         </dependencies>
115         <executions>
116           <execution>
117             <goals>
118               <goal>generate-sources</goal>
119             </goals>
120             <configuration>
121               <codeGenerators>
122                 <generator>
123                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
124                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
125                   <additionalConfiguration>
126                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
127                   </additionalConfiguration>
128                 </generator>
129                 <generator>
130                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
131                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
132                 </generator>
133                 <generator>
134                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
135                   <outputBaseDir>target/site/models</outputBaseDir>
136                 </generator>
137               </codeGenerators>
138               <inspectDependencies>true</inspectDependencies>
139             </configuration>
140           </execution>
141         </executions>
142       </plugin>
143     </plugins>
144   </build>
145   <scm>
146     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
147     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
148     <tag>HEAD</tag>
149     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
150   </scm>
151 </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.