Decouple config and netconf subsystems.
[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.3.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>sal-binding-api</artifactId>\r
29         </dependency>\r
30         <dependency>\r
31             <groupId>org.opendaylight.controller</groupId>\r
32             <artifactId>sal-core-api</artifactId>\r
33         </dependency>\r
34         <dependency>\r
35             <groupId>org.opendaylight.controller</groupId>\r
36             <artifactId>sal-common-util</artifactId>\r
37         </dependency>\r
38         <dependency>\r
39             <groupId>org.opendaylight.yangtools</groupId>\r
40             <artifactId>yang-data-impl</artifactId>\r
41         </dependency>\r
42         <dependency>\r
43             <groupId>org.opendaylight.controller</groupId>\r
44             <artifactId>config-api</artifactId>\r
45         </dependency>\r
46         <dependency>\r
47             <groupId>org.opendaylight.controller</groupId>\r
48             <artifactId>messagebus-api</artifactId>\r
49             <version>1.3.0-SNAPSHOT</version>\r
50         </dependency>\r
51         <dependency>\r
52             <groupId>org.opendaylight.controller</groupId>\r
53             <artifactId>messagebus-spi</artifactId>\r
54             <version>1.3.0-SNAPSHOT</version>\r
55         </dependency>\r
56         <!--<dependency>-->\r
57             <!--<groupId>org.opendaylight.controller</groupId>-->\r
58             <!--<artifactId>sal-netconf-connector</artifactId>-->\r
59         <!--</dependency>-->\r
60         <dependency>\r
61             <groupId>org.opendaylight.controller</groupId>\r
62             <artifactId>sal-binding-config</artifactId>\r
63         </dependency>\r
64 \r
65         <!-- Testing Dependencies -->\r
66         <dependency>\r
67               <groupId>junit</groupId>\r
68               <artifactId>junit</artifactId>\r
69               <scope>test</scope>\r
70         </dependency>\r
71         <dependency>\r
72               <groupId>org.glassfish.jersey.test-framework.providers</groupId>\r
73               <artifactId>jersey-test-framework-provider-grizzly2</artifactId>\r
74               <scope>test</scope>\r
75         </dependency>\r
76         <dependency>\r
77               <groupId>org.mockito</groupId>\r
78               <artifactId>mockito-all</artifactId>\r
79               <scope>test</scope>\r
80         </dependency>\r
81     </dependencies>\r
82 \r
83     <build>\r
84         <plugins>\r
85             <plugin>\r
86                 <groupId>org.opendaylight.yangtools</groupId>\r
87                 <artifactId>yang-maven-plugin</artifactId>\r
88                 <executions>\r
89                     <execution>\r
90                         <goals>\r
91                             <goal>generate-sources</goal>\r
92                         </goals>\r
93                         <configuration>\r
94                             <codeGenerators>\r
95                                 <generator>\r
96                                     <codeGeneratorClass>\r
97                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl\r
98                                     </codeGeneratorClass>\r
99                                     <outputBaseDir>\r
100                                         ${project.build.directory}/generated-sources/sal\r
101                                     </outputBaseDir>\r
102                                 </generator>\r
103                                 <generator>\r
104                                     <codeGeneratorClass>\r
105                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator\r
106                                     </codeGeneratorClass>\r
107                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>\r
108                                     <additionalConfiguration>\r
109                                         <namespaceToPackage1>\r
110                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang\r
111                                         </namespaceToPackage1>\r
112                                     </additionalConfiguration>\r
113                                 </generator>\r
114                                 <generator>\r
115                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>\r
116                                     <outputBaseDir>target/site/models</outputBaseDir>\r
117                                 </generator>\r
118                             </codeGenerators>\r
119                             <inspectDependencies>true</inspectDependencies>\r
120                         </configuration>\r
121                     </execution>\r
122                 </executions>\r
123             </plugin>\r
124             <plugin>\r
125                 <groupId>org.codehaus.mojo</groupId>\r
126                 <artifactId>build-helper-maven-plugin</artifactId>\r
127                 <executions>\r
128                     <execution>\r
129                         <id>add-source</id>\r
130                         <phase>generate-sources</phase>\r
131                         <goals>\r
132                             <goal>add-source</goal>\r
133                         </goals>\r
134                         <configuration>\r
135                             <sources>\r
136                                 <source>${project.build.directory}/generated-sources/config</source>\r
137                             </sources>\r
138                         </configuration>\r
139                     </execution>\r
140                 </executions>\r
141             </plugin>\r
142         </plugins>\r
143     </build>\r
144 </project>\r