Merge "BUG-1276: fixed generated union constructor"
[yangtools.git] / code-generator / samples / modeling-sample / 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"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.yangtools</groupId>
15         <artifactId>binding-generator</artifactId>
16         <version>0.6.2-SNAPSHOT</version>
17     </parent>
18     <artifactId>modeling-sample</artifactId>
19
20     <build>
21         <plugins>
22             <plugin>
23                 <groupId>org.opendaylight.yangtools</groupId>
24                 <artifactId>yang-maven-plugin</artifactId>
25                 <executions>
26                     <execution>
27                         <goals>
28                             <goal>generate-sources</goal>
29                         </goals>
30                         <configuration>
31                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
32                             <codeGenerators>
33                                 <generator>
34                                     <codeGeneratorClass>
35                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
36                                     </codeGeneratorClass>
37                                     <outputBaseDir>
38                                         target/generated-sources/sal
39                                     </outputBaseDir>
40                                 </generator>
41                             </codeGenerators>
42                             <inspectDependencies>false</inspectDependencies>
43                         </configuration>
44                     </execution>
45                 </executions>
46
47                 <dependencies>
48                     <dependency>
49                         <groupId>org.opendaylight.yangtools</groupId>
50                         <artifactId>maven-sal-api-gen-plugin</artifactId>
51                         <type>jar</type>
52                     </dependency>
53                 </dependencies>
54             </plugin>
55         </plugins>
56           </build>
57     <dependencies>
58         <dependency>
59             <groupId>org.opendaylight.yangtools</groupId>
60             <artifactId>yang-binding</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.yangtools</groupId>
64             <artifactId>yang-common</artifactId>
65         </dependency>
66     </dependencies>
67 </project>