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>
33 <version>${jackson.version}</version>
36 <groupId>com.fasterxml.jackson.core</groupId>
37 <artifactId>jackson-databind</artifactId>
38 <version>${jackson.version}</version>
41 <groupId>com.google.guava</groupId>
42 <artifactId>guava</artifactId>
45 <groupId>io.netty</groupId>
46 <artifactId>netty-all</artifactId>
47 <version>4.0.10.Final</version>
50 <groupId>org.opendaylight.controller</groupId>
51 <artifactId>config-api</artifactId>
54 <groupId>org.opendaylight.controller</groupId>
55 <artifactId>sal-binding-api</artifactId>
58 <groupId>org.opendaylight.controller</groupId>
59 <artifactId>sal-binding-config</artifactId>
62 <groupId>org.opendaylight.controller</groupId>
63 <artifactId>sal-common-util</artifactId>
66 <groupId>org.opendaylight.controller.model</groupId>
67 <artifactId>model-inventory</artifactId>
70 <groupId>org.opendaylight.yangtools</groupId>
71 <artifactId>yang-binding</artifactId>
74 <groupId>org.opendaylight.yangtools</groupId>
75 <artifactId>yang-common</artifactId>
78 <groupId>org.osgi</groupId>
79 <artifactId>org.osgi.core</artifactId>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-annotations</artifactId>
85 <version>${jackson.version}</version>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
95 <groupId>org.mockito</groupId>
96 <artifactId>mockito-all</artifactId>
101 <!-- Project reporting -->
104 <!-- Code coverage analysis -->
106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>cobertura-maven-plugin</artifactId>
108 <version>2.6</version>
113 <!-- project build -->
117 <groupId>org.apache.felix</groupId>
118 <artifactId>maven-bundle-plugin</artifactId>
119 <extensions>true</extensions>
122 <Import-Package>*</Import-Package>
123 <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
125 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
128 <!-- Code coverage analysis -->
130 <groupId>org.codehaus.mojo</groupId>
131 <artifactId>cobertura-maven-plugin</artifactId>
132 <version>2.6</version>
136 <exclude>org/opendaylight/yang/**/*.class</exclude>
137 <exclude>org/opendaylight/controller/config/yang/**/*.class</exclude>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-surefire-plugin</artifactId>
146 <redirectTestOutputToFile>true</redirectTestOutputToFile>
147 <!-- needed for cobertura -->
148 <argLine>-XX:-UseSplitVerifier</argLine>
152 <groupId>org.codehaus.mojo</groupId>
153 <artifactId>build-helper-maven-plugin</artifactId>
157 <goal>add-source</goal>
159 <phase>generate-sources</phase>
162 <source>target/generated-sources/sal</source>
163 <source>target/generated-sources/config</source>
164 <source>target/generated-resources/</source>
171 <groupId>org.opendaylight.yangtools</groupId>
172 <artifactId>yang-maven-plugin</artifactId>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>yang-jmx-generator-plugin</artifactId>
177 <version>0.2.5-SNAPSHOT</version>
180 <groupId>org.opendaylight.yangtools</groupId>
181 <artifactId>maven-sal-api-gen-plugin</artifactId>
182 <version>${yangtools.version}</version>
189 <goal>generate-sources</goal>
194 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
195 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
196 <additionalConfiguration>
197 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
198 </additionalConfiguration>
201 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
202 <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
205 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
206 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
209 <inspectDependencies>true</inspectDependencies>