- restconf client implementation using RuntimeGeneratedMappingService
[yangtools.git] / restconf / restconf-test-service / pom.xml
1 <?xml version="1.0"?>
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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
11     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
12   <modelVersion>4.0.0</modelVersion>
13   <parent>
14     <groupId>org.opendaylight.yangtools</groupId>
15     <artifactId>restconf-parent</artifactId>
16     <version>0.6.2-SNAPSHOT</version>
17   </parent>
18
19
20   <groupId>org.opendaylight.yangtools</groupId>
21   <artifactId>restconf-test-service</artifactId>
22   <dependencies>
23       <dependency>
24           <groupId>org.opendaylight.yangtools</groupId>
25           <artifactId>yang-common</artifactId>
26       </dependency>
27       <dependency>
28           <groupId>org.opendaylight.yangtools</groupId>
29           <artifactId>yang-binding</artifactId>
30       </dependency>
31   </dependencies>
32   <packaging>jar</packaging>
33     <build>
34     <plugins>
35     <plugin>
36         <groupId>org.apache.felix</groupId>
37         <artifactId>maven-bundle-plugin</artifactId>
38         <extensions>true</extensions>
39     </plugin>
40     <plugin>
41         <groupId>org.opendaylight.yangtools</groupId>
42         <artifactId>yang-maven-plugin</artifactId>
43         <version>${project.version}</version>
44         <executions>
45             <execution>
46                 <id>sal-remote</id>
47                 <goals>
48                     <goal>generate-sources</goal>
49                 </goals>
50                 <configuration>
51                     <yangFilesRootDir>src/main/yang</yangFilesRootDir>
52                     <codeGenerators>
53                         <generator>
54                             <codeGeneratorClass>
55                                 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
56                             </codeGeneratorClass>
57                             <outputBaseDir>
58                                 target/generated-sources/
59                             </outputBaseDir>
60                         </generator>
61                         <generator>
62                             <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
63                             <outputBaseDir>target/site/models</outputBaseDir>
64                         </generator>
65                     </codeGenerators>
66                     <inspectDependencies>true</inspectDependencies>
67                 </configuration>
68             </execution>
69         </executions>
70         <dependencies>
71             <dependency>
72                 <groupId>org.opendaylight.yangtools</groupId>
73                 <artifactId>maven-sal-api-gen-plugin</artifactId>
74                 <version>${project.version}</version>
75                 <type>jar</type>
76             </dependency>
77         </dependencies>
78     </plugin>
79     </plugins>
80     </build>
81 </project>