Added sal-connector-* skeletons (REST connector, MB, Netconf).
[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     <version>1.0-SNAPSHOT</version>
19     <packaging>pom</packaging>
20
21     <properties>
22         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23         <bundle.plugin.version>2.3.7</bundle.plugin.version>
24     </properties>
25
26     <modules>
27         <module>model-inventory</module>
28         <module>model-flow-base</module>
29         <module>model-flow-service</module>
30         <module>model-flow-statistics</module>
31         <!-- <module>model-topology-bgp</module> -->
32     </modules>
33
34     <build>
35         <plugins>
36             <plugin>
37                 <groupId>org.apache.felix</groupId>
38                 <artifactId>maven-bundle-plugin</artifactId>
39                 <version>${bundle.plugin.version}</version>
40                 <extensions>true</extensions>
41                 <configuration>
42                     <instructions>
43                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
44                     </instructions>
45                 </configuration>
46             </plugin>
47             <plugin>
48                 <groupId>org.opendaylight.yangtools</groupId>
49                 <artifactId>yang-maven-plugin</artifactId>
50                 <version>${yang.version}</version>
51                 <executions>
52                     <execution>
53                         <goals>
54                             <goal>generate-sources</goal>
55                         </goals>
56                         <configuration>
57                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
58                             <codeGenerators>
59                                 <generator>
60                                     <codeGeneratorClass>
61                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
62                                     </codeGeneratorClass>
63                                     <outputBaseDir>
64                                         target/generated-sources/sal
65                                     </outputBaseDir>
66                                 </generator>
67                             </codeGenerators>
68                             <inspectDependencies>true</inspectDependencies>
69                         </configuration>
70                     </execution>
71                 </executions>
72                 <dependencies>
73                     <dependency>
74                         <groupId>org.opendaylight.yangtools</groupId>
75                         <artifactId>maven-sal-api-gen-plugin</artifactId>
76                         <version>${yang.codegen.version}</version>
77                         <type>jar</type>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81             <plugin>
82                 <groupId>org.codehaus.mojo</groupId>
83                 <artifactId>build-helper-maven-plugin</artifactId>
84                 <version>1.7</version>
85                 <executions>
86                     <execution>
87                         <phase>generate-sources</phase>
88                         <goals>
89                             <goal>add-source</goal>
90                         </goals>
91                         <configuration>
92                             <sources>
93                                 <source>target/generated-sources/sal</source>
94                             </sources>
95                         </configuration>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100         <pluginManagement>
101             <plugins>
102                 <!--This plugin's configuration is used to store Eclipse 
103                     m2e settings only. It has no influence on the Maven build itself. -->
104                 <plugin>
105                     <groupId>org.eclipse.m2e</groupId>
106                     <artifactId>lifecycle-mapping</artifactId>
107                     <version>1.0.0</version>
108                     <configuration>
109                         <lifecycleMappingMetadata>
110                             <pluginExecutions>
111                                 <pluginExecution>
112                                     <pluginExecutionFilter>
113                                         <groupId>
114                                             org.opendaylight.yangtools
115                                         </groupId>
116                                         <artifactId>
117                                             yang-maven-plugin
118                                         </artifactId>
119                                         <versionRange>
120                                             [0.5,)
121                                         </versionRange>
122                                         <goals>
123                                             <goal>
124                                                 generate-sources
125                                             </goal>
126                                         </goals>
127                                     </pluginExecutionFilter>
128                                     <action>
129                                         <ignore></ignore>
130                                     </action>
131                                 </pluginExecution>
132                             </pluginExecutions>
133                         </lifecycleMappingMetadata>
134                     </configuration>
135                 </plugin>
136             </plugins>
137         </pluginManagement>
138     </build>
139
140     <dependencies>
141         <dependency>
142             <groupId>org.opendaylight.yangtools</groupId>
143             <artifactId>yang-binding</artifactId>
144             <version>${yang.version}</version>
145         </dependency>
146         <dependency>
147             <groupId>org.opendaylight.yangtools</groupId>
148             <artifactId>yang-common</artifactId>
149             <version>${yang.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.yangtools.model</groupId>
153             <artifactId>ietf-inet-types</artifactId>
154             <version>2010.09.24.0</version>
155         </dependency>
156         <dependency>
157             <groupId>org.opendaylight.yangtools.model</groupId>
158             <artifactId>ietf-yang-types</artifactId>
159             <version>2010.09.24.0</version>
160         </dependency>
161         <dependency>
162             <groupId>org.opendaylight.yangtools.model</groupId>
163             <artifactId>yang-ext</artifactId>
164             <version>2013.09.07.0</version>
165         </dependency>
166     </dependencies>
167
168 </project>