5d04b89445c5159ac18957314b9233b052e03723
[affinity.git] / nfchain / api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6       <groupId>org.opendaylight.affinity</groupId>
7       <artifactId>affinityParent</artifactId>
8       <version>0.4.1-SNAPSHOT</version>
9       <relativePath>../..</relativePath>
10     </parent>
11     
12     <groupId>org.opendaylight.affinity</groupId>
13     <artifactId>nfchain</artifactId>
14     <version>0.4.0-SNAPSHOT</version>
15     <packaging>bundle</packaging>
16   
17     <scm>
18       <connection>scm:git:ssh://git.opendaylight.org:29418/affinity.git</connection>
19       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/affinity.git</developerConnection>
20     </scm>
21     
22     <properties>
23         <yang.version>0.5.9-SNAPSHOT</yang.version>
24         <yang.codegen.version>0.5.8-SNAPSHOT</yang.codegen.version>
25         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26         <maven.compiler.source>1.7</maven.compiler.source>
27         <maven.compiler.target>1.7</maven.compiler.target>
28         <maven.bundle.version>2.4.0</maven.bundle.version>
29         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
30     </properties>
31
32
33     <build>
34       <plugins>
35         <plugin>
36           <groupId>org.apache.felix</groupId>
37           <artifactId>maven-bundle-plugin</artifactId>
38           <version>2.3.6</version>
39           <extensions>true</extensions>
40       </plugin>
41       <plugin>
42         <groupId>org.opendaylight.yangtools</groupId>
43         <artifactId>yang-maven-plugin</artifactId>
44         <version>${yang.version}</version>
45         <executions>
46           <execution>
47             <goals>
48               <goal>generate-sources</goal>
49             </goals>
50             <configuration>
51               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
52               <codeGenerators>
53                 <generator>
54                   <codeGeneratorClass>
55                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
56                   </codeGeneratorClass>
57                   <outputBaseDir>
58                     target/generated-sources/sal
59                   </outputBaseDir>
60                 </generator>
61               </codeGenerators>
62               <inspectDependencies>true</inspectDependencies>
63             </configuration>
64           </execution>
65         </executions>
66         <dependencies>
67           <dependency>
68             <groupId>org.opendaylight.yangtools</groupId>
69             <artifactId>maven-sal-api-gen-plugin</artifactId>
70             <version>${yang.codegen.version}</version>
71             <type>jar</type>
72           </dependency>
73         </dependencies>
74       </plugin>
75       <plugin>
76         <groupId>org.codehaus.mojo</groupId>
77         <artifactId>build-helper-maven-plugin</artifactId>
78         <version>1.7</version>
79         <executions>
80           <execution>
81             <phase>generate-sources</phase>
82             <goals>
83               <goal>add-source</goal>
84             </goals>
85             <configuration>
86               <sources>
87                 <source>target/generated-sources/sal</source>
88               </sources>
89             </configuration>
90           </execution>
91         </executions>
92       </plugin>
93         </plugins>
94         <pluginManagement>
95           <plugins>
96                 <!--This plugin's configuration is used to store Eclipse 
97                     m2e settings only. It has no influence on the Maven build itself. -->
98                 <plugin>
99                     <groupId>org.eclipse.m2e</groupId>
100                     <artifactId>lifecycle-mapping</artifactId>
101                     <version>1.0.0</version>
102                     <configuration>
103                         <lifecycleMappingMetadata>
104                             <pluginExecutions>
105                                 <pluginExecution>
106                                     <pluginExecutionFilter>
107                                         <groupId>
108                                             org.opendaylight.yangtools
109                                         </groupId>
110                                         <artifactId>
111                                             yang-maven-plugin
112                                         </artifactId>
113                                         <versionRange>
114                                             [0.5,)
115                                         </versionRange>
116                                         <goals>
117                                             <goal>
118                                                 generate-sources
119                                             </goal>
120                                         </goals>
121                                     </pluginExecutionFilter>
122                                     <action>
123                                         <ignore></ignore>
124                                     </action>
125                                 </pluginExecution>
126                             </pluginExecutions>
127                         </lifecycleMappingMetadata>
128                     </configuration>
129                 </plugin>
130             </plugins>
131         </pluginManagement>
132     </build>
133
134
135
136     <dependencies>
137       <dependency>
138         <groupId>org.opendaylight.controller.model</groupId>
139         <artifactId>model-inventory</artifactId>
140         <version>1.0-SNAPSHOT</version> 
141       </dependency>
142       
143       <dependency>
144         <groupId>org.opendaylight.yangtools</groupId>
145         <artifactId>yang-binding</artifactId>
146         <version>${yang.version}</version>
147       </dependency>
148       <dependency>
149         <groupId>org.opendaylight.yangtools</groupId>
150         <artifactId>yang-common</artifactId>
151         <version>${yang.version}</version>
152       </dependency>
153       <dependency>
154         <groupId>org.opendaylight.yangtools.model</groupId>
155         <artifactId>ietf-inet-types</artifactId>
156         <version>2010.09.24-SNAPSHOT</version>
157       </dependency>
158       <dependency>
159         <groupId>org.opendaylight.yangtools.model</groupId>
160         <artifactId>ietf-yang-types</artifactId>
161         <version>2010.09.24-SNAPSHOT</version>
162       </dependency>
163 <!--      <dependency>
164         <groupId>org.opendaylight.yangtools</groupId>
165         <artifactId>yang-ext</artifactId>
166         <version>2013.09.07.1-SNAPSHOT</version>
167       </dependency> -->
168       <dependency>
169         <groupId>org.opendaylight.yangtools.model</groupId>
170         <artifactId>opendaylight-l2-types</artifactId>
171         <version>2013.08.27.1-SNAPSHOT</version>
172       </dependency>
173     </dependencies>
174
175 </project>