Remove override of powermock version
[nemo.git] / nemo-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Huawei, Inc and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>config-parent</artifactId>
15     <version>0.5.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>nemo-impl</artifactId>
21   <version>1.1.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <jacoco.version>0.7.2.201409121644</jacoco.version>
27     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
28     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.opendaylight.mdsal.model</groupId>
34       <artifactId>ietf-inet-types</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.mdsal.model</groupId>
38       <artifactId>ietf-yang-types</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>${project.groupId}</groupId>
42       <artifactId>nemo-api</artifactId>
43       <version>${project.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>net.sourceforge.collections</groupId>
47       <artifactId>collections-generic</artifactId>
48       <version>4.01</version>
49     </dependency>
50     <dependency>
51       <groupId>net.sf.jung</groupId>
52       <artifactId>jung-api</artifactId>
53       <version>2.0.1</version>
54     </dependency>
55     <dependency>
56       <groupId>net.sf.jung</groupId>
57       <artifactId>jung-graph-impl</artifactId>
58       <version>2.0.1</version>
59     </dependency>
60     <dependency>
61       <groupId>net.sf.jung</groupId>
62       <artifactId>jung-algorithms</artifactId>
63       <version>2.0.1</version>
64     </dependency>
65     <dependency>
66       <groupId>com.google.guava</groupId>
67       <artifactId>guava</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>junit</groupId>
71       <artifactId>junit</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.mockito</groupId>
76       <artifactId>mockito-all</artifactId>
77       <scope>test</scope>
78     </dependency>
79         <dependency>
80       <groupId>org.powermock</groupId>
81       <artifactId>powermock-core</artifactId>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.powermock</groupId>
86       <artifactId>powermock-module-junit4</artifactId>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>org.powermock</groupId>
91       <artifactId>powermock-api-mockito</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.slf4j</groupId>
96       <artifactId>slf4j-simple</artifactId>
97       <scope>test</scope>
98     </dependency>
99   </dependencies>
100
101   <build>
102     <pluginManagement>
103       <plugins>
104         <plugin>
105           <groupId>org.jacoco</groupId>
106           <artifactId>jacoco-maven-plugin</artifactId>
107           <version>${jacoco.version}</version>
108         </plugin>
109       </plugins>
110     </pluginManagement>
111     <plugins>
112       <plugin>
113         <groupId>org.opendaylight.yangtools</groupId>
114         <artifactId>yang-maven-plugin</artifactId>
115         <executions>
116           <execution>
117             <goals>
118               <goal>generate-sources</goal>
119             </goals>
120             <configuration>
121               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
122               <codeGenerators>
123                 <generator>
124                   <codeGeneratorClass>
125                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
126                   </codeGeneratorClass>
127                   <outputBaseDir>
128                     ${salGeneratorPath}
129                   </outputBaseDir>
130                 </generator>
131               </codeGenerators>
132               <inspectDependencies>true</inspectDependencies>
133             </configuration>
134           </execution>
135         </executions>
136         <dependencies>
137           <dependency>
138             <groupId>org.opendaylight.mdsal</groupId>
139             <artifactId>maven-sal-api-gen-plugin</artifactId>
140             <version>0.9.0-SNAPSHOT</version>
141             <type>jar</type>
142           </dependency>
143         </dependencies>
144       </plugin>
145       <plugin>
146         <groupId>org.apache.felix</groupId>
147         <artifactId>maven-bundle-plugin</artifactId>
148         <extensions>true</extensions>
149         <configuration>
150           <instructions>
151             <Bundle-ClassPath>.,{maven-dependencies}</Bundle-ClassPath>
152             <Import-Package>*;resolution:=optional</Import-Package>
153             <Embed-Dependency>
154               collections-generic,jung-api,jung-graph-impl,jung-algorithms
155             </Embed-Dependency>
156             <Embed-Transitive>true</Embed-Transitive>
157             <Embed-Directory>lib</Embed-Directory>
158             <Embed-StripGroup>true</Embed-StripGroup>
159             <_failok>true</_failok>
160             <_nouses>true</_nouses>
161           </instructions>
162           <manifestLocation>${project.build.outputDirectory}/META-INF</manifestLocation>
163         </configuration>
164       </plugin>
165       <plugin>
166         <groupId>org.codehaus.mojo</groupId>
167         <artifactId>build-helper-maven-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>attach-artifacts</id>
171             <goals>
172               <goal>attach-artifact</goal>
173             </goals>
174             <phase>package</phase>
175             <configuration>
176               <artifacts>
177                 <artifact>
178                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/config.xml</file>
179                   <type>xml</type>
180                   <classifier>config</classifier>
181                 </artifact>
182               </artifacts>
183             </configuration>
184           </execution>
185         </executions>
186       </plugin>
187       <plugin>
188         <groupId>org.jacoco</groupId>
189         <artifactId>jacoco-maven-plugin</artifactId>
190         <executions>
191           <execution>
192             <id>pre-unit-test</id>
193             <goals>
194               <goal>prepare-agent</goal>
195             </goals>
196             <configuration>
197               <destFile>${sonar.jacoco.reportPath}</destFile>
198             </configuration>
199           </execution>
200           <execution>
201             <id>post-unit-test</id>
202             <goals>
203               <goal>report</goal>
204             </goals>
205             <configuration>
206               <dataFile>${sonar.jacoco.reportPath}</dataFile>
207             </configuration>
208           </execution>
209         </executions>
210       </plugin>
211     </plugins>
212   </build>
213
214   <scm>
215     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
216     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
217     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
218     <tag>HEAD</tag>
219   </scm>
220 </project>