Updated ext:context-reference to point to right identity.
[controller.git] / opendaylight / md-sal / model / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4     <parent>
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>sal-parent</artifactId>
7         <version>1.0-SNAPSHOT</version>
8     </parent>
9     <scm>
10       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
11       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
12       <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
13     </scm>
14
15     <modelVersion>4.0.0</modelVersion>
16     <groupId>org.opendaylight.controller.model</groupId>
17     <artifactId>model-parent</artifactId>
18     <packaging>pom</packaging>
19
20     <properties>
21         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22         <bundle.plugin.version>2.3.7</bundle.plugin.version>
23     </properties>
24
25     <modules>
26         <module>model-inventory</module>
27         <module>model-flow-base</module>
28         <module>model-flow-service</module>
29         <module>model-flow-statistics</module>
30         <module>model-flow-management</module>
31     </modules>
32
33     <build>
34         <plugins>
35             <plugin>
36                 <groupId>org.apache.felix</groupId>
37                 <artifactId>maven-bundle-plugin</artifactId>
38                 <extensions>true</extensions>
39                 <configuration>
40                     <instructions>
41                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
42                     </instructions>
43                 </configuration>
44             </plugin>
45             <plugin>
46                 <groupId>org.opendaylight.yangtools</groupId>
47                 <artifactId>yang-maven-plugin</artifactId>
48                 <version>${yang.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                             </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>${yang.codegen.version}</version>
75                         <type>jar</type>
76                     </dependency>
77                     <dependency>
78                         <groupId>org.opendaylight.yangtools</groupId>
79                         <artifactId>yang-binding</artifactId>
80                         <version>${yang.codegen.version}</version>
81                         <type>jar</type>
82                     </dependency>
83                 </dependencies>
84             </plugin>
85             <plugin>
86                 <groupId>org.codehaus.mojo</groupId>
87                 <artifactId>build-helper-maven-plugin</artifactId>
88                 <version>1.7</version>
89                 <executions>
90                     <execution>
91                         <phase>generate-sources</phase>
92                         <goals>
93                             <goal>add-source</goal>
94                         </goals>
95                         <configuration>
96                             <sources>
97                                 <source>target/generated-sources/sal</source>
98                             </sources>
99                         </configuration>
100                     </execution>
101                 </executions>
102             </plugin>
103         </plugins>
104         <pluginManagement>
105             <plugins>
106                 <!--This plugin's configuration is used to store Eclipse 
107                     m2e settings only. It has no influence on the Maven build itself. -->
108                 <plugin>
109                     <groupId>org.eclipse.m2e</groupId>
110                     <artifactId>lifecycle-mapping</artifactId>
111                     <version>1.0.0</version>
112                     <configuration>
113                         <lifecycleMappingMetadata>
114                             <pluginExecutions>
115                                 <pluginExecution>
116                                     <pluginExecutionFilter>
117                                         <groupId>
118                                             org.opendaylight.yangtools
119                                         </groupId>
120                                         <artifactId>
121                                             yang-maven-plugin
122                                         </artifactId>
123                                         <versionRange>
124                                             [0.5,)
125                                         </versionRange>
126                                         <goals>
127                                             <goal>
128                                                 generate-sources
129                                             </goal>
130                                         </goals>
131                                     </pluginExecutionFilter>
132                                     <action>
133                                         <ignore></ignore>
134                                     </action>
135                                 </pluginExecution>
136                             </pluginExecutions>
137                         </lifecycleMappingMetadata>
138                     </configuration>
139                 </plugin>
140             </plugins>
141         </pluginManagement>
142     </build>
143
144     <dependencies>
145         <dependency>
146             <groupId>org.opendaylight.yangtools</groupId>
147             <artifactId>yang-binding</artifactId>
148         </dependency>
149         <dependency>
150             <groupId>org.opendaylight.yangtools</groupId>
151             <artifactId>yang-common</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.yangtools.model</groupId>
155             <artifactId>ietf-inet-types</artifactId>
156             <version>2010.09.24.2-SNAPSHOT</version>
157         </dependency>
158         <dependency>
159             <groupId>org.opendaylight.yangtools.model</groupId>
160             <artifactId>ietf-yang-types</artifactId>
161             <version>2010.09.24.2-SNAPSHOT</version>
162         </dependency>
163         <dependency>
164             <groupId>org.opendaylight.yangtools.model</groupId>
165             <artifactId>yang-ext</artifactId>
166             <version>2013.09.07.1-SNAPSHOT</version>
167         </dependency>
168     </dependencies>
169
170 </project>