BUG-1092: adjust to YangInstanceIdentifier
[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.github.romix</groupId>
15       <artifactId>java-concurrent-hash-trie-map</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>com.google.guava</groupId>
19       <artifactId>guava</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>junit</groupId>
23       <artifactId>junit</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.controller</groupId>
47       <artifactId>sal-inmemory-datastore</artifactId>
48       <version>1.1-SNAPSHOT</version>
49
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.yangtools</groupId>
53       <artifactId>util</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>yang-data-impl</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.yangtools</groupId>
61       <artifactId>yang-parser-impl</artifactId>
62     </dependency>
63
64     <dependency>
65       <groupId>org.slf4j</groupId>
66       <artifactId>slf4j-api</artifactId>
67     </dependency>
68
69     <dependency>
70       <groupId>org.opendaylight.yangtools</groupId>
71       <artifactId>mockito-configuration</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.slf4j</groupId>
76       <artifactId>slf4j-simple</artifactId>
77       <version>${slf4j.version}</version>
78       <scope>test</scope>
79     </dependency>
80   </dependencies>
81
82   <build>
83     <plugins>
84
85       <plugin>
86         <groupId>org.apache.felix</groupId>
87         <artifactId>maven-bundle-plugin</artifactId>
88         <extensions>true</extensions>
89         <configuration>
90           <instructions>
91             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
92             <Bundle-Activator>org.opendaylight.controller.sal.dom.broker.osgi.SchemaServiceActivator</Bundle-Activator>
93             <Export-Package>org.opendaylight.controller.sal.dom.broker.spi,
94                             <!--sal.broker.impl is exported for sal-netconf-connector to use SchemaAwareRpcRegistry.-->
95                             <!-- TODO Remove sal.broker.impl from export when SchemaAwareRpcRegistry is not used in connector anymore -->
96                             org.opendaylight.controller.sal.dom.broker.impl,
97                             org.opendaylight.controller.sal.dom.broker.impl.*,
98             </Export-Package>
99             <Private-Package>org.opendaylight.controller.sal.dom.broker,
100                             org.opendaylight.controller.sal.dom.broker.osgi,
101                             org.opendaylight.controller.sal.dom.broker.util,
102                             org.opendaylight.controller.config.yang.md.sal.dom.impl,
103                             org.opendaylight.controller.config.yang.md.sal.dom.statistics,\
104                             org.opendaylight.controller.md.sal.dom.broker.impl,
105                             org.opendaylight.controller.md.sal.dom.broker.impl.*,
106                             org.opendaylight.yangtools.yang.util,
107                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.dom.impl.rev131028.*</Private-Package>
108             <Import-Package>*</Import-Package>
109             <Embed-Dependency>java-concurrent-hash-trie-map;inline=true</Embed-Dependency>
110           </instructions>
111         </configuration>
112       </plugin>
113       <!-- TODO - unite yang-maven-plugin configuration in md-sal-->
114       <plugin>
115         <groupId>org.opendaylight.yangtools</groupId>
116         <artifactId>yang-maven-plugin</artifactId>
117         <executions>
118           <execution>
119             <goals>
120               <goal>generate-sources</goal>
121             </goals>
122             <configuration>
123               <codeGenerators>
124                 <generator>
125                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
126                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
127                   <additionalConfiguration>
128                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
129                   </additionalConfiguration>
130                 </generator>
131                 <generator>
132                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
133                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
134                 </generator>
135                 <generator>
136                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
137                   <outputBaseDir>target/site/models</outputBaseDir>
138                 </generator>
139               </codeGenerators>
140               <inspectDependencies>true</inspectDependencies>
141             </configuration>
142           </execution>
143         </executions>
144       </plugin>
145     </plugins>
146   </build>
147   <scm>
148     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
149     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
150     <tag>HEAD</tag>
151     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
152   </scm>
153 </project>