Removal of migrated or obsolute artifacts.
[yangtools.git] / yang / yang-model-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 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
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>1.6.0-SNAPSHOT</version>
17         <relativePath/>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <groupId>org.opendaylight.yangtools</groupId>
22     <artifactId>yang-model-parent</artifactId>
23     <packaging>pom</packaging>
24     <version>0.8.0-SNAPSHOT</version>
25
26     <properties>
27         <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
28     </properties>
29
30     <dependencyManagement>
31         <dependencies>
32             <dependency>
33                 <groupId>org.opendaylight.yangtools</groupId>
34                 <artifactId>yangtools-artifacts</artifactId>
35                 <version>${yangtools.version}</version>
36                 <scope>import</scope>
37                 <type>pom</type>
38             </dependency>
39         </dependencies>
40     </dependencyManagement>
41
42     <build>
43         <pluginManagement>
44             <plugins>
45                 <plugin>
46                     <groupId>org.opendaylight.yangtools</groupId>
47                     <artifactId>yang-maven-plugin</artifactId>
48                     <version>${yangtools.version}</version>
49                     <executions>
50                         <execution>
51                             <goals>
52                                 <goal>generate-sources</goal>
53                             </goals>
54                             <configuration>
55                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
56                                 <codeGenerators>
57                                     <generator>
58                                         <codeGeneratorClass>
59                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
60                                         </codeGeneratorClass>
61                                         <outputBaseDir>
62                                             target/generated-sources/sal
63                                         </outputBaseDir>
64                                     </generator>
65                                     <generator>
66                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
67                                         <outputBaseDir>target/site/restconf</outputBaseDir>
68                                     </generator>
69                                     <generator>
70                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
71                                         <outputBaseDir>target/site/restconf</outputBaseDir>
72                                     </generator>
73                                 </codeGenerators>
74                                 <inspectDependencies>true</inspectDependencies>
75                             </configuration>
76                         </execution>
77                     </executions>
78                     <dependencies>
79                         <dependency>
80                             <groupId>org.opendaylight.mdsal</groupId>
81                             <artifactId>maven-sal-api-gen-plugin</artifactId>
82                             <version>${yangtools.version}</version>
83                             <type>jar</type>
84                         </dependency>
85                     </dependencies>
86                 </plugin>
87
88                 <!--This plugin's configuration is used to store Eclipse
89                     m2e settings only. It has no influence on the Maven build itself. -->
90                 <plugin>
91                     <groupId>org.eclipse.m2e</groupId>
92                     <artifactId>lifecycle-mapping</artifactId>
93                     <version>1.0.0</version>
94                     <configuration>
95                         <lifecycleMappingMetadata>
96                             <pluginExecutions>
97                                 <pluginExecution>
98                                     <pluginExecutionFilter>
99                                         <groupId>org.opendaylight.yangtools</groupId>
100                                         <artifactId>yang-maven-plugin</artifactId>
101                                         <versionRange>[0.5,)</versionRange>
102                                         <goals>
103                                             <goal>generate-sources</goal>
104                                         </goals>
105                                     </pluginExecutionFilter>
106                                     <action>
107                                         <ignore />
108                                     </action>
109                                 </pluginExecution>
110                             </pluginExecutions>
111                         </lifecycleMappingMetadata>
112                     </configuration>
113                 </plugin>
114             </plugins>
115         </pluginManagement>
116     </build>
117
118     <dependencies>
119         <dependency> 
120             <groupId>org.opendaylight.mdsal</groupId> 
121             <artifactId>yang-binding</artifactId> 
122         </dependency> 
123         <dependency> 
124             <groupId>org.opendaylight.yangtools</groupId> 
125             <artifactId>yang-common</artifactId> 
126         </dependency> 
127     </dependencies>
128 </project>