Merge "Use a logger instead of printStackTrace"
[netvirt.git] / ovs-sfc / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          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   <modelVersion>4.0.0</modelVersion>
14
15   <parent>
16     <groupId>org.opendaylight.ovsdb</groupId>
17     <artifactId>commons</artifactId>
18     <version>1.4.0-SNAPSHOT</version>
19     <relativePath>../commons/parent</relativePath>
20   </parent>
21
22   <artifactId>ovssfc</artifactId>
23   <version>0.2.0-SNAPSHOT</version>
24   <packaging>bundle</packaging>
25   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
26   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <properties>
48     <jmxGeneratorPath>target/generated-sources/config</jmxGeneratorPath>
49   </properties>
50
51   <dependencies>
52     <dependency>
53       <groupId>org.osgi</groupId>
54       <artifactId>org.osgi.core</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.google.guava</groupId>
58       <artifactId>guava</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>junit</groupId>
62       <artifactId>junit</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.mockito</groupId>
67       <artifactId>mockito-all</artifactId>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>config-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>sal</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>sal-binding-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.controller</groupId>
84       <artifactId>sal-binding-config</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>sal-common-api</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.openflowplugin.model</groupId>
92       <artifactId>model-flow-base</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.openflowplugin.model</groupId>
96       <artifactId>model-flow-service</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.controller.model</groupId>
100       <artifactId>model-inventory</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.ovsdb</groupId>
104       <artifactId>library</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.ovsdb</groupId>
108       <artifactId>plugin</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.ovsdb</groupId>
112       <artifactId>schema.openvswitch</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.ovsdb</groupId>
116       <artifactId>utils.mdsal-openflow</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.sfc</groupId>
120       <artifactId>sfc-model</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.yangtools</groupId>
124       <artifactId>concepts</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.mdsal</groupId>
128       <artifactId>yang-binding</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.yangtools</groupId>
132       <artifactId>yang-common</artifactId>
133     </dependency>
134     <dependency>
135       <groupId>org.opendaylight.mdsal.model</groupId>
136       <artifactId>ietf-inet-types</artifactId>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.mdsal.model</groupId>
140       <artifactId>opendaylight-l2-types</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>org.slf4j</groupId>
144       <artifactId>slf4j-api</artifactId>
145     </dependency>
146   </dependencies>
147
148   <build>
149     <plugins>
150       <plugin>
151         <groupId>org.apache.felix</groupId>
152         <artifactId>maven-bundle-plugin</artifactId>
153         <extensions>true</extensions>
154         <configuration>
155           <instructions>
156             <Embed-Dependency>utils.mdsal-openflow;type=!pom;inline=false</Embed-Dependency>
157             <Embed-Transitive>true</Embed-Transitive>
158             <Include-Resource>
159               /OSGI-OPT/ovs-sfc/53-ovssfc-provider.xml=${project.basedir}/src/main/resources/initial/53-ovssfc-provider.xml,{maven-resources}
160             </Include-Resource>
161           </instructions>
162           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
163         </configuration>
164       </plugin>
165       <plugin>
166         <groupId>org.opendaylight.yangtools</groupId>
167         <artifactId>yang-maven-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>config</id>
171             <goals>
172               <goal>generate-sources</goal>
173             </goals>
174             <configuration>
175               <codeGenerators>
176                 <generator>
177                   <codeGeneratorClass>
178                     org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
179                   </codeGeneratorClass>
180                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
181                   <additionalConfiguration>
182                     <namespaceToPackage1>
183                       urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
184                     </namespaceToPackage1>
185                   </additionalConfiguration>
186                 </generator>
187               </codeGenerators>
188               <inspectDependencies>true</inspectDependencies>
189             </configuration>
190           </execution>
191         </executions>
192         <dependencies>
193           <dependency>
194             <groupId>org.opendaylight.controller</groupId>
195             <artifactId>yang-jmx-generator-plugin</artifactId>
196             <version>${controller.config.version}</version>
197           </dependency>
198           <dependency>
199             <groupId>org.opendaylight.mdsal</groupId>
200             <artifactId>maven-sal-api-gen-plugin</artifactId>
201             <version>${yangtools.version}</version>
202           </dependency>
203         </dependencies>
204       </plugin>
205       <plugin>
206         <groupId>org.codehaus.mojo</groupId>
207         <artifactId>build-helper-maven-plugin</artifactId>
208       </plugin>
209       <plugin>
210         <groupId>org.apache.maven.plugins</groupId>
211         <artifactId>maven-checkstyle-plugin</artifactId>
212       </plugin>
213       <plugin>
214         <groupId>org.jacoco</groupId>
215         <artifactId>jacoco-maven-plugin</artifactId>
216       </plugin>
217     </plugins>
218   </build>
219 </project>