1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
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
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>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>bundle-parent</artifactId>
16 <version>11.0.1</version>
20 <groupId>org.opendaylight.netconf</groupId>
21 <artifactId>shaded-sshd</artifactId>
22 <packaging>bundle</packaging>
23 <version>4.0.2-SNAPSHOT</version>
24 <name>${project.artifactId}</name>
27 <!-- We are just juggling classes here -->
28 <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
29 <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
31 <!-- We do not want to generate javadoc -->
32 <maven.javadoc.skip>true</maven.javadoc.skip>
37 <groupId>org.opendaylight.netconf</groupId>
38 <artifactId>shaded-sshd-jar</artifactId>
39 <version>${project.version}</version>
40 <scope>provided</scope>
47 <artifactId>maven-dependency-plugin</artifactId>
51 <phase>compile</phase>
58 <groupId>org.opendaylight.netconf</groupId>
59 <artifactId>shaded-sshd-jar</artifactId>
60 <version>${project.version}</version>
63 <overWriteReleases>false</overWriteReleases>
64 <overWriteSnapshots>true</overWriteSnapshots>
65 <outputDirectory>${project.build.directory}/classes</outputDirectory>
67 <!-- FIXME: NETCONF-836: remove this part once we are ready to re-integrate SSHD with Netty -->
68 <excludes>META-INF/services/org.opendaylight.netconf.shaded.sshd.common.io.IoServiceFactoryFactory</excludes>
72 <id>unpack-sources</id>
73 <phase>prepare-package</phase>
75 <goal>unpack-dependencies</goal>
78 <classifier>sources</classifier>
79 <includeArtifactIds>shaded-sshd-jar</includeArtifactIds>
80 <outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>build-helper-maven-plugin</artifactId>
90 <phase>prepare-package</phase>
92 <goal>add-source</goal>
95 <sources>${project.build.directory}/shaded-sources</sources>
101 <groupId>org.apache.felix</groupId>
102 <artifactId>maven-bundle-plugin</artifactId>
103 <extensions>true</extensions>
107 org.apache.tomcat.jni;resolution:=optional,
108 org.bouncycastle.crypto.prng;version="[1.61,2)";resolution:=optional,
109 org.bouncycastle.openssl;version="[1.61,2)";resolution:=optional,
110 org.bouncycastle.openssl.jcajce;version="[1.61,2)";resolution:=optional,