Merge "Bumped controller version by minor for next release cycle."
[controller.git] / features / akka / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Necessary TODO: Put your copyright here.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 --><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">
9    <modelVersion>4.0.0</modelVersion>
10    <parent>
11     <groupId>org.opendaylight.controller</groupId>
12     <artifactId>commons.opendaylight</artifactId>
13     <version>1.6.0-SNAPSHOT</version>
14     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
15    </parent>
16    <artifactId>features-akka</artifactId>
17    <groupId>org.opendaylight.controller</groupId>
18    <packaging>jar</packaging>
19    <properties>
20       <features.file>features.xml</features.file>
21       <!-- Optional TODO: Move these properties to your parent pom and possibly
22             DependencyManagement section of your parent pom -->
23       <branding.version>1.2.0-SNAPSHOT</branding.version>
24       <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
25       <karaf.version>3.0.3</karaf.version>
26       <feature.test.version>0.8.0-SNAPSHOT</feature.test.version>
27       <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
28       <surefire.version>2.16</surefire.version>
29    </properties>
30    <dependencies>
31     <!--
32       Necessary TODO: Put dependencies on any feature repos
33       you use in your features.xml file.
34
35       Note: they will need to be <type>xml</xml>
36       and <classifier>features</classifier>.
37       One other thing to watch for is to make sure they are
38       <scope>compile</compile>, which they should be by default,
39       but be cautious lest they be at a different scope in a parent pom.
40
41       Examples:
42         <dependency>
43           <groupId>org.opendaylight.yangtools</groupId>
44           <artifactId>features-yangtools</artifactId>
45           <version>0.8.0-SNAPSHOT</version>
46           <classifier>features</classifier>
47           <type>xml</type>
48         </dependency>
49         <dependency>
50           <groupId>org.opendaylight.controller</groupId>
51           <artifactId>features-mdsal</artifactId>
52           <version>1.3.0-SNAPSHOT</version>
53           <classifier>features</classifier>
54           <type>xml</type>
55         </dependency>
56         <dependency>
57           <groupId>org.opendaylight.openflowplugin</groupId>
58           <artifactId>features-openflowplugin</artifactId>
59           <version>0.2.0-SNAPSHOT</version>
60           <classifier>features</classifier>
61           <type>xml</type>
62         </dependency>
63     -->
64
65     <!--
66       Necessary TODO: Put dependencies for bundles directly referenced
67       in your features.xml file.  For every <bundle> reference in your
68       features.xml file, you need a corresponding dependency here.
69
70       Examples:
71       <dependency>
72         <groupId>org.opendaylight.controller</groupId>
73         <artifactId>controller-provider</artifactId>
74         <version>${project.version}</version>
75       </dependency>
76       <dependency>
77         <groupId>org.opendaylight.controller</groupId>
78         <artifactId>controller-model</artifactId>
79         <version>${project.version}</version>
80       </dependency>
81     -->
82
83     <!--
84       Necessary TODO: Put dependencies for configfiles directly referenced
85       in your features.xml file.  For every <configfile> reference in your
86       features.xml file, you need a corresponding dependency here.
87
88       Example (presuming here version is coming from the parent pom):
89       <dependency>
90         <groupId>org.opendaylight.controller</groupId>
91         <artifactId>controller-config</artifactId>
92         <version>${project.version}</version>
93         <type>xml</type>
94         <classifier>config</classifier>
95       </dependency>
96     -->
97     <dependency>
98       <groupId>org.scala-lang</groupId>
99       <artifactId>scala-library</artifactId>
100       <version>${scala.version}.${scala.micro.version}</version>
101     </dependency>
102     <dependency>
103       <groupId>org.scala-lang</groupId>
104       <artifactId>scala-reflect</artifactId>
105       <version>${scala.version}.${scala.micro.version}</version>
106     </dependency>
107     <dependency>
108       <groupId>com.typesafe</groupId>
109       <artifactId>config</artifactId>
110       <version>${typesafe.config.version}</version>
111     </dependency>
112     <dependency>
113       <groupId>com.typesafe.akka</groupId>
114       <artifactId>akka-actor_${scala.version}</artifactId>
115       <version>${akka.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>com.typesafe.akka</groupId>
119       <artifactId>akka-slf4j_${scala.version}</artifactId>
120       <version>${akka.version}</version>
121     </dependency>
122     <dependency>
123       <groupId>com.typesafe.akka</groupId>
124       <artifactId>akka-osgi_${scala.version}</artifactId>
125       <version>${akka.version}</version>
126     </dependency>
127     <dependency>
128         <groupId>org.uncommons.maths</groupId>
129         <artifactId>uncommons-maths</artifactId>
130         <version>${uncommons.maths.version}</version>
131         <exclusions>
132             <exclusion>
133                 <groupId>jfree</groupId>
134                 <artifactId>jcommon</artifactId>
135             </exclusion>
136             <exclusion>
137                 <groupId>jfree</groupId>
138                 <artifactId>jfreechart</artifactId>
139             </exclusion>
140         </exclusions>
141     </dependency>
142     <dependency>
143       <groupId>com.google.protobuf</groupId>
144       <artifactId>protobuf-java</artifactId>
145       <version>${protobuf.version}</version>
146     </dependency>
147     <dependency>
148       <groupId>io.netty</groupId>
149       <artifactId>netty</artifactId>
150       <version>3.8.0.Final</version>
151     </dependency>
152     <dependency>
153       <groupId>com.typesafe.akka</groupId>
154       <artifactId>akka-remote_${scala.version}</artifactId>
155       <version>${akka.version}</version>
156     </dependency>
157     <dependency>
158       <groupId>com.typesafe.akka</groupId>
159       <artifactId>akka-cluster_${scala.version}</artifactId>
160       <version>${akka.version}</version>
161     </dependency>
162     <dependency>
163       <groupId>org.iq80.leveldb</groupId>
164       <artifactId>leveldb</artifactId>
165       <version>${leveldb.version}</version>
166     </dependency>
167     <dependency>
168       <groupId>org.fusesource.leveldbjni</groupId>
169       <artifactId>leveldbjni-all</artifactId>
170       <version>${leveldbjni.version}</version>
171     </dependency>
172     <!--
173       Optional TODO: Remove TODO comments.
174     -->
175     <!-- test to validate features.xml -->
176     <dependency>
177       <groupId>org.opendaylight.odlparent</groupId>
178       <artifactId>features-test</artifactId>
179       <scope>test</scope>
180     </dependency>
181     <!-- dependency for opendaylight-karaf-empty for use by testing -->
182     <dependency>
183       <groupId>org.opendaylight.controller</groupId>
184       <artifactId>opendaylight-karaf-empty</artifactId>
185       <version>${karaf.empty.version}</version>
186       <type>zip</type>
187     </dependency>
188     <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
189     <dependency>
190       <groupId>org.slf4j</groupId>
191       <artifactId>slf4j-simple</artifactId>
192       <version>1.7.2</version>
193     </dependency>
194     -->
195
196    </dependencies>
197    <build>
198       <resources>
199          <resource>
200             <directory>src/main/resources</directory>
201             <filtering>true</filtering>
202          </resource>
203       </resources>
204       <plugins>
205          <plugin>
206             <groupId>org.apache.maven.plugins</groupId>
207             <artifactId>maven-resources-plugin</artifactId>
208             <executions>
209                <execution>
210                   <id>filter</id>
211                   <phase>generate-resources</phase>
212                   <goals>
213                      <goal>resources</goal>
214                   </goals>
215                </execution>
216             </executions>
217          </plugin>
218          <plugin>
219             <groupId>org.codehaus.mojo</groupId>
220             <artifactId>build-helper-maven-plugin</artifactId>
221             <executions>
222                <execution>
223                   <id>attach-artifacts</id>
224                   <phase>package</phase>
225                   <goals>
226                      <goal>attach-artifact</goal>
227                   </goals>
228                   <configuration>
229                      <artifacts>
230                         <artifact>
231                            <file>${project.build.directory}/classes/${features.file}</file>
232                            <type>xml</type>
233                            <classifier>features</classifier>
234                         </artifact>
235                      </artifacts>
236                   </configuration>
237                </execution>
238             </executions>
239          </plugin>
240          <plugin>
241             <groupId>org.apache.maven.plugins</groupId>
242             <artifactId>maven-surefire-plugin</artifactId>
243             <version>${surefire.version}</version>
244             <configuration>
245               <systemPropertyVariables>
246                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
247                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
248                 <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
249               </systemPropertyVariables>
250               <dependenciesToScan>
251                <dependency>org.opendaylight.odlparent:features-test</dependency>
252               </dependenciesToScan>
253             </configuration>
254           </plugin>
255       </plugins>
256    </build>
257    <scm>
258       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
259       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
260       <tag>HEAD</tag>
261       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
262    </scm>
263 </project>