Add initial yang files, implemented by Xiao Shi
[alto.git] / alto-model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project xmlns="http://maven.apache.org/POM/4.0.0"
4   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5   xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
6
7   <parent>
8     <artifactId>model-parent</artifactId>
9     <groupId>org.opendaylight.controller.model</groupId>
10     <version>1.2.0-SNAPSHOT</version>
11     <relativePath></relativePath>
12   </parent>
13   <modelVersion>4.0.0</modelVersion>
14   <artifactId>alto-model</artifactId>
15   <packaging>bundle</packaging>
16  
17
18   <properties>
19     <checkstyle.skip>true</checkstyle.skip>
20   </properties>
21  
22   <build>
23     <plugins>
24       <plugin>
25         <groupId>org.opendaylight.yangtools</groupId>
26         <artifactId>yang-maven-plugin</artifactId>
27         <executions>
28           <execution>
29             <goals>
30               <goal>generate-sources</goal>
31             </goals>
32             <configuration>
33               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
34               <codeGenerators>
35                 <generator>
36                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
37                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
38                 </generator>
39               </codeGenerators>
40               <inspectDependencies>true</inspectDependencies>
41             </configuration>
42           </execution>
43         </executions>
44         <dependencies>
45           <dependency>
46             <groupId>org.opendaylight.yangtools</groupId>
47             <artifactId>maven-sal-api-gen-plugin</artifactId>
48             <version>${yangtools.version}</version>
49             <type>jar</type>
50           </dependency>
51         </dependencies>
52       </plugin>
53     </plugins>
54   </build>
55
56
57   <dependencies>
58     <dependency>
59       <groupId>org.opendaylight.yangtools</groupId>
60       <artifactId>yang-binding</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>sal-common-util</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.yangtools</groupId>
68       <artifactId>yang-common</artifactId>
69     </dependency>
70   </dependencies>
71  
72 </project>