3a5685740fb0c3ccf40c7730e658aede46c68f6a
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / GenerateTest2 / 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
14     <groupId>org.opendaylight.yangtools</groupId>
15     <version>0.5-SNAPSHOT</version>
16     <artifactId>generator-test2</artifactId>
17
18
19     <dependencies>
20         <dependency>
21             <groupId>org.opendaylight.yangtools</groupId>
22             <artifactId>generator-test1</artifactId>
23             <version>${it-project.version}</version>
24             <scope>system</scope>
25             <systemPath>${project.basedir}/../GenerateTest1/target/generator-test1-0.5-SNAPSHOT.jar</systemPath>
26         </dependency>
27     </dependencies>
28
29     <build>
30         <plugins>
31             <plugin>
32                 <groupId>org.opendaylight.yangtools</groupId>
33                 <artifactId>yang-maven-plugin</artifactId>
34                 <version>${it-project.version}</version>
35                 <executions>
36                     <execution>
37                         <goals>
38                             <goal>generate-sources</goal>
39                         </goals>
40                         <configuration>
41                             <yangFilesRootDir>${project.basedir}/yang</yangFilesRootDir>
42                             <inspectDependencies>true</inspectDependencies>
43                             <codeGenerators>
44                                 <generator>
45                                     <codeGeneratorClass>
46                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
47                                     </codeGeneratorClass>
48                                     <outputBaseDir>
49                                         outDir/
50                                     </outputBaseDir>
51                                 </generator>
52                             </codeGenerators>
53                         </configuration>
54                     </execution>
55                 </executions>
56
57                 <dependencies>
58                     <dependency>
59                         <groupId>org.opendaylight.yangtools</groupId>
60                         <artifactId>yang-maven-plugin-spi</artifactId>
61                         <version>${it-project.version}</version>
62                         <type>test-jar</type>
63                     </dependency>
64                 </dependencies>
65             </plugin>
66         </plugins>
67     </build>
68 </project>