BUG-1196: fixed bug in choice case codec.
[yangtools.git] / integration-test / test-models / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>test-models</artifactId>
21     <packaging>pom</packaging>
22     <name>${project.artifactId}</name>
23     <description>${project.artifactId}</description>
24
25     <build>
26         <plugins>
27             <plugin>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yang-maven-plugin</artifactId>
30                 <version>0.6.2-SNAPSHOT</version>
31                 <executions>
32                     <execution>
33                         <goals>
34                             <goal>generate-sources</goal>
35                         </goals>
36                         <configuration>
37                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
38                             <codeGenerators>
39                                 <generator>
40                                     <codeGeneratorClass>
41                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
42                                     </codeGeneratorClass>
43                                     <outputBaseDir>
44                                         target/generated-sources/sal
45                                     </outputBaseDir>
46                                 </generator>
47                                 <generator>
48                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
49                                     <outputBaseDir>target/site/restconf</outputBaseDir>
50                                 </generator>
51                                 <generator>
52                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
53                                     <outputBaseDir>target/site/restconf</outputBaseDir>
54                                 </generator>
55                             </codeGenerators>
56                             <inspectDependencies>true</inspectDependencies>
57                         </configuration>
58                     </execution>
59                 </executions>
60                 <dependencies>
61                     <dependency>
62                         <groupId>org.opendaylight.yangtools</groupId>
63                         <artifactId>maven-sal-api-gen-plugin</artifactId>
64                         <version>0.6.2-SNAPSHOT</version>
65                         <type>jar</type>
66                     </dependency>
67                 </dependencies>
68             </plugin>
69             <plugin>
70                 <groupId>org.codehaus.mojo</groupId>
71                 <artifactId>build-helper-maven-plugin</artifactId>
72                 <version>1.8</version>
73                 <executions>
74                     <execution>
75                         <phase>generate-sources</phase>
76                         <goals>
77                             <goal>add-source</goal>
78                         </goals>
79                         <configuration>
80                             <sources>
81                                 <source>target/generated-sources/sal</source>
82                             </sources>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88         <pluginManagement>
89             <plugins>
90                 <!--This plugin's configuration is used to store Eclipse 
91                     m2e settings only. It has no influence on the Maven build itself. -->
92                 <plugin>
93                     <groupId>org.eclipse.m2e</groupId>
94                     <artifactId>lifecycle-mapping</artifactId>
95                     <version>1.0.0</version>
96                     <configuration>
97                         <lifecycleMappingMetadata>
98                             <pluginExecutions>
99                                 <pluginExecution>
100                                     <pluginExecutionFilter>
101                                         <groupId>org.opendaylight.yangtools</groupId>
102                                         <artifactId>yang-maven-plugin</artifactId>
103                                         <versionRange>[0.5,)</versionRange>
104                                         <goals>
105                                             <goal>
106                                                 generate-sources
107                                             </goal>
108                                         </goals>
109                                     </pluginExecutionFilter>
110                                     <action>
111                                         <ignore />
112                                     </action>
113                                 </pluginExecution>
114                                 <pluginExecution>
115                                     <pluginExecutionFilter>
116                                         <groupId>org.apache.felix</groupId>
117                                         <artifactId>maven-bundle-plugin</artifactId>
118                                         <versionRange>[1.0,)</versionRange>
119                                         <goals>
120                                             <goal>manifest</goal>
121                                         </goals>
122                                     </pluginExecutionFilter>
123                                     <action>
124                                         <execute />
125                                     </action>
126                                 </pluginExecution>
127                             </pluginExecutions>
128                         </lifecycleMappingMetadata>
129                     </configuration>
130                 </plugin>
131             </plugins>
132         </pluginManagement>
133     </build>
134
135     <dependencies>
136         <dependency>
137             <groupId>org.opendaylight.yangtools</groupId>
138             <artifactId>yang-binding</artifactId>
139             <version>0.6.2-SNAPSHOT</version>
140         </dependency>
141         <dependency>
142             <groupId>org.opendaylight.yangtools</groupId>
143             <artifactId>yang-common</artifactId>
144             <version>0.6.2-SNAPSHOT</version>
145         </dependency>
146     </dependencies>
147
148 </project>
149