Merge "Remove unnecessary warn log from config subsystem"
[controller.git] / opendaylight / md-sal / sal-dom-broker / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <artifactId>sal-broker-impl</artifactId>
9     <packaging>bundle</packaging>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16
17     <dependencies>
18         <dependency>
19             <groupId>org.opendaylight.controller</groupId>
20             <artifactId>sal-core-api</artifactId>
21             <version>1.1-SNAPSHOT</version>
22         </dependency>
23         <dependency>
24             <groupId>org.opendaylight.controller</groupId>
25             <artifactId>sal-common-util</artifactId>
26             <version>1.1-SNAPSHOT</version>
27         </dependency>
28         <dependency>
29             <groupId>org.opendaylight.controller</groupId>
30             <artifactId>sal-common-impl</artifactId>
31             <version>1.1-SNAPSHOT</version>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.controller</groupId>
35             <artifactId>sal-core-spi</artifactId>
36             <version>1.1-SNAPSHOT</version>
37         </dependency>
38         <dependency>
39             <groupId>org.slf4j</groupId>
40             <artifactId>slf4j-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>com.google.guava</groupId>
44             <artifactId>guava</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.eclipse.xtend</groupId>
48             <artifactId>org.eclipse.xtend.lib</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>config-api</artifactId>
53             <version>0.2.4-SNAPSHOT</version>
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     </dependencies>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.opendaylight.yangtools</groupId>
69                 <artifactId>yang-maven-plugin</artifactId>
70                 <version>${yangtools.version}</version>
71                 <executions>
72                     <execution>
73                         <goals>
74                             <goal>generate-sources</goal>
75                         </goals>
76                         <configuration>
77                             <codeGenerators>
78                                 <generator>
79                                     <codeGeneratorClass>
80                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
81                                     </codeGeneratorClass>
82                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
83                                     <additionalConfiguration>
84                                         <namespaceToPackage1>
85                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
86                                         </namespaceToPackage1>
87                                     </additionalConfiguration>
88                                 </generator>
89                                 <generator>
90                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
91                                     <outputBaseDir>target/site/models</outputBaseDir>
92                                 </generator>
93                             </codeGenerators>
94                             <inspectDependencies>true</inspectDependencies>
95                         </configuration>
96                     </execution>
97                 </executions>
98                 <dependencies>
99                     <dependency>
100                         <groupId>org.opendaylight.controller</groupId>
101                         <artifactId>yang-jmx-generator-plugin</artifactId>
102                         <version>0.2.4-SNAPSHOT</version>
103                     </dependency>
104                     <dependency>
105                         <groupId>org.opendaylight.yangtools</groupId>
106                         <artifactId>maven-sal-api-gen-plugin</artifactId>
107                         <version>${yangtools.version}</version>
108                         <type>jar</type>
109                     </dependency>
110                 </dependencies>
111             </plugin>
112             
113             
114             <plugin>
115                 <groupId>org.apache.felix</groupId>
116                 <artifactId>maven-bundle-plugin</artifactId>
117                 <extensions>true</extensions>
118                 <configuration>
119                     <instructions>
120                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
121                         <Bundle-Activator>org.opendaylight.controller.sal.dom.broker.osgi.SchemaServiceActivator</Bundle-Activator>
122                         <Export-Package>
123                             org.opendaylight.controller.sal.dom.broker.spi
124                         </Export-Package>
125                         <Private-Package>
126                             org.opendaylight.controller.sal.dom.broker,
127                             org.opendaylight.controller.sal.dom.broker.impl,
128                             org.opendaylight.controller.sal.dom.broker.osgi,
129                             org.opendaylight.controller.sal.dom.broker.util,
130                             org.opendaylight.controller.config.yang.md.sal.dom.impl,
131                             org.opendaylight.controller.config.yang.md.sal.dom.statistics,
132                             org.opendaylight.yangtools.yang.util
133                         </Private-Package>
134                         <Import-Package>
135                             *
136                         </Import-Package>
137                     </instructions>
138                 </configuration>
139             </plugin>
140             <plugin>
141                 <groupId>org.codehaus.mojo</groupId>
142                 <artifactId>build-helper-maven-plugin</artifactId>
143                 <version>1.8</version>
144                 <executions>
145                     <execution>
146                         <id>add-source</id>
147                         <phase>generate-sources</phase>
148                         <goals>
149                             <goal>add-source</goal>
150                         </goals>
151                         <configuration>
152                             <sources>
153                                 <source>${project.build.directory}/generated-sources/config</source>
154                                 <source>src/main/xtend-gen</source>
155                             </sources>
156                         </configuration>
157                     </execution>
158                 </executions>
159             </plugin>
160             <plugin>
161                 <groupId>org.eclipse.xtend</groupId>
162                 <artifactId>xtend-maven-plugin</artifactId>
163             </plugin>
164         </plugins>
165     </build>
166 </project>