1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.groupbasedpolicy</groupId>
6 <artifactId>groupbasedpolicy.project</artifactId>
7 <version>0.2.0-SNAPSHOT</version>
8 <relativePath>../</relativePath>
11 <artifactId>groupbasedpolicy</artifactId>
12 <packaging>bundle</packaging>
15 <openflowplugin-nicira.version>0.1.0-SNAPSHOT</openflowplugin-nicira.version>
20 <groupId>net.juniper.contrail</groupId>
21 <artifactId>juniper-contrail-api</artifactId>
22 <version>1.2</version>
25 <groupId>org.apache.httpcomponents</groupId>
26 <artifactId>httpcore</artifactId>
27 <version>4.3.2</version>
30 <groupId>org.apache.httpcomponents</groupId>
31 <artifactId>httpclient</artifactId>
32 <version>4.3.2</version>
35 <groupId>ch.qos.logback</groupId>
36 <artifactId>logback-classic</artifactId>
39 <groupId>ch.qos.logback</groupId>
40 <artifactId>logback-core</artifactId>
43 <groupId>com.fasterxml.jackson.core</groupId>
44 <artifactId>jackson-core</artifactId>
47 <groupId>com.fasterxml.jackson.core</groupId>
48 <artifactId>jackson-databind</artifactId>
51 <groupId>com.fasterxml.jackson.core</groupId>
52 <artifactId>jackson-annotations</artifactId>
55 <groupId>com.google.guava</groupId>
56 <artifactId>guava</artifactId>
59 <groupId>io.netty</groupId>
60 <artifactId>netty-all</artifactId>
61 <version>${netty.version}</version>
64 <groupId>org.opendaylight.controller</groupId>
65 <artifactId>config-api</artifactId>
68 <groupId>org.opendaylight.controller</groupId>
69 <artifactId>sal-binding-api</artifactId>
72 <groupId>org.opendaylight.controller</groupId>
73 <artifactId>sal-binding-config</artifactId>
76 <groupId>org.opendaylight.controller</groupId>
77 <artifactId>sal-common-util</artifactId>
80 <groupId>org.opendaylight.controller.model</groupId>
81 <artifactId>model-inventory</artifactId>
84 <groupId>org.opendaylight.yangtools</groupId>
85 <artifactId>yang-binding</artifactId>
88 <groupId>org.opendaylight.yangtools</groupId>
89 <artifactId>yang-common</artifactId>
92 <groupId>org.opendaylight.openflowplugin</groupId>
93 <artifactId>openflowplugin-extension-nicira</artifactId>
94 <version>${openflowplugin-nicira.version}</version>
97 <groupId>org.osgi</groupId>
98 <artifactId>org.osgi.core</artifactId>
101 <groupId>commons-lang</groupId>
102 <artifactId>commons-lang</artifactId>
103 <version>2.6</version>
106 <groupId>org.apache.commons</groupId>
107 <artifactId>commons-exec</artifactId>
108 <version>1.1</version>
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
116 <groupId>org.mockito</groupId>
117 <artifactId>mockito-all</artifactId>
118 <version>1.9.5</version>
122 <groupId>org.powermock</groupId>
123 <artifactId>powermock-module-junit4</artifactId>
124 <version>1.5.6</version>
128 <groupId>org.powermock</groupId>
129 <artifactId>powermock-api-mockito</artifactId>
130 <version>1.5.6</version>
134 <groupId>org.opendaylight.sfc</groupId>
135 <artifactId>sfc-model</artifactId>
136 <version>${sfc.version}</version>
139 <groupId>org.opendaylight.sfc</groupId>
140 <artifactId>sfc-provider</artifactId>
141 <version>${sfc.version}</version>
145 <!-- project build -->
149 <groupId>org.apache.felix</groupId>
150 <artifactId>maven-bundle-plugin</artifactId>
151 <extensions>true</extensions>
155 org.apache.http.*;version="4.3.2",
156 *;resolution:=optional</Import-Package>
157 <Embed-Dependency>httpclient,httpcore,commons-lang,commons-exec;type=!pom;inline=false</Embed-Dependency>
159 org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
160 org.opendaylight.controller.config.yang.config.endpoint_provider,
161 org.opendaylight.groupbasedpolicy.endpoint,
162 org.opendaylight.groupbasedpolicy.resolver,
163 net.juniper.contrail.api.*;version="1.2"
166 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
170 <groupId>org.codehaus.mojo</groupId>
171 <artifactId>build-helper-maven-plugin</artifactId>
175 <goal>add-source</goal>
177 <phase>generate-sources</phase>
180 <source>target/generated-sources/sal</source>
181 <source>target/generated-sources/config</source>
182 <source>target/generated-resources/</source>
189 <groupId>org.opendaylight.yangtools</groupId>
190 <artifactId>yang-maven-plugin</artifactId>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>yang-jmx-generator-plugin</artifactId>
195 <version>0.3.0-SNAPSHOT</version>
198 <groupId>org.opendaylight.yangtools</groupId>
199 <artifactId>maven-sal-api-gen-plugin</artifactId>
200 <version>${yangtools.version}</version>
207 <goal>generate-sources</goal>
212 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
213 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
214 <additionalConfiguration>
215 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
216 </additionalConfiguration>
219 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
220 <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
223 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
224 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
227 <inspectDependencies>true</inspectDependencies>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-surefire-plugin</artifactId>
236 <redirectTestOutputToFile>true</redirectTestOutputToFile>
240 <groupId>org.jacoco</groupId>
241 <artifactId>jacoco-maven-plugin</artifactId>
244 <id>pre-unit-test</id>
246 <goal>prepare-agent</goal>
250 <id>post-unit-test</id>
256 <dataFile>${sonar.jacoco.reportPath}</dataFile>
258 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>