2bd1b7f0347d551c2746c28227c2b54407804cc8
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>clustering-it</artifactId>
6         <groupId>org.opendaylight.controller.samples</groupId>
7         <version>1.4.0-SNAPSHOT</version>
8     </parent>
9     <!-- FIXME Use org.opendaylight.mdsal:binding-parent -->
10     <artifactId>clustering-it-model</artifactId>
11     <packaging>bundle</packaging>
12
13     <build>
14         <plugins>
15             <plugin>
16                 <groupId>org.apache.felix</groupId>
17                 <artifactId>maven-bundle-plugin</artifactId>
18                 <version>${bundle.plugin.version}</version>
19                 <extensions>true</extensions>
20                 <configuration>
21                     <instructions>
22                         <Bundle-Name>org.opendaylight.controller.sal-clustering-it-model</Bundle-Name>
23                         <Import-Package>*</Import-Package>
24                     </instructions>
25                 </configuration>
26             </plugin>
27             <plugin>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yang-maven-plugin</artifactId>
30                 <version>${yangtools.version}</version>
31                 <executions>
32                     <execution>
33                         <goals>
34                             <goal>generate-sources</goal>
35                         </goals>
36                         <configuration>
37                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
38                             <codeGenerators>
39                                 <generator>
40                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
41                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
42                                 </generator>
43                             </codeGenerators>
44                             <inspectDependencies>true</inspectDependencies>
45                         </configuration>
46                     </execution>
47                 </executions>
48                 <dependencies>
49                     <dependency>
50                         <groupId>org.opendaylight.mdsal</groupId>
51                         <artifactId>maven-sal-api-gen-plugin</artifactId>
52                         <version>${mdsal.model.version}</version>
53                         <type>jar</type>
54                     </dependency>
55                 </dependencies>
56             </plugin>
57         </plugins>
58         <pluginManagement>
59             <plugins>
60                 <!--This plugin's configuration is used to store Eclipse
61                     m2e settings only. It has no influence on the Maven build itself. -->
62                 <plugin>
63                     <groupId>org.eclipse.m2e</groupId>
64                     <artifactId>lifecycle-mapping</artifactId>
65                     <version>1.0.0</version>
66                     <configuration>
67                         <lifecycleMappingMetadata>
68                             <pluginExecutions>
69                                 <pluginExecution>
70                                     <pluginExecutionFilter>
71                                         <groupId>org.opendaylight.yangtools</groupId>
72                                         <artifactId>yang-maven-plugin</artifactId>
73                                         <versionRange>[0.5,)</versionRange>
74                                         <goals>
75                                             <goal>generate-sources</goal>
76                                         </goals>
77                                     </pluginExecutionFilter>
78                                     <action>
79                                         <ignore />
80                                     </action>
81                                 </pluginExecution>
82                             </pluginExecutions>
83                         </lifecycleMappingMetadata>
84                     </configuration>
85                 </plugin>
86             </plugins>
87         </pluginManagement>
88     </build>
89     <dependencies>
90         <dependency>
91             <groupId>org.opendaylight.mdsal</groupId>
92             <artifactId>yang-binding</artifactId>
93             <version>0.9.0-SNAPSHOT</version>
94         </dependency>
95         <dependency>
96             <groupId>org.opendaylight.yangtools</groupId>
97             <artifactId>yang-common</artifactId>
98             <version>${yangtools.version}</version>
99         </dependency>
100         <dependency>
101        <groupId>org.opendaylight.mdsal.model</groupId>
102        <artifactId>ietf-inet-types-2013-07-15</artifactId>
103        <version>${ietf-inet-types.version}</version>
104       </dependency>
105       <dependency>
106        <groupId>org.opendaylight.mdsal.model</groupId>
107        <artifactId>ietf-yang-types-20130715</artifactId>
108        <version>${ietf-yang-types.version}</version>
109       </dependency>
110         <dependency>
111             <groupId>org.opendaylight.mdsal.model</groupId>
112             <artifactId>yang-ext</artifactId>
113             <version>${yang-ext.version}</version>
114         </dependency>
115     </dependencies>
116 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.