Add Akka packaging
[controller.git] / akka / repackaged-akka-jar / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2020 PANTHEON.tech, s.r.o. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <modelVersion>4.0.0</modelVersion>
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>7.0.6</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.controller</groupId>
21     <artifactId>repackaged-akka-jar</artifactId>
22     <packaging>jar</packaging>
23     <version>3.0.0-SNAPSHOT</version>
24     <name>${project.artifactId}</name>
25
26     <properties>
27         <!-- We do not want to leak this artifact -->
28         <maven.deploy.skip>true</maven.deploy.skip>
29     </properties>
30
31     <dependencies>
32         <!-- Note: when bumping versions, make sure to update configurations in src/main/resources -->
33         <dependency>
34             <groupId>com.typesafe.akka</groupId>
35             <artifactId>akka-actor_2.13</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>com.typesafe.akka</groupId>
39             <artifactId>akka-cluster_2.13</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>com.typesafe.akka</groupId>
43             <artifactId>akka-osgi_2.13</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>com.typesafe.akka</groupId>
47             <artifactId>akka-persistence_2.13</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>com.typesafe.akka</groupId>
51             <artifactId>akka-protobuf_2.13</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>com.typesafe.akka</groupId>
55             <artifactId>akka-remote_2.13</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>com.typesafe.akka</groupId>
59             <artifactId>akka-slf4j_2.13</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>com.typesafe.akka</groupId>
63             <artifactId>akka-stream_2.13</artifactId>
64         </dependency>
65     </dependencies>
66
67     <build>
68         <plugins>
69             <plugin>
70                 <artifactId>maven-dependency-plugin</artifactId>
71                 <executions>
72                     <execution>
73                         <id>unpack-license</id>
74                         <configuration>
75                             <!-- Akka is Apache-2.0 licensed -->
76                             <skip>true</skip>
77                         </configuration>
78                     </execution>
79                 </executions>
80             </plugin>
81             <plugin>
82                 <artifactId>maven-shade-plugin</artifactId>
83                 <executions>
84                     <execution>
85                         <phase>package</phase>
86                         <goals>
87                             <goal>shade</goal>
88                         </goals>
89                         <configuration>
90                             <createDependencyReducedPom>false</createDependencyReducedPom>
91                             <shadeSourcesContent>true</shadeSourcesContent>
92                             <createSourcesJar>true</createSourcesJar>
93                             <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
94                             <artifactSet>
95                                 <includes>
96                                     <include>com.typesafe.akka</include>
97                                 </includes>
98                             </artifactSet>
99                             <filters>
100                                 <filter>
101                                     <artifact>com.typesafe.akka:*</artifact>
102                                     <excludes>
103                                         <exclude>META-INF/MANIFEST.MF</exclude>
104                                         <exclude>reference.conf</exclude>
105                                     </excludes>
106                                 </filter>
107                             </filters>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112         </plugins>
113     </build>
114 </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.