Removed duplication of the yang-jmx-generator-plugin
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / 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     <relativePath>../..</relativePath>
9   </parent>
10
11   <artifactId>sal-remoterpc-connector</artifactId>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <stax.version>1.0.1</stax.version>
16     <zeromq.version>0.3.1</zeromq.version>
17   </properties>
18
19   <dependencies>
20     <dependency>
21       <groupId>${project.groupId}</groupId>
22       <artifactId>sal-common-util</artifactId>
23       <version>${project.version}</version>
24     </dependency>
25     <dependency>
26       <groupId>${project.groupId}</groupId>
27       <artifactId>sal-connector-api</artifactId>
28       <version>${project.version}</version>
29     </dependency>
30     <!-- MD Sal interdependencies -->
31     <dependency>
32       <groupId>${project.groupId}</groupId>
33       <artifactId>sal-core-api</artifactId>
34       <version>${project.version}</version>
35     </dependency>
36     <dependency>
37       <groupId>com.fasterxml.jackson.core</groupId>
38       <artifactId>jackson-annotations</artifactId>
39     </dependency>
40
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-core</artifactId>
44     </dependency>
45
46     <dependency>
47       <groupId>com.fasterxml.jackson.core</groupId>
48       <artifactId>jackson-databind</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>com.google.guava</groupId>
52       <artifactId>guava</artifactId>
53     </dependency>
54
55     <!-- Tests -->
56     <dependency>
57       <groupId>junit</groupId>
58       <artifactId>junit</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.mockito</groupId>
62       <artifactId>mockito-all</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <artifactId>remoterpc-routingtable.implementation</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69
70     <!-- AD Sal -->
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>sal</artifactId>
74     </dependency>
75
76     <!-- Yang tools -->
77     <dependency>
78       <groupId>org.opendaylight.yangtools</groupId>
79       <artifactId>yang-common</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.yangtools</groupId>
83       <artifactId>yang-data-api</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.yangtools</groupId>
87       <artifactId>yang-data-impl</artifactId>
88     </dependency>
89
90     <!-- Third Party -->
91     <dependency>
92       <groupId>org.osgi</groupId>
93       <artifactId>org.osgi.core</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.slf4j</groupId>
97       <artifactId>slf4j-api</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.zeromq</groupId>
101       <artifactId>jeromq</artifactId>
102       <version>${zeromq.version}</version>
103     </dependency>
104
105     <dependency>
106       <groupId>stax</groupId>
107       <artifactId>stax-api</artifactId>
108       <version>${stax.version}</version>
109     </dependency>
110     <dependency>
111       <groupId>ch.qos.logback</groupId>
112       <artifactId>logback-classic</artifactId>
113       <scope>test</scope>
114     </dependency>
115   </dependencies>
116
117   <build>
118     <plugins>
119       <plugin>
120         <groupId>org.apache.felix</groupId>
121         <artifactId>maven-bundle-plugin</artifactId>
122         <extensions>true</extensions>
123         <configuration>
124           <instructions>
125             <Import-Package>*,
126                             !org.codehaus.enunciate.jaxrs</Import-Package>
127             <Export-Package>org.opendaylight.controller.config.yang.md.sal.remote.rpc,
128                             org.opendaylight.controller.sal.connector.remoterpc.util,
129                             org.opendaylight.controller.sal.connector.remoterpc.dto,
130                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcClient,
131                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcServer,
132                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcProvider</Export-Package>
133             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
134           </instructions>
135         </configuration>
136       </plugin>
137
138       <plugin>
139         <groupId>org.opendaylight.yangtools</groupId>
140         <artifactId>yang-maven-plugin</artifactId>
141         <executions>
142           <execution>
143             <goals>
144               <goal>generate-sources</goal>
145             </goals>
146             <configuration>
147               <codeGenerators>
148                 <generator>
149                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
150                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
151                   <additionalConfiguration>
152                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
153                   </additionalConfiguration>
154                 </generator>
155                 <generator>
156                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
157                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
158                 </generator>
159                 <generator>
160                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
161                   <outputBaseDir>target/site/models</outputBaseDir>
162                 </generator>
163
164                 <generator>
165                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
166                   <outputBaseDir>target/site/models</outputBaseDir>
167                 </generator>
168               </codeGenerators>
169               <inspectDependencies>true</inspectDependencies>
170             </configuration>
171           </execution>
172         </executions>
173       </plugin>
174     </plugins>
175   </build>
176 </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.