900ed6d62256fc21edeb22c84d0c02826ca573fb
[controller.git] / opendaylight / md-sal / messagebus-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.controller</groupId>
16         <artifactId>sal-parent</artifactId>
17         <version>1.5.0-SNAPSHOT</version>
18     </parent>
19
20     <artifactId>messagebus-impl</artifactId>
21     <name>${project.artifactId}</name>
22
23     <packaging>bundle</packaging>
24
25     <dependencies>
26         <dependency>
27             <groupId>org.opendaylight.controller</groupId>
28             <artifactId>sal-binding-api</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.controller</groupId>
32             <artifactId>sal-core-api</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>sal-common-util</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-data-impl</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.controller</groupId>
44             <artifactId>config-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>messagebus-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>messagebus-util</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>messagebus-spi</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.controller</groupId>
60             <artifactId>sal-binding-config</artifactId>
61         </dependency>
62
63         <!-- Testing Dependencies -->
64         <dependency>
65               <groupId>junit</groupId>
66               <artifactId>junit</artifactId>
67               <scope>test</scope>
68         </dependency>
69         <dependency>
70               <groupId>org.glassfish.jersey.test-framework.providers</groupId>
71               <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
72               <scope>test</scope>
73         </dependency>
74         <dependency>
75               <groupId>org.mockito</groupId>
76               <artifactId>mockito-all</artifactId>
77               <scope>test</scope>
78         </dependency>
79     </dependencies>
80
81     <build>
82         <plugins>
83             <plugin>
84                 <groupId>org.opendaylight.yangtools</groupId>
85                 <artifactId>yang-maven-plugin</artifactId>
86                 <executions>
87                     <execution>
88                         <goals>
89                             <goal>generate-sources</goal>
90                         </goals>
91                         <configuration>
92                             <codeGenerators>
93                                 <generator>
94                                     <codeGeneratorClass>
95                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
96                                     </codeGeneratorClass>
97                                     <outputBaseDir>
98                                         ${project.build.directory}/generated-sources/sal
99                                     </outputBaseDir>
100                                 </generator>
101                                 <generator>
102                                     <codeGeneratorClass>
103                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
104                                     </codeGeneratorClass>
105                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
106                                     <additionalConfiguration>
107                                         <namespaceToPackage1>
108                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
109                                         </namespaceToPackage1>
110                                     </additionalConfiguration>
111                                 </generator>
112                                 <generator>
113                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
114                                     <outputBaseDir>target/site/models</outputBaseDir>
115                                 </generator>
116                             </codeGenerators>
117                             <inspectDependencies>true</inspectDependencies>
118                         </configuration>
119                     </execution>
120                 </executions>
121             </plugin>
122             <plugin>
123                 <groupId>org.codehaus.mojo</groupId>
124                 <artifactId>build-helper-maven-plugin</artifactId>
125                 <executions>
126                     <execution>
127                         <id>add-source</id>
128                         <phase>generate-sources</phase>
129                         <goals>
130                             <goal>add-source</goal>
131                         </goals>
132                         <configuration>
133                             <sources>
134                                 <source>${project.build.directory}/generated-sources/config</source>
135                             </sources>
136                         </configuration>
137                     </execution>
138                 </executions>
139             </plugin>
140         </plugins>
141     </build>
142 </project>