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>ch.qos.logback</groupId>
21 <artifactId>logback-classic</artifactId>
24 <groupId>ch.qos.logback</groupId>
25 <artifactId>logback-core</artifactId>
28 <groupId>com.fasterxml.jackson.core</groupId>
29 <artifactId>jackson-core</artifactId>
32 <groupId>com.fasterxml.jackson.core</groupId>
33 <artifactId>jackson-databind</artifactId>
36 <groupId>com.fasterxml.jackson.core</groupId>
37 <artifactId>jackson-annotations</artifactId>
40 <groupId>com.google.guava</groupId>
41 <artifactId>guava</artifactId>
44 <groupId>io.netty</groupId>
45 <artifactId>netty-all</artifactId>
46 <version>4.0.10.Final</version>
49 <groupId>org.opendaylight.controller</groupId>
50 <artifactId>config-api</artifactId>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>sal-binding-api</artifactId>
57 <groupId>org.opendaylight.controller</groupId>
58 <artifactId>sal-binding-config</artifactId>
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>sal-common-util</artifactId>
65 <groupId>org.opendaylight.controller.model</groupId>
66 <artifactId>model-inventory</artifactId>
69 <groupId>org.opendaylight.yangtools</groupId>
70 <artifactId>yang-binding</artifactId>
73 <groupId>org.opendaylight.yangtools</groupId>
74 <artifactId>yang-common</artifactId>
77 <groupId>org.opendaylight.controller.model</groupId>
78 <artifactId>model-flow-base</artifactId>
81 <groupId>org.opendaylight.controller.model</groupId>
82 <artifactId>model-flow-service</artifactId>
85 <groupId>org.opendaylight.openflowplugin</groupId>
86 <artifactId>openflowplugin-extension-nicira</artifactId>
87 <version>${openflowplugin-nicira.version}</version>
90 <groupId>org.osgi</groupId>
91 <artifactId>org.osgi.core</artifactId>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
100 <groupId>org.mockito</groupId>
101 <artifactId>mockito-all</artifactId>
106 <!-- project build -->
110 <groupId>org.apache.felix</groupId>
111 <artifactId>maven-bundle-plugin</artifactId>
112 <extensions>true</extensions>
115 <Import-Package>*</Import-Package>
117 org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
118 org.opendaylight.controller.config.yang.config.endpoint_provider,
119 org.opendaylight.groupbasedpolicy.endpoint,
120 org.opendaylight.groupbasedpolicy.resolver
123 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>build-helper-maven-plugin</artifactId>
132 <goal>add-source</goal>
134 <phase>generate-sources</phase>
137 <source>target/generated-sources/sal</source>
138 <source>target/generated-sources/config</source>
139 <source>target/generated-resources/</source>
146 <groupId>org.opendaylight.yangtools</groupId>
147 <artifactId>yang-maven-plugin</artifactId>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>yang-jmx-generator-plugin</artifactId>
152 <version>0.3.0-SNAPSHOT</version>
155 <groupId>org.opendaylight.yangtools</groupId>
156 <artifactId>maven-sal-api-gen-plugin</artifactId>
157 <version>${yangtools.version}</version>
164 <goal>generate-sources</goal>
169 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
170 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
171 <additionalConfiguration>
172 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
173 </additionalConfiguration>
176 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
177 <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
180 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
181 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
184 <inspectDependencies>true</inspectDependencies>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-surefire-plugin</artifactId>
193 <redirectTestOutputToFile>true</redirectTestOutputToFile>
197 <groupId>org.jacoco</groupId>
198 <artifactId>jacoco-maven-plugin</artifactId>
201 <id>pre-unit-test</id>
203 <goal>prepare-agent</goal>
207 <id>post-unit-test</id>
213 <dataFile>${sonar.jacoco.reportPath}</dataFile>
215 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>