Introduce top-level pom file.
[mdsal.git] / code-generator / binding-test-model / 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"
11          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13     <parent>
14         <groupId>org.opendaylight.yangtools</groupId>
15         <artifactId>binding-generator</artifactId>
16         <version>0.8.0-SNAPSHOT</version>
17     </parent>
18     <modelVersion>4.0.0</modelVersion>
19
20     <dependencies>
21         <dependency>
22             <groupId>org.opendaylight.yangtools</groupId>
23             <artifactId>yang-binding</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.yangtools.model</groupId>
27             <artifactId>yang-ext</artifactId>
28         </dependency>
29     </dependencies>
30
31     <artifactId>binding-test-model</artifactId>
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.opendaylight.yangtools</groupId>
36                 <artifactId>yang-maven-plugin</artifactId>
37                 <executions>
38                     <execution>
39                         <goals>
40                             <goal>generate-sources</goal>
41                         </goals>
42                         <configuration>
43                             <codeGenerators>
44                                 <generator>
45                                     <codeGeneratorClass>
46                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
47                                     </codeGeneratorClass>
48                                     <outputBaseDir>
49                                         target/generated-sources/sal
50                                     </outputBaseDir>
51                                 </generator>
52                             </codeGenerators>
53                             <inspectDependencies>true</inspectDependencies>
54                         </configuration>
55                     </execution>
56                 </executions>
57             </plugin>
58         </plugins>
59     </build>
60     <scm>
61         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
62         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
63         <tag>HEAD</tag>
64         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
65     </scm>
66
67 </project>