Removed duplication of the yang-jmx-generator-plugin
[controller.git] / opendaylight / md-sal / sal-binding-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-binding-broker-impl</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.eclipse.xtend</groupId>
19       <artifactId>org.eclipse.xtend.lib</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.javassist</groupId>
23       <artifactId>javassist</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>sal-binding-api</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-binding-config</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-binding-util</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>sal-broker-impl</artifactId>
40       <scope>compile</scope>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal-common-impl</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>sal-common-util</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>sal-core-api</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller.model</groupId>
56       <artifactId>model-flow-base</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.controller.model</groupId>
60       <artifactId>model-flow-service</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller.model</groupId>
64       <artifactId>model-flow-statistics</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.yangtools</groupId>
68       <artifactId>binding-generator-impl</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.yangtools</groupId>
72       <artifactId>yang-data-impl</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.yangtools</groupId>
76       <artifactId>yang-model-util</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.yangtools.model</groupId>
80       <artifactId>ietf-inet-types</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.reflections</groupId>
84       <artifactId>reflections</artifactId>
85       <version>0.9.9-RC1</version>
86       <scope>compile</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.slf4j</groupId>
90       <artifactId>slf4j-api</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.osgi</groupId>
94       <artifactId>org.osgi.core</artifactId>
95       <scope>provided</scope>
96     </dependency>
97     <dependency>
98       <groupId>junit</groupId>
99       <artifactId>junit</artifactId>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.mockito</groupId>
104       <artifactId>mockito-all</artifactId>
105       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.yangtools</groupId>
109       <artifactId>yang-parser-impl</artifactId>
110       <scope>test</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.yangtools.model</groupId>
114       <artifactId>ietf-topology-l3-unicast-igp</artifactId>
115       <scope>test</scope>
116     </dependency>
117     <dependency>
118       <groupId>org.slf4j</groupId>
119       <artifactId>slf4j-simple</artifactId>
120       <version>${slf4j.version}</version>
121       <scope>test</scope>
122     </dependency>
123   </dependencies>
124
125   <build>
126     <plugins>
127
128       <plugin>
129         <groupId>org.apache.felix</groupId>
130         <artifactId>maven-bundle-plugin</artifactId>
131         <extensions>true</extensions>
132         <configuration>
133           <instructions>
134             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
135             <Export-package>org.opendaylight.controller.sal.binding.spi.*,</Export-package>
136             <Private-Package>
137               org.opendaylight.controller.config.yang.md.sal.binding.impl,
138                             org.opendaylight.controller.sal.binding.impl,
139                             org.opendaylight.controller.sal.binding.impl.*,
140                             org.opendaylight.controller.sal.binding.codegen,
141                             org.opendaylight.controller.sal.binding.codegen.*,
142                             org.opendaylight.controller.md.sal.binding.impl,
143               <!--org.opendaylight.controller.sal.binding.dom.*,-->
144               org.opendaylight.controller.sal.binding.osgi.*,
145                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028
146             </Private-Package>
147           </instructions>
148         </configuration>
149       </plugin>
150
151       <plugin>
152         <groupId>org.apache.maven.plugins</groupId>
153         <artifactId>maven-jar-plugin</artifactId>
154         <executions>
155           <execution>
156             <goals>
157               <goal>test-jar</goal>
158             </goals>
159           </execution>
160         </executions>
161       </plugin>
162       <plugin>
163         <groupId>org.eclipse.xtend</groupId>
164         <artifactId>xtend-maven-plugin</artifactId>
165       </plugin>
166       <plugin>
167         <groupId>org.jacoco</groupId>
168         <artifactId>jacoco-maven-plugin</artifactId>
169         <configuration>
170           <includes>
171             <include>org.opendaylight.controller.*</include>
172           </includes>
173         </configuration>
174         <executions>
175           <execution>
176             <id>pre-test</id>
177             <goals>
178               <goal>prepare-agent</goal>
179             </goals>
180           </execution>
181           <execution>
182             <id>post-test</id>
183             <goals>
184               <goal>report</goal>
185             </goals>
186             <phase>test</phase>
187           </execution>
188         </executions>
189       </plugin>
190       <plugin>
191         <groupId>org.opendaylight.yangtools</groupId>
192         <artifactId>yang-maven-plugin</artifactId>
193         <executions>
194           <execution>
195             <goals>
196               <goal>generate-sources</goal>
197             </goals>
198             <configuration>
199               <codeGenerators>
200                 <generator>
201                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
202                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
203                   <additionalConfiguration>
204                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
205                   </additionalConfiguration>
206                 </generator>
207
208                 <generator>
209                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
210                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
211                 </generator>
212
213                 <generator>
214                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
215                   <outputBaseDir>target/site/models</outputBaseDir>
216                 </generator>
217               </codeGenerators>
218               <inspectDependencies>true</inspectDependencies>
219             </configuration>
220           </execution>
221         </executions>
222       </plugin>
223     </plugins>
224   </build>
225   <scm>
226     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
227     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
228     <tag>HEAD</tag>
229     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
230   </scm>
231 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.