changes for config subsystem - BUG 754
[openflowjava.git] / openflow-protocol-impl / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.openflowjava</groupId>
5         <artifactId>openflow-protocol-parent</artifactId>
6         <version>0.4-1-SNAPSHOT</version>
7     </parent>
8     <artifactId>openflow-protocol-impl</artifactId>
9     <packaging>bundle</packaging>
10     <name>Openflow Protocol Library - IMPL</name>
11     <scm>
12         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
13       <tag>HEAD</tag>
14   </scm>
15
16     <properties>
17         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
18         <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
19         <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
20     </properties>
21     
22     <build>
23         <plugins>
24             <plugin>
25               <groupId>org.apache.felix</groupId>
26               <artifactId>maven-bundle-plugin</artifactId>
27               <extensions>true</extensions>
28               <configuration>
29                 <instructions>
30                     <Export-Package>
31                       org.opendaylight.openflowjava.protocol.impl.*,
32                       org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.provider.*
33                     </Export-Package>
34                 </instructions>
35               </configuration>
36             </plugin>
37             <plugin>
38                 <groupId>org.opendaylight.yangtools</groupId>
39                 <artifactId>yang-maven-plugin</artifactId>
40                 <executions>
41                     <execution>
42                         <goals>
43                             <goal>generate-sources</goal>
44                         </goals>
45                         <configuration>
46                             <codeGenerators>
47                                 <generator>
48                                     <codeGeneratorClass>
49                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
50                                     </codeGeneratorClass>
51                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
52                                     <additionalConfiguration>
53                                         <namespaceToPackage1>
54                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
55                                         </namespaceToPackage1>
56                                     </additionalConfiguration>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>
60                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
61                                     </codeGeneratorClass>
62                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
63                                 </generator>
64                                 <generator>
65                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
66                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
67                                 </generator>
68                             </codeGenerators>
69                             <inspectDependencies>true</inspectDependencies>
70                         </configuration>
71                     </execution>
72                 </executions>
73                 <dependencies>
74                     <dependency>
75                         <groupId>org.opendaylight.controller</groupId>
76                         <artifactId>yang-jmx-generator-plugin</artifactId>
77                         <version>${config.version}</version>
78                     </dependency>
79                     <dependency>
80                         <groupId>org.opendaylight.yangtools</groupId>
81                         <artifactId>maven-sal-api-gen-plugin</artifactId>
82                         <version>${yangtools.generator.version}</version>
83                         <type>jar</type>
84                     </dependency>
85                 </dependencies>
86             </plugin>
87         </plugins>
88     </build>
89     
90     <dependencies>
91         <dependency>
92             <groupId>${project.groupId}</groupId>
93             <artifactId>openflow-protocol-api</artifactId>
94             <version>${project.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>openflow-protocol-spi</artifactId>
99             <version>${project.version}</version>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.controller</groupId>
103             <artifactId>sal-common-util</artifactId>
104             <version>${yang.prototype.version}</version>
105             <exclusions>
106                 <exclusion>
107                     <groupId>org.opendaylight.controller</groupId>
108                     <artifactId>sal-common-api</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>org.opendaylight.yangtools</groupId>
112                     <artifactId>concepts</artifactId>
113                 </exclusion>
114             </exclusions>
115         </dependency>
116         <dependency>
117             <groupId>io.netty</groupId>
118             <artifactId>netty-handler</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.osgi</groupId>
122             <artifactId>org.osgi.core</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.slf4j</groupId>
126             <artifactId>slf4j-log4j12</artifactId>
127             <version>${slf4j.version}</version>
128             <scope>test</scope>
129         </dependency>
130         <dependency>
131             <groupId>com.google.guava</groupId>
132             <artifactId>guava</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>junit</groupId>
136             <artifactId>junit</artifactId>
137             <scope>test</scope>
138         </dependency>
139         <dependency>
140             <groupId>org.mockito</groupId>
141             <artifactId>mockito-all</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>org.opendaylight.controller</groupId>
145             <artifactId>config-api</artifactId>
146             <version>0.2.5-SNAPSHOT</version>
147         </dependency>
148     </dependencies>
149 </project>