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.1.0-SNAPSHOT</version>
8 <relativePath>../</relativePath>
11 <artifactId>groupbasedpolicy</artifactId>
12 <packaging>bundle</packaging>
15 <sal.version>1.1-SNAPSHOT</sal.version>
16 <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
17 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
18 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
23 <groupId>ch.qos.logback</groupId>
24 <artifactId>logback-classic</artifactId>
27 <groupId>ch.qos.logback</groupId>
28 <artifactId>logback-core</artifactId>
31 <groupId>com.fasterxml.jackson.core</groupId>
32 <artifactId>jackson-core</artifactId>
35 <groupId>com.fasterxml.jackson.core</groupId>
36 <artifactId>jackson-databind</artifactId>
39 <groupId>com.fasterxml.jackson.core</groupId>
40 <artifactId>jackson-annotations</artifactId>
43 <groupId>com.google.guava</groupId>
44 <artifactId>guava</artifactId>
47 <groupId>io.netty</groupId>
48 <artifactId>netty-all</artifactId>
49 <version>4.0.10.Final</version>
52 <groupId>org.opendaylight.controller</groupId>
53 <artifactId>config-api</artifactId>
56 <groupId>org.opendaylight.controller</groupId>
57 <artifactId>sal-binding-api</artifactId>
60 <groupId>org.opendaylight.controller</groupId>
61 <artifactId>sal-binding-config</artifactId>
64 <groupId>org.opendaylight.controller</groupId>
65 <artifactId>sal-common-util</artifactId>
68 <groupId>org.opendaylight.controller.model</groupId>
69 <artifactId>model-inventory</artifactId>
72 <groupId>org.opendaylight.yangtools</groupId>
73 <artifactId>yang-binding</artifactId>
76 <groupId>org.opendaylight.yangtools</groupId>
77 <artifactId>yang-common</artifactId>
80 <groupId>org.opendaylight.controller.model</groupId>
81 <artifactId>model-flow-base</artifactId>
84 <groupId>org.opendaylight.controller.model</groupId>
85 <artifactId>model-flow-service</artifactId>
88 <groupId>org.opendaylight.controller.model</groupId>
89 <artifactId>model-inventory</artifactId>
92 <groupId>org.osgi</groupId>
93 <artifactId>org.osgi.core</artifactId>
97 <groupId>junit</groupId>
98 <artifactId>junit</artifactId>
102 <groupId>org.mockito</groupId>
103 <artifactId>mockito-all</artifactId>
108 <!-- project build -->
112 <groupId>org.apache.felix</groupId>
113 <artifactId>maven-bundle-plugin</artifactId>
114 <extensions>true</extensions>
117 <Import-Package>*</Import-Package>
119 org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
120 org.opendaylight.controller.config.yang.config.endpoint_provider,
121 org.opendaylight.groupbasedpolicy.endpoint,
122 org.opendaylight.groupbasedpolicy.resolver
125 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
129 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>build-helper-maven-plugin</artifactId>
134 <goal>add-source</goal>
136 <phase>generate-sources</phase>
139 <source>target/generated-sources/sal</source>
140 <source>target/generated-sources/config</source>
141 <source>target/generated-resources/</source>
148 <groupId>org.opendaylight.yangtools</groupId>
149 <artifactId>yang-maven-plugin</artifactId>
152 <groupId>org.opendaylight.controller</groupId>
153 <artifactId>yang-jmx-generator-plugin</artifactId>
154 <version>0.2.5-SNAPSHOT</version>
157 <groupId>org.opendaylight.yangtools</groupId>
158 <artifactId>maven-sal-api-gen-plugin</artifactId>
159 <version>${yangtools.version}</version>
166 <goal>generate-sources</goal>
171 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
172 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
173 <additionalConfiguration>
174 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
175 </additionalConfiguration>
178 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
179 <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
182 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
183 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
186 <inspectDependencies>true</inspectDependencies>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-surefire-plugin</artifactId>
195 <redirectTestOutputToFile>true</redirectTestOutputToFile>
199 <groupId>org.jacoco</groupId>
200 <artifactId>jacoco-maven-plugin</artifactId>
203 <id>pre-unit-test</id>
205 <goal>prepare-agent</goal>
209 <id>post-unit-test</id>
215 <dataFile>${sonar.jacoco.reportPath}</dataFile>
217 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>