Merge "Do not return null when no RPC is registered"
[mdsal.git] / model / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <groupId>org.opendaylight.yangtools.model</groupId>
20     <artifactId>model-parent</artifactId>
21     <packaging>pom</packaging>
22     <name>${project.artifactId}</name>
23     <description>${project.artifactId}</description>
24
25     <properties>
26         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27     </properties>
28
29     <modules>
30         <module>yang-ext</module>
31         <module>iana</module>
32         <module>ietf</module>
33         <module>l2-types</module>
34     </modules>
35
36     <build>
37         <plugins>
38             <plugin>
39                 <groupId>org.opendaylight.yangtools</groupId>
40                 <artifactId>yang-maven-plugin</artifactId>
41                 <version>0.6.2-SNAPSHOT</version>
42                 <executions>
43                     <execution>
44                         <goals>
45                             <goal>generate-sources</goal>
46                         </goals>
47                         <configuration>
48                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
49                             <codeGenerators>
50                                 <generator>
51                                     <codeGeneratorClass>
52                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
53                                     </codeGeneratorClass>
54                                     <outputBaseDir>
55                                         target/generated-sources/sal
56                                     </outputBaseDir>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
60                                     <outputBaseDir>target/site/restconf</outputBaseDir>
61                                 </generator>
62                                 <generator>
63                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
64                                     <outputBaseDir>target/site/restconf</outputBaseDir>
65                                 </generator>
66                             </codeGenerators>
67                             <inspectDependencies>true</inspectDependencies>
68                         </configuration>
69                     </execution>
70                 </executions>
71                 <dependencies>
72                     <dependency>
73                         <groupId>org.opendaylight.yangtools</groupId>
74                         <artifactId>maven-sal-api-gen-plugin</artifactId>
75                         <version>0.6.2-SNAPSHOT</version>
76                         <type>jar</type>
77                     </dependency>
78                 </dependencies>
79             </plugin>
80             <plugin>
81                 <groupId>org.codehaus.mojo</groupId>
82                 <artifactId>build-helper-maven-plugin</artifactId>
83                 <version>1.8</version>
84                 <executions>
85                     <execution>
86                         <phase>generate-sources</phase>
87                         <goals>
88                             <goal>add-source</goal>
89                         </goals>
90                         <configuration>
91                             <sources>
92                                 <source>target/generated-sources/sal</source>
93                             </sources>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99         <pluginManagement>
100             <plugins>
101                 <!--This plugin's configuration is used to store Eclipse 
102                     m2e settings only. It has no influence on the Maven build itself. -->
103                 <plugin>
104                     <groupId>org.eclipse.m2e</groupId>
105                     <artifactId>lifecycle-mapping</artifactId>
106                     <version>1.0.0</version>
107                     <configuration>
108                         <lifecycleMappingMetadata>
109                             <pluginExecutions>
110                                 <pluginExecution>
111                                     <pluginExecutionFilter>
112                                         <groupId>org.opendaylight.yangtools</groupId>
113                                         <artifactId>yang-maven-plugin</artifactId>
114                                         <versionRange>[0.5,)</versionRange>
115                                         <goals>
116                                             <goal>
117                                                 generate-sources
118                                             </goal>
119                                         </goals>
120                                     </pluginExecutionFilter>
121                                     <action>
122                                         <ignore />
123                                     </action>
124                                 </pluginExecution>
125                                 <pluginExecution>
126                                     <pluginExecutionFilter>
127                                         <groupId>org.apache.felix</groupId>
128                                         <artifactId>maven-bundle-plugin</artifactId>
129                                         <versionRange>[1.0,)</versionRange>
130                                         <goals>
131                                             <goal>manifest</goal>
132                                         </goals>
133                                     </pluginExecutionFilter>
134                                     <action>
135                                         <execute />
136                                     </action>
137                                 </pluginExecution>
138                             </pluginExecutions>
139                         </lifecycleMappingMetadata>
140                     </configuration>
141                 </plugin>
142             </plugins>
143         </pluginManagement>
144     </build>
145
146     <dependencies>
147         <dependency>
148             <groupId>org.opendaylight.yangtools</groupId>
149             <artifactId>yang-binding</artifactId>
150             <version>0.6.2-SNAPSHOT</version>
151         </dependency>
152         <dependency>
153             <groupId>org.opendaylight.yangtools</groupId>
154             <artifactId>yang-common</artifactId>
155             <version>0.6.2-SNAPSHOT</version>
156         </dependency>
157     </dependencies>
158
159 </project>