blob: 5280e213530e11aef3ecf510b85c599f1f901828 [file] [log] [blame]
andreaa9d838e2015-11-10 18:18:10 -08001<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>groupId</groupId>
7 <artifactId>yangloader</artifactId>
8 <version>1.0-SNAPSHOT</version>
9 <pluginRepositories>
10 <pluginRepository>
11 <id>opendaylight-release</id>
12 <name>opendaylight-release</name>
13 <url>
14 http://nexus.opendaylight.org/content/repositories/opendaylight.release/
15 </url>
16 </pluginRepository>
17 <pluginRepository>
18 <id>opendaylight-snapshot</id>
19 <name>opendaylight-snapshot</name>
20 <url>
21 http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/
22 </url>
23 </pluginRepository>
24 </pluginRepositories>
25 <repositories>
26 <repository>
27 <id>opendaylight-release</id>
28 <name>opendaylight-release</name>
29 <url>
30 http://nexus.opendaylight.org/content/repositories/opendaylight.release/
31 </url>
32 </repository>
33 <repository>
34 <id>opendaylight-snapshot</id>
35 <name>opendaylight-snapshot</name>
36 <url>
37 http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/
38 </url>
39 </repository>
40 </repositories>
41 <dependencies>
42 <dependency>
43 <groupId>org.opendaylight.yangtools</groupId>
44 <artifactId>yang-binding</artifactId>
45 <version>0.7.2-Lithium-SR2</version>
46 </dependency>
47 </dependencies>
48 <build>
49 <plugins>
50 <plugin>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yang-maven-plugin</artifactId>
53 <version>0.7.2-Lithium-SR2</version>
54 <executions>
55 <execution>
56 <goals>
57 <goal>generate-sources</goal>
58 </goals>
59 <configuration>
60 <!-- directory containing yang files to parse and generate code -->
61 <yangFilesRootDir>INPUTDIR</yangFilesRootDir>
62 <codeGenerators>
63 <generator>
64 <codeGeneratorClass>
65 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
66 </codeGeneratorClass>
67 <!-- directory into which generated files will be placed -->
68 <outputBaseDir>OUTPUTDIR</outputBaseDir>
69 </generator>
70 </codeGenerators>
71 <inspectDependencies>false</inspectDependencies>
72 </configuration>
73 </execution>
74 </executions>
75 <dependencies>
76 <dependency>
77 <groupId>org.opendaylight.yangtools</groupId>
78 <artifactId>maven-sal-api-gen-plugin</artifactId>
79 <version>0.7.2-Lithium-SR2</version>
80 <type>jar</type>
81 </dependency>
82 </dependencies>
83 </plugin>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>3.3</version>
88 <configuration>
89 <source>1.8</source>
90 <target>1.8</target>
91 </configuration>
92 </plugin>
93 </plugins>
94 </build>
95</project>