Remove Tom Pantelis from committers
[netconf.git] / netconf / shaded-sshd-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.netconf</groupId>
21     <artifactId>shaded-sshd-jar</artifactId>
22     <packaging>jar</packaging>
23     <version>1.10.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         <dependency>
33             <groupId>org.apache.sshd</groupId>
34             <artifactId>sshd-osgi</artifactId>
35             <version>2.5.1</version>
36         </dependency>
37         <dependency>
38             <groupId>org.apache.sshd</groupId>
39             <artifactId>sshd-netty</artifactId>
40             <version>2.5.1</version>
41         </dependency>
42         <dependency>
43             <groupId>net.i2p.crypto</groupId>
44             <artifactId>eddsa</artifactId>
45         </dependency>
46     </dependencies>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.apache.maven.plugins</groupId>
52                 <artifactId>maven-shade-plugin</artifactId>
53                 <executions>
54                     <execution>
55                         <phase>package</phase>
56                         <goals>
57                             <goal>shade</goal>
58                         </goals>
59                         <configuration>
60                             <createDependencyReducedPom>false</createDependencyReducedPom>
61                             <shadeSourcesContent>true</shadeSourcesContent>
62                             <createSourcesJar>true</createSourcesJar>
63                             <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
64                             <artifactSet>
65                                 <includes>
66                                     <include>org.apache.sshd</include>
67                                     <include>net.i2p.crypto</include>
68                                 </includes>
69                             </artifactSet>
70                             <filters>
71                                 <filter>
72                                     <artifact>*</artifact>
73                                     <excludes>
74                                         <exclude>META-INF/MANIFEST.MF</exclude>
75                                         <exclude>META-INF/services/**</exclude>
76                                     </excludes>
77                                 </filter>
78                                 <filter>
79                                     <artifact>org.apache.sshd:sshd-netty</artifact>
80                                     <excludes>
81                                         <exclude>META-INF/DEPENDENCIES</exclude>
82                                         <exclude>META-INF/LICENSE</exclude>
83                                         <exclude>META-INF/NOTICE</exclude>
84                                         <exclude>META-INF/services/**</exclude>
85                                     </excludes>
86                                 </filter>
87                             </filters>
88                             <relocations>
89                                 <relocation>
90                                     <pattern>org.apache.sshd</pattern>
91                                     <shadedPattern>org.opendaylight.netconf.shaded.sshd</shadedPattern>
92                                 </relocation>
93                                 <relocation>
94                                     <pattern>net.i2p.crypto.eddsa</pattern>
95                                     <shadedPattern>org.opendaylight.netconf.shaded.eddsa</shadedPattern>
96                                 </relocation>
97                             </relocations>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102         </plugins>
103     </build>
104 </project>