Bumping versions by 0.0.1 after the Helium SR3 release
[groupbasedpolicy.git] / groupbasedpolicy / pom.xml
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>
4   <parent>
5     <groupId>org.opendaylight.groupbasedpolicy</groupId>
6     <artifactId>groupbasedpolicy.project</artifactId>
7     <version>0.1.4-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10
11   <artifactId>groupbasedpolicy</artifactId>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <openflowplugin-nicira.version>0.0.7-SNAPSHOT</openflowplugin-nicira.version>
16   </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>ch.qos.logback</groupId>
21       <artifactId>logback-classic</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>ch.qos.logback</groupId>
25       <artifactId>logback-core</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>com.fasterxml.jackson.core</groupId>
29       <artifactId>jackson-core</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>com.fasterxml.jackson.core</groupId>
33       <artifactId>jackson-databind</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>com.fasterxml.jackson.core</groupId>
37       <artifactId>jackson-annotations</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>com.google.guava</groupId>
41       <artifactId>guava</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>io.netty</groupId>
45       <artifactId>netty-all</artifactId>
46       <version>4.0.10.Final</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>config-api</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-binding-api</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>sal-binding-config</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>sal-common-util</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.controller.model</groupId>
66       <artifactId>model-inventory</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.yangtools</groupId>
70       <artifactId>yang-binding</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.yangtools</groupId>
74       <artifactId>yang-common</artifactId>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.controller.model</groupId>
78       <artifactId>model-flow-base</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.controller.model</groupId>
82       <artifactId>model-flow-service</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.controller.model</groupId>
86       <artifactId>model-inventory</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.openflowplugin</groupId>
90       <artifactId>openflowplugin-extension-nicira</artifactId>
91       <version>${openflowplugin-nicira.version}</version>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.openflowplugin</groupId>
95       <artifactId>openflowjava-extension-nicira</artifactId>
96       <version>${openflowplugin-nicira.version}</version>
97     </dependency>
98     <dependency>
99       <groupId>org.osgi</groupId>
100       <artifactId>org.osgi.core</artifactId>
101     </dependency>
102
103     <dependency>
104       <groupId>junit</groupId>
105       <artifactId>junit</artifactId>
106       <scope>test</scope>
107     </dependency>
108     <dependency>
109       <groupId>org.mockito</groupId>
110       <artifactId>mockito-all</artifactId>
111       <scope>test</scope>
112     </dependency>
113   </dependencies>
114
115   <!-- project build -->
116   <build>
117     <plugins>
118       <plugin>
119         <groupId>org.apache.felix</groupId>
120         <artifactId>maven-bundle-plugin</artifactId>
121         <extensions>true</extensions>
122         <configuration>
123           <instructions>
124             <Import-Package>*</Import-Package>
125             <Export-Package>
126               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
127               org.opendaylight.controller.config.yang.config.endpoint_provider,
128               org.opendaylight.groupbasedpolicy.endpoint,
129               org.opendaylight.groupbasedpolicy.resolver
130             </Export-Package>
131           </instructions>
132           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
133         </configuration>
134       </plugin>
135       <plugin>
136         <groupId>org.codehaus.mojo</groupId>
137         <artifactId>build-helper-maven-plugin</artifactId>
138         <executions>
139           <execution>
140             <goals>
141               <goal>add-source</goal>
142             </goals>
143             <phase>generate-sources</phase>
144             <configuration>
145               <sources>
146                 <source>target/generated-sources/sal</source>
147                 <source>target/generated-sources/config</source>
148                 <source>target/generated-resources/</source>
149               </sources>
150             </configuration>
151           </execution>
152         </executions>
153       </plugin>
154       <plugin>
155         <groupId>org.opendaylight.yangtools</groupId>
156         <artifactId>yang-maven-plugin</artifactId>
157         <dependencies>
158           <dependency>
159             <groupId>org.opendaylight.controller</groupId>
160             <artifactId>yang-jmx-generator-plugin</artifactId>
161             <version>0.2.9-SNAPSHOT</version>
162           </dependency>
163           <dependency>
164             <groupId>org.opendaylight.yangtools</groupId>
165             <artifactId>maven-sal-api-gen-plugin</artifactId>
166             <version>${yangtools.version}</version>
167             <type>jar</type>
168           </dependency>
169         </dependencies>
170         <executions>
171           <execution>
172             <goals>
173               <goal>generate-sources</goal>
174             </goals>
175             <configuration>
176               <codeGenerators>
177                 <generator>
178                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
179                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
180                   <additionalConfiguration>
181                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
182                   </additionalConfiguration>
183                 </generator>
184                 <generator>
185                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
186                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
187                 </generator>
188                 <generator>
189                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
190                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
191                 </generator>
192               </codeGenerators>
193               <inspectDependencies>true</inspectDependencies>
194             </configuration>
195           </execution>
196         </executions>
197       </plugin>
198       <plugin>
199         <groupId>org.apache.maven.plugins</groupId>
200         <artifactId>maven-surefire-plugin</artifactId>
201         <configuration>
202           <redirectTestOutputToFile>true</redirectTestOutputToFile>
203         </configuration>
204       </plugin>
205       <plugin>
206         <groupId>org.jacoco</groupId>
207         <artifactId>jacoco-maven-plugin</artifactId>
208         <executions>
209           <execution>
210             <id>pre-unit-test</id>
211             <goals>
212               <goal>prepare-agent</goal>
213             </goals>
214           </execution>
215           <execution>
216             <id>post-unit-test</id>
217             <phase>test</phase>
218             <goals>
219               <goal>report</goal>
220             </goals>
221             <configuration>
222               <dataFile>${sonar.jacoco.reportPath}</dataFile>
223               <includes>
224                 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>
225               </includes>
226             </configuration>
227           </execution>
228         </executions>
229       </plugin>
230     </plugins>
231   </build>
232 </project>