Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / test-parent / NoOutputDir / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. This
4     program and the accompanying materials are made available under the terms of the
5     Eclipse Public License v1.0 which accompanies this distribution, and is available
6     at http://www.eclipse.org/legal/epl-v10.html -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8     <modelVersion>4.0.0</modelVersion>
9
10     <parent>
11         <groupId>org.opendaylight.yangtools</groupId>
12         <artifactId>test-parent</artifactId>
13         <version>@project.version@</version>
14     </parent>
15
16     <artifactId>no-output-dir</artifactId>
17
18     <build>
19         <plugins>
20             <plugin>
21                 <groupId>org.opendaylight.yangtools</groupId>
22                 <artifactId>yang-maven-plugin</artifactId>
23                 <version>${project.version}</version>
24                 <executions>
25                     <execution>
26                         <goals>
27                             <goal>generate-sources</goal>
28                         </goals>
29                         <configuration>
30                             <yangFilesRootDir>../files</yangFilesRootDir>
31                             <inspectDependencies>false</inspectDependencies>
32                             <codeGenerators>
33                                 <generator>
34                                     <codeGeneratorClass>
35                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
36                                     </codeGeneratorClass>
37                                     <outputBaseDir>
38                                         target/NoOutputDir
39                                     </outputBaseDir>
40                                 </generator>
41                             </codeGenerators>
42                         </configuration>
43                     </execution>
44                 </executions>
45
46                 <dependencies>
47                     <dependency>
48                         <groupId>org.opendaylight.yangtools</groupId>
49                         <artifactId>yang-maven-plugin-spi</artifactId>
50                         <version>${project.version}</version>
51                         <type>test-jar</type>
52                     </dependency>
53                 </dependencies>
54             </plugin>
55         </plugins>
56     </build>
57 </project>