Bump versions to 2.0.8-SNAPSHOT
[netconf.git] / netconf / shaded-sshd / 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>bundle-parent</artifactId>
16         <version>9.0.8</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.netconf</groupId>
21     <artifactId>shaded-sshd</artifactId>
22     <packaging>bundle</packaging>
23     <version>2.0.8-SNAPSHOT</version>
24     <name>${project.artifactId}</name>
25
26     <properties>
27         <!-- We are just juggling classes here -->
28         <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
29         <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
30
31         <!-- We do not want to generate javadoc -->
32         <maven.javadoc.skip>true</maven.javadoc.skip>
33     </properties>
34
35     <dependencies>
36         <dependency>
37             <groupId>org.opendaylight.netconf</groupId>
38             <artifactId>shaded-sshd-jar</artifactId>
39             <version>${project.version}</version>
40             <scope>provided</scope>
41         </dependency>
42     </dependencies>
43
44     <build>
45         <plugins>
46             <plugin>
47                 <artifactId>maven-dependency-plugin</artifactId>
48                 <executions>
49                     <execution>
50                         <id>unpack</id>
51                         <phase>compile</phase>
52                         <goals>
53                             <goal>unpack</goal>
54                         </goals>
55                         <configuration>
56                             <artifactItems>
57                                 <artifactItem>
58                                     <groupId>org.opendaylight.netconf</groupId>
59                                     <artifactId>shaded-sshd-jar</artifactId>
60                                     <version>${project.version}</version>
61                                 </artifactItem>
62                             </artifactItems>
63                             <overWriteReleases>false</overWriteReleases>
64                             <overWriteSnapshots>true</overWriteSnapshots>
65                             <outputDirectory>${project.build.directory}/classes</outputDirectory>
66                         </configuration>
67                     </execution>
68                     <execution>
69                         <id>unpack-sources</id>
70                         <phase>prepare-package</phase>
71                         <goals>
72                             <goal>unpack-dependencies</goal>
73                         </goals>
74                         <configuration>
75                             <classifier>sources</classifier>
76                             <includeArtifactIds>shaded-sshd-jar</includeArtifactIds>
77                             <outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
78                         </configuration>
79                     </execution>
80                 </executions>
81             </plugin>
82             <plugin>
83                 <groupId>org.codehaus.mojo</groupId>
84                 <artifactId>build-helper-maven-plugin</artifactId>
85                 <executions>
86                     <execution>
87                         <phase>prepare-package</phase>
88                         <goals>
89                            <goal>add-source</goal>
90                         </goals>
91                         <configuration>
92                             <sources>${project.build.directory}/shaded-sources</sources>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97             <plugin>
98                 <groupId>org.apache.felix</groupId>
99                 <artifactId>maven-bundle-plugin</artifactId>
100                 <extensions>true</extensions>
101                 <configuration>
102                     <instructions>
103                         <Import-Package>
104                             org.apache.tomcat.jni;resolution:=optional,
105                             org.bouncycastle.crypto.prng;version="[1.61,2)";resolution:=optional,
106                             org.bouncycastle.openssl;version="[1.61,2)";resolution:=optional,
107                             org.bouncycastle.openssl.jcajce;version="[1.61,2)";resolution:=optional,
108                             *
109                         </Import-Package>
110                     </instructions>
111                 </configuration>
112             </plugin>
113         </plugins>
114     </build>
115 </project>