912f7776d98f0ee3784c35fc30e1d8794690466a
[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>12.0.2</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.controller</groupId>
21     <artifactId>repackaged-akka-jar</artifactId>
22     <packaging>jar</packaging>
23     <version>7.0.4-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             <version>2.6.20</version>
37         </dependency>
38         <dependency>
39             <groupId>com.typesafe.akka</groupId>
40             <artifactId>akka-actor-typed_2.13</artifactId>
41             <version>2.6.20</version>
42         </dependency>
43         <dependency>
44             <groupId>com.typesafe.akka</groupId>
45             <artifactId>akka-cluster_2.13</artifactId>
46             <version>2.6.20</version>
47         </dependency>
48         <dependency>
49             <groupId>com.typesafe.akka</groupId>
50             <artifactId>akka-cluster-typed_2.13</artifactId>
51             <version>2.6.20</version>
52         </dependency>
53         <dependency>
54             <groupId>com.typesafe.akka</groupId>
55             <artifactId>akka-osgi_2.13</artifactId>
56             <version>2.6.20</version>
57         </dependency>
58         <dependency>
59             <groupId>com.typesafe.akka</groupId>
60             <artifactId>akka-persistence_2.13</artifactId>
61             <version>2.6.20</version>
62         </dependency>
63         <dependency>
64             <groupId>com.typesafe.akka</groupId>
65             <artifactId>akka-protobuf_2.13</artifactId>
66             <version>2.6.20</version>
67         </dependency>
68         <dependency>
69             <groupId>com.typesafe.akka</groupId>
70             <artifactId>akka-remote_2.13</artifactId>
71             <version>2.6.20</version>
72         </dependency>
73         <dependency>
74             <groupId>com.typesafe.akka</groupId>
75             <artifactId>akka-slf4j_2.13</artifactId>
76             <version>2.6.20</version>
77         </dependency>
78         <dependency>
79             <groupId>com.typesafe.akka</groupId>
80             <artifactId>akka-stream_2.13</artifactId>
81             <version>2.6.20</version>
82         </dependency>
83     </dependencies>
84
85     <build>
86         <plugins>
87             <plugin>
88                 <artifactId>maven-dependency-plugin</artifactId>
89                 <executions>
90                     <execution>
91                         <id>unpack-license</id>
92                         <configuration>
93                             <!-- Akka is Apache-2.0 licensed -->
94                             <skip>true</skip>
95                         </configuration>
96                     </execution>
97                 </executions>
98             </plugin>
99             <plugin>
100                 <artifactId>maven-shade-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <phase>package</phase>
104                         <goals>
105                             <goal>shade</goal>
106                         </goals>
107                         <configuration>
108                             <createDependencyReducedPom>false</createDependencyReducedPom>
109                             <shadeSourcesContent>true</shadeSourcesContent>
110                             <createSourcesJar>true</createSourcesJar>
111                             <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
112                             <artifactSet>
113                                 <includes>
114                                     <include>com.typesafe.akka</include>
115                                 </includes>
116                             </artifactSet>
117                             <filters>
118                                 <filter>
119                                     <artifact>com.typesafe.akka:*</artifact>
120                                     <excludes>
121                                         <exclude>META-INF/MANIFEST.MF</exclude>
122                                         <exclude>reference.conf</exclude>
123                                     </excludes>
124                                 </filter>
125                             </filters>
126                         </configuration>
127                     </execution>
128                 </executions>
129             </plugin>
130         </plugins>
131     </build>
132 </project>