84e743f3494fab9fad91479319e96f02607b11ee
[controller.git] / features / akka / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
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       <feature.test.version>0.8.0-SNAPSHOT</feature.test.version>
26       <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
27       <surefire.version>2.16</surefire.version>
28    </properties>
29    <dependencies>
30     <!--
31       Necessary TODO: Put dependencies on any feature repos
32       you use in your features.xml file.
33
34       Note: they will need to be <type>xml</xml>
35       and <classifier>features</classifier>.
36       One other thing to watch for is to make sure they are
37       <scope>compile</compile>, which they should be by default,
38       but be cautious lest they be at a different scope in a parent pom.
39
40       Examples:
41         <dependency>
42           <groupId>org.opendaylight.yangtools</groupId>
43           <artifactId>features-yangtools</artifactId>
44           <version>0.8.0-SNAPSHOT</version>
45           <classifier>features</classifier>
46           <type>xml</type>
47         </dependency>
48         <dependency>
49           <groupId>org.opendaylight.controller</groupId>
50           <artifactId>features-mdsal</artifactId>
51           <version>1.3.0-SNAPSHOT</version>
52           <classifier>features</classifier>
53           <type>xml</type>
54         </dependency>
55         <dependency>
56           <groupId>org.opendaylight.openflowplugin</groupId>
57           <artifactId>features-openflowplugin</artifactId>
58           <version>0.2.0-SNAPSHOT</version>
59           <classifier>features</classifier>
60           <type>xml</type>
61         </dependency>
62     -->
63
64     <!--
65       Necessary TODO: Put dependencies for bundles directly referenced
66       in your features.xml file.  For every <bundle> reference in your
67       features.xml file, you need a corresponding dependency here.
68
69       Examples:
70       <dependency>
71         <groupId>org.opendaylight.controller</groupId>
72         <artifactId>controller-provider</artifactId>
73         <version>${project.version}</version>
74       </dependency>
75       <dependency>
76         <groupId>org.opendaylight.controller</groupId>
77         <artifactId>controller-model</artifactId>
78         <version>${project.version}</version>
79       </dependency>
80     -->
81
82     <!--
83       Necessary TODO: Put dependencies for configfiles directly referenced
84       in your features.xml file.  For every <configfile> reference in your
85       features.xml file, you need a corresponding dependency here.
86
87       Example (presuming here version is coming from the parent pom):
88       <dependency>
89         <groupId>org.opendaylight.controller</groupId>
90         <artifactId>controller-config</artifactId>
91         <version>${project.version}</version>
92         <type>xml</type>
93         <classifier>config</classifier>
94       </dependency>
95     -->
96     <dependency>
97       <groupId>org.scala-lang</groupId>
98       <artifactId>scala-library</artifactId>
99       <version>${scala.version}.${scala.micro.version}</version>
100     </dependency>
101     <dependency>
102       <groupId>org.scala-lang</groupId>
103       <artifactId>scala-reflect</artifactId>
104       <version>${scala.version}.${scala.micro.version}</version>
105     </dependency>
106     <dependency>
107       <groupId>com.typesafe</groupId>
108       <artifactId>config</artifactId>
109       <version>${typesafe.config.version}</version>
110     </dependency>
111     <dependency>
112       <groupId>com.typesafe.akka</groupId>
113       <artifactId>akka-actor_${scala.version}</artifactId>
114       <version>${akka.version}</version>
115     </dependency>
116     <dependency>
117       <groupId>com.typesafe.akka</groupId>
118       <artifactId>akka-slf4j_${scala.version}</artifactId>
119       <version>${akka.version}</version>
120     </dependency>
121     <dependency>
122       <groupId>com.typesafe.akka</groupId>
123       <artifactId>akka-osgi_${scala.version}</artifactId>
124       <version>${akka.version}</version>
125     </dependency>
126     <dependency>
127         <groupId>org.uncommons.maths</groupId>
128         <artifactId>uncommons-maths</artifactId>
129         <version>${uncommons.maths.version}</version>
130         <exclusions>
131             <exclusion>
132                 <groupId>jfree</groupId>
133                 <artifactId>jcommon</artifactId>
134             </exclusion>
135             <exclusion>
136                 <groupId>jfree</groupId>
137                 <artifactId>jfreechart</artifactId>
138             </exclusion>
139         </exclusions>
140     </dependency>
141     <dependency>
142       <groupId>com.google.protobuf</groupId>
143       <artifactId>protobuf-java</artifactId>
144       <version>${protobuf.version}</version>
145     </dependency>
146     <dependency>
147       <groupId>io.netty</groupId>
148       <artifactId>netty</artifactId>
149       <version>3.8.0.Final</version>
150     </dependency>
151     <dependency>
152       <groupId>com.typesafe.akka</groupId>
153       <artifactId>akka-remote_${scala.version}</artifactId>
154       <version>${akka.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>com.typesafe.akka</groupId>
158       <artifactId>akka-cluster_${scala.version}</artifactId>
159       <version>${akka.version}</version>
160     </dependency>
161     <dependency>
162       <groupId>org.iq80.leveldb</groupId>
163       <artifactId>leveldb</artifactId>
164       <version>${leveldb.version}</version>
165     </dependency>
166     <dependency>
167       <groupId>org.fusesource.leveldbjni</groupId>
168       <artifactId>leveldbjni-all</artifactId>
169       <version>${leveldbjni.version}</version>
170     </dependency>
171     <!--
172       Optional TODO: Remove TODO comments.
173     -->
174     <!-- test to validate features.xml -->
175     <dependency>
176       <groupId>org.opendaylight.odlparent</groupId>
177       <artifactId>features-test</artifactId>
178       <scope>test</scope>
179     </dependency>
180     <!-- dependency for opendaylight-karaf-empty for use by testing -->
181     <dependency>
182       <groupId>org.opendaylight.controller</groupId>
183       <artifactId>opendaylight-karaf-empty</artifactId>
184       <version>${karaf.empty.version}</version>
185       <scope>test</scope>
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:http://git.opendaylight.org/gerrit/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>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.