Remove snapshot tags.
[affinity.git] / analytics / implementation / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5
6   <parent>
7     <groupId>org.opendaylight.affinity</groupId>
8     <artifactId>affinityParent</artifactId>
9     <version>0.4.1-SNAPSHOT</version>
10     <relativePath>../..</relativePath>
11   </parent>
12
13   <groupId>org.opendaylight.affinity</groupId>
14   <artifactId>analytics.implementation</artifactId>
15   <version>0.4.1-SNAPSHOT</version>
16   <packaging>bundle</packaging>
17
18   <properties>
19     <yang.version>0.6.1</yang.version>
20   </properties>
21
22   <repositories>
23     <!-- OpenDayLight Released artifact -->
24     <repository>
25       <id>opendaylight-release</id>
26       <name>opendaylight-release</name>
27       <url>${nexusproxy}/repositories/opendaylight.release/</url>
28     </repository>
29     <!-- OpenDayLight Snapshot artifact -->
30     <repository>
31       <id>opendaylight-snapshot</id>
32       <name>opendaylight-snapshot</name>
33       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
34     </repository>
35   </repositories>
36
37   <build>
38     <pluginManagement>
39       <plugins>
40         <plugin>
41           <groupId>org.jacoco</groupId>
42           <artifactId>jacoco-maven-plugin</artifactId>
43           <version>0.5.3.201107060350</version>
44         </plugin>
45       </plugins>
46     </pluginManagement>
47     <plugins>
48       <plugin>
49         <groupId>org.apache.felix</groupId>
50         <artifactId>maven-bundle-plugin</artifactId>
51         <version>2.3.6</version>
52         <extensions>true</extensions>
53         <configuration>
54           <instructions>
55             <Import-Package>
56               org.opendaylight.affinity.affinity,
57               org.opendaylight.affinity.analytics,
58               org.opendaylight.controller.clustering.services,
59               org.opendaylight.controller.hosttracker,
60               org.opendaylight.controller.hosttracker.hostAware,
61               org.opendaylight.controller.sal.core,
62               org.opendaylight.controller.sal.flowprogrammer,
63               org.opendaylight.controller.sal.match,
64               org.opendaylight.controller.sal.packet.address,
65               org.opendaylight.controller.sal.reader,
66               org.opendaylight.controller.sal.utils,
67               org.opendaylight.controller.statisticsmanager,
68               org.apache.felix.dm,
69               org.slf4j
70             </Import-Package>
71             <Bundle-Activator>
72               org.opendaylight.affinity.analytics.internal.Activator
73             </Bundle-Activator>
74           </instructions>
75           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
76         </configuration>
77       </plugin>
78       <plugin>
79         <groupId>org.jacoco</groupId>
80         <artifactId>jacoco-maven-plugin</artifactId>
81         <configuration>
82           <includes>org.opendaylight.controller.*</includes>
83         </configuration>
84         <executions>
85           <execution>
86             <id>pre-test</id>
87             <goals>
88               <goal>prepare-agent</goal>
89             </goals>
90           </execution>
91           <execution>
92             <id>post-test</id>
93             <phase>test</phase>
94             <goals>
95               <goal>report</goal>
96             </goals>
97           </execution>
98         </executions>
99       </plugin>
100       <!-- START YANG -->
101       <plugin>
102         <groupId>org.opendaylight.yangtools</groupId>
103         <artifactId>yang-maven-plugin</artifactId>
104         <version>0.6.1</version>
105         <executions>
106           <execution>
107             <goals>
108               <!-- Uncomment out the next line to use the yang model -->
109 <!--              <goal>generate-sources</goal> -->
110             </goals>
111             <configuration>
112               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
113               <codeGenerators>
114                 <generator>
115                   <codeGeneratorClass>
116                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
117                   </codeGeneratorClass>
118                   <outputBaseDir>
119                     target/generated-sources/sal
120                   </outputBaseDir>
121                 </generator>
122               </codeGenerators>
123               <inspectDependencies>false</inspectDependencies>
124             </configuration>
125           </execution>
126         </executions>        
127         <dependencies>
128           <dependency>
129             <groupId>org.opendaylight.yangtools</groupId>
130             <artifactId>maven-sal-api-gen-plugin</artifactId>
131             <version>0.6.1</version>
132             <type>jar</type>
133           </dependency>
134         </dependencies>
135       </plugin>
136       <plugin>
137         <groupId>org.codehaus.mojo</groupId>
138         <artifactId>build-helper-maven-plugin</artifactId>
139         <version>1.7</version>
140         <executions>
141           <execution>
142             <phase>generate-sources</phase>
143             <goals>
144               <goal>add-source</goal>
145             </goals>
146             <configuration>
147               <sources>
148                 <source>target/generated-sources/sal</source>
149               </sources>
150             </configuration>
151           </execution>
152         </executions>
153       </plugin>
154       <!-- END YANG -->
155     </plugins>
156   </build>
157   <dependencies>
158     <dependency>
159       <groupId>junit</groupId>
160       <artifactId>junit</artifactId>
161       <version>${junit.version}</version>
162       <scope>test</scope>
163     </dependency>
164     <dependency>
165       <groupId>org.opendaylight.affinity</groupId>
166       <artifactId>affinity</artifactId>
167       <version>0.4.1-SNAPSHOT</version>
168     </dependency>
169     <dependency>
170       <groupId>org.opendaylight.affinity</groupId>
171       <artifactId>analytics</artifactId>
172       <version>0.4.1-SNAPSHOT</version>
173     </dependency>
174     <dependency>
175       <groupId>org.opendaylight.controller</groupId>
176       <artifactId>clustering.services</artifactId>
177       <version>0.5.0</version>
178     </dependency>
179     <dependency>
180       <groupId>org.opendaylight.controller</groupId>
181       <artifactId>hosttracker</artifactId>
182       <version>0.5.1</version>
183     </dependency>
184     <dependency>
185       <groupId>org.opendaylight.controller</groupId>
186       <artifactId>sal</artifactId>
187       <version>0.7.0</version>
188     </dependency>
189     <dependency>
190       <groupId>org.opendaylight.controller</groupId>
191       <artifactId>statisticsmanager</artifactId>
192       <version>0.5.0</version>
193     </dependency>
194     <!-- START YANG -->
195     <dependency>
196       <groupId>org.opendaylight.yangtools</groupId>
197       <artifactId>yang-binding</artifactId>
198       <version>${yang.version}</version>
199     </dependency>
200       <dependency>
201         <groupId>org.opendaylight.yangtools</groupId>
202         <artifactId>yang-common</artifactId>
203         <version>${yang.version}</version>
204       </dependency>
205       <dependency>
206         <groupId>org.opendaylight.yangtools.model</groupId>
207         <artifactId>ietf-inet-types</artifactId>
208         <version>2010.09.24.3</version>
209       </dependency>
210       <dependency>
211         <groupId>org.opendaylight.yangtools.model</groupId>
212         <artifactId>ietf-yang-types</artifactId>
213         <version>2010.09.24.3</version>
214       </dependency>
215     <!-- END YANG -->
216   </dependencies>
217 </project>