1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3 This program and the accompanying materials are made available under the
4 terms of the Eclipse Public License v1.0 which accompanies this distribution,
5 and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.opendaylight.groupbasedpolicy</groupId>
12 <artifactId>groupbasedpolicy.project</artifactId>
13 <version>0.3.0-SNAPSHOT</version>
14 <relativePath>../</relativePath>
17 <artifactId>groupbasedpolicy</artifactId>
18 <packaging>bundle</packaging>
19 <name>groupbasedpolicy-base</name>
22 <!-- model dependencies -->
24 <groupId>org.opendaylight.yangtools.model</groupId>
25 <artifactId>ietf-inet-types</artifactId>
28 <groupId>org.opendaylight.yangtools.model</groupId>
29 <artifactId>ietf-yang-types</artifactId>
32 <!-- controller dependencies -->
34 <groupId>org.opendaylight.controller</groupId>
35 <artifactId>config-api</artifactId>
38 <groupId>org.opendaylight.controller</groupId>
39 <artifactId>sal-binding-api</artifactId>
42 <!-- project specific dependencies -->
44 <groupId>com.google.guava</groupId>
45 <artifactId>guava</artifactId>
48 <!-- testing dependencies -->
50 <groupId>junit</groupId>
51 <artifactId>junit</artifactId>
55 <groupId>org.mockito</groupId>
56 <artifactId>mockito-all</artifactId>
61 <groupId>org.codehaus.sonar-plugins.java</groupId>
62 <artifactId>sonar-jacoco-listeners</artifactId>
63 <version>${sonar-jacoco-listeners.version}</version>
68 <!-- project build -->
72 <groupId>org.apache.felix</groupId>
73 <artifactId>maven-bundle-plugin</artifactId>
74 <extensions>true</extensions>
78 org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
79 org.opendaylight.controller.config.yang.config.endpoint_provider,
80 org.opendaylight.groupbasedpolicy.endpoint,
81 org.opendaylight.groupbasedpolicy.resolver.*,
82 org.opendaylight.groupbasedpolicy.util,
85 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
89 <groupId>org.opendaylight.yangtools</groupId>
90 <artifactId>yang-maven-plugin</artifactId>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-surefire-plugin</artifactId>
96 <redirectTestOutputToFile>true</redirectTestOutputToFile>
100 <groupId>org.jacoco</groupId>
101 <artifactId>jacoco-maven-plugin</artifactId>
104 <id>prepare-ut-agent</id>
105 <phase>process-test-classes</phase>
107 <goal>prepare-agent</goal>
110 <destFile>${sonar.jacoco.reportPath}</destFile>
114 <id>prepare-it-agent</id>
115 <phase>pre-integration-test</phase>
117 <goal>prepare-agent</goal>
120 <destFile>${sonar.jacoco.itReportPath}</destFile>
129 <groupId>org.eclipse.m2e</groupId>
130 <artifactId>lifecycle-mapping</artifactId>
131 <version>1.0.0</version>
133 <lifecycleMappingMetadata>
136 <pluginExecutionFilter>
137 <groupId>org.jacoco</groupId>
138 <artifactId>jacoco-maven-plugin</artifactId>
139 <versionRange>[0.6,)</versionRange>
141 <goal>prepare-agent</goal>
143 </pluginExecutionFilter>
149 </lifecycleMappingMetadata>