Clean up pom files.
[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.3.0-SNAPSHOT</version>
19     <relativePath>../commons/parent</relativePath>
20   </parent>
21
22   <artifactId>ovssfc</artifactId>
23   <version>0.1.0-SNAPSHOT</version>
24   <packaging>bundle</packaging>
25
26   <properties>
27     <jmxGeneratorPath>target/generated-sources/config</jmxGeneratorPath>
28   </properties>
29
30   <dependencies>
31     <dependency>
32       <groupId>org.osgi</groupId>
33       <artifactId>org.osgi.core</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>com.google.guava</groupId>
37       <artifactId>guava</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>junit</groupId>
41       <artifactId>junit</artifactId>
42       <scope>test</scope>
43     </dependency>
44     <dependency>
45       <groupId>org.mockito</groupId>
46       <artifactId>mockito-all</artifactId>
47       <scope>test</scope>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>config-api</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>sal</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.controller</groupId>
59       <artifactId>sal-binding-api</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>sal-binding-config</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <artifactId>sal-common-api</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.controller.model</groupId>
71       <artifactId>model-flow-base</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.controller.model</groupId>
75       <artifactId>model-flow-service</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.controller.model</groupId>
79       <artifactId>model-inventory</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.ovsdb</groupId>
83       <artifactId>library</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.ovsdb</groupId>
87       <artifactId>plugin</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.ovsdb</groupId>
91       <artifactId>schema.openvswitch</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.ovsdb</groupId>
95       <artifactId>utils.mdsal-openflow</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.sfc</groupId>
99       <artifactId>sfc-model</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.yangtools</groupId>
103       <artifactId>concepts</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.yangtools</groupId>
107       <artifactId>yang-binding</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.yangtools</groupId>
111       <artifactId>yang-common</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.yangtools.model</groupId>
115       <artifactId>ietf-inet-types</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.yangtools.model</groupId>
119       <artifactId>opendaylight-l2-types</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.slf4j</groupId>
123       <artifactId>slf4j-api</artifactId>
124     </dependency>
125   </dependencies>
126
127   <build>
128     <plugins>
129       <plugin>
130         <groupId>org.apache.felix</groupId>
131         <artifactId>maven-bundle-plugin</artifactId>
132         <version>${bundle.plugin.version}</version>
133         <extensions>true</extensions>
134         <configuration>
135           <instructions>
136             <Embed-Dependency>utils.mdsal-openflow;type=!pom;inline=false</Embed-Dependency>
137             <Embed-Transitive>true</Embed-Transitive>
138             <Include-Resource>
139               /OSGI-OPT/ovs-sfc/53-ovssfc-provider.xml=${project.basedir}/src/main/resources/initial/53-ovssfc-provider.xml,{maven-resources}
140             </Include-Resource>
141           </instructions>
142           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
143         </configuration>
144       </plugin>
145       <plugin>
146         <groupId>org.opendaylight.yangtools</groupId>
147         <artifactId>yang-maven-plugin</artifactId>
148         <executions>
149           <execution>
150             <id>config</id>
151             <goals>
152               <goal>generate-sources</goal>
153             </goals>
154             <configuration>
155               <codeGenerators>
156                 <generator>
157                   <codeGeneratorClass>
158                     org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
159                   </codeGeneratorClass>
160                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
161                   <additionalConfiguration>
162                     <namespaceToPackage1>
163                       urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
164                     </namespaceToPackage1>
165                   </additionalConfiguration>
166                 </generator>
167               </codeGenerators>
168               <inspectDependencies>true</inspectDependencies>
169             </configuration>
170           </execution>
171         </executions>
172         <dependencies>
173           <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>yang-jmx-generator-plugin</artifactId>
176             <version>${controller.config.version}</version>
177           </dependency>
178           <dependency>
179             <groupId>org.opendaylight.yangtools</groupId>
180             <artifactId>maven-sal-api-gen-plugin</artifactId>
181             <version>${yangtools.version}</version>
182           </dependency>
183         </dependencies>
184       </plugin>
185       <plugin>
186         <groupId>org.codehaus.mojo</groupId>
187         <artifactId>build-helper-maven-plugin</artifactId>
188       </plugin>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-checkstyle-plugin</artifactId>
192       </plugin>
193       <plugin>
194         <groupId>org.jacoco</groupId>
195         <artifactId>jacoco-maven-plugin</artifactId>
196       </plugin>
197     </plugins>
198   </build>
199
200   <scm>
201     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
202     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
203     <tag>HEAD</tag>
204     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
205   </scm>
206 </project>