Merge "Double the SSL input packet buffer size"
[controller.git] / opendaylight / config / yang-test / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.controller</groupId>
7         <artifactId>config-plugin-parent</artifactId>
8         <version>0.2.4-SNAPSHOT</version>
9         <relativePath>../config-plugin-parent</relativePath>
10     </parent>
11
12     <artifactId>yang-test</artifactId>
13     <packaging>bundle</packaging>
14
15     <description>Artifact that contains only generated code from yang files. Suitable for testing.
16     </description>
17     <name>${project.artifactId}</name>
18     <prerequisites>
19         <maven>3.0.4</maven>
20     </prerequisites>
21
22     <dependencies>
23         <dependency>
24             <groupId>${project.groupId}</groupId>
25             <artifactId>config-api</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.slf4j</groupId>
29             <artifactId>slf4j-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.yangtools.model</groupId>
33             <artifactId>ietf-inet-types</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.yangtools</groupId>
37             <artifactId>mockito-configuration</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>config-manager</artifactId>
42             <scope>test</scope>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>config-manager</artifactId>
47             <type>test-jar</type>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>config-util</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60     </dependencies>
61
62     <build>
63         <plugins>
64             <plugin>
65                 <groupId>org.opendaylight.yangtools</groupId>
66                 <artifactId>yang-maven-plugin</artifactId>
67                 <version>${yangtools.version}</version>
68                 <executions>
69                     <execution>
70                         <id>config</id>
71                         <goals>
72                             <goal>generate-sources</goal>
73                         </goals>
74                         <configuration>
75                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
76                             <codeGenerators>
77                                 <generator>
78                                     <codeGeneratorClass>
79                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
80                                     </codeGeneratorClass>
81                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
82                                     <additionalConfiguration>
83                                         <namespaceToPackage1>
84                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
85                                         </namespaceToPackage1>
86                                     </additionalConfiguration>
87                                 </generator>
88                             </codeGenerators>
89                             <inspectDependencies>true</inspectDependencies>
90                         </configuration>
91                     </execution>
92
93                     <execution>
94                         <id>types</id>
95                         <goals>
96                             <goal>generate-sources</goal>
97                         </goals>
98                         <configuration>
99                             <yangFilesRootDir>src/main/yang/types</yangFilesRootDir>
100                             <codeGenerators>
101                               <generator>
102                                     <codeGeneratorClass>
103                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
104                                     </codeGeneratorClass>
105                                     <outputBaseDir>
106                                         ${project.build.directory}/generated-sources/sal
107                                     </outputBaseDir>
108                                 </generator>
109                             </codeGenerators>
110                             <inspectDependencies>true</inspectDependencies>
111                         </configuration>
112                     </execution>
113                 </executions>
114                 <dependencies>
115                     <dependency>
116                         <groupId>org.opendaylight.controller</groupId>
117                         <artifactId>yang-jmx-generator-plugin</artifactId>
118                         <version>${config.version}</version>
119                     </dependency>
120
121                     <dependency>
122                         <groupId>org.opendaylight.yangtools</groupId>
123                         <artifactId>maven-sal-api-gen-plugin</artifactId>
124                         <version>${yangtools.version}</version>
125                     </dependency>
126                 </dependencies>
127             </plugin>
128             <plugin>
129                 <groupId>org.opendaylight.controller</groupId>
130                 <artifactId>yang-test-plugin</artifactId>
131                 <version>${config.version}</version>
132                 <executions>
133                     <execution>
134                         <goals>
135                             <goal>delete-sources</goal>
136                             <goal>process-sources</goal>
137                         </goals>
138                     </execution>
139                 </executions>
140             </plugin>
141
142             <plugin>
143                 <groupId>org.apache.felix</groupId>
144                 <artifactId>maven-bundle-plugin</artifactId>
145                 <configuration>
146                     <instructions>
147                     </instructions>
148                 </configuration>
149             </plugin>
150         </plugins>
151     </build>
152 </project>