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