Remove yang.prototypes.version
[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.6.0-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     <build>
17         <plugins>
18             <plugin>
19               <groupId>org.apache.felix</groupId>
20               <artifactId>maven-bundle-plugin</artifactId>
21               <extensions>true</extensions>
22               <configuration>
23                 <instructions>
24                     <Export-Package>
25                       org.opendaylight.openflowjava.protocol.impl.*,
26                       org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.provider.impl.*
27                     </Export-Package>
28                 </instructions>
29               </configuration>
30             </plugin>
31             <plugin>
32                 <groupId>org.opendaylight.yangtools</groupId>
33                 <artifactId>yang-maven-plugin</artifactId>
34                 <executions>
35                     <execution>
36                         <goals>
37                             <goal>generate-sources</goal>
38                         </goals>
39                         <configuration>
40                             <codeGenerators>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
46                                     <additionalConfiguration>
47                                         <namespaceToPackage1>
48                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
49                                         </namespaceToPackage1>
50                                     </additionalConfiguration>
51                                 </generator>
52                                 <generator>
53                                     <codeGeneratorClass>
54                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
55                                     </codeGeneratorClass>
56                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
60                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
61                                 </generator>
62                             </codeGenerators>
63                             <inspectDependencies>true</inspectDependencies>
64                         </configuration>
65                     </execution>
66                 </executions>
67                 <dependencies>
68                     <dependency>
69                         <groupId>org.opendaylight.controller</groupId>
70                         <artifactId>yang-jmx-generator-plugin</artifactId>
71                         <version>${config.version}</version>
72                     </dependency>
73                     <dependency>
74                         <groupId>org.opendaylight.yangtools</groupId>
75                         <artifactId>maven-sal-api-gen-plugin</artifactId>
76                         <version>${yangtools.version}</version>
77                         <type>jar</type>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81             <plugin>
82                 <groupId>org.apache.maven.plugins</groupId>
83                 <artifactId>maven-jar-plugin</artifactId>
84                 <version>2.5</version>
85                 <executions>
86                     <execution>
87                         <goals>
88                             <goal>test-jar</goal>
89                         </goals>
90                     </execution>
91                 </executions>
92             </plugin>
93         </plugins>
94     </build>
95
96     <dependencies>
97         <dependency>
98             <groupId>${project.groupId}</groupId>
99             <artifactId>openflow-protocol-api</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>${project.groupId}</groupId>
103             <artifactId>openflow-protocol-spi</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.openflowjava</groupId>
107             <artifactId>util</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.controller</groupId>
111             <artifactId>sal-common-util</artifactId>
112             <exclusions>
113                 <exclusion>
114                     <groupId>org.opendaylight.controller</groupId>
115                     <artifactId>sal-common-api</artifactId>
116                 </exclusion>
117                 <exclusion>
118                     <groupId>org.opendaylight.yangtools</groupId>
119                     <artifactId>concepts</artifactId>
120                 </exclusion>
121             </exclusions>
122         </dependency>
123         <dependency>
124             <groupId>io.netty</groupId>
125             <artifactId>netty-handler</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>org.osgi</groupId>
129             <artifactId>org.osgi.core</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>org.slf4j</groupId>
133             <artifactId>slf4j-log4j12</artifactId>
134             <scope>test</scope>
135         </dependency>
136         <dependency>
137             <groupId>com.google.guava</groupId>
138             <artifactId>guava</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>junit</groupId>
142             <artifactId>junit</artifactId>
143             <scope>test</scope>
144         </dependency>
145         <dependency>
146             <groupId>org.mockito</groupId>
147             <artifactId>mockito-all</artifactId>
148         </dependency>
149         <dependency>
150             <groupId>org.opendaylight.controller</groupId>
151             <artifactId>config-api</artifactId>
152         </dependency>
153     </dependencies>
154 </project>