You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2020/10/20 07:51:58 UTC

[mina-sshd] 01/03: Avoid warnings during the build

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit b2525c27c9cec67839b1cda4002e7546d65caa21
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Oct 8 14:20:45 2020 +0200

    Avoid warnings during the build
---
 assembly/pom.xml                         | 10 ++++++++++
 assembly/src/main/components/modules.xml |  2 --
 pom.xml                                  |  1 +
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/assembly/pom.xml b/assembly/pom.xml
index 227b81c..979efc0 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -199,6 +199,16 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/assembly/src/main/components/modules.xml b/assembly/src/main/components/modules.xml
index 3b34d7b..471aed7 100644
--- a/assembly/src/main/components/modules.xml
+++ b/assembly/src/main/components/modules.xml
@@ -33,7 +33,6 @@
                 <exclude>commons-io:commons-io</exclude>
                 <exclude>org.springframework.integration:*</exclude>
                 <exclude>org.eclipse.jgit:*</exclude>
-                <exclude>com.jcraft:*</exclude>
                 <exclude>com.googlecode.javaewah:JavaEWAH</exclude>
                 <exclude>org.c02e.jpgpj:jpgpj</exclude>
             </excludes>
@@ -62,7 +61,6 @@
                 <include>io.projectreactor:*</include>
                 <include>org.reactivestreams:*</include>
                 <include>commons-io:commons-io</include>
-                <include>com.jcraft:*</include>
                 <include>com.googlecode.javaewah:JavaEWAH</include>
                 <include>org.c02e.jpgpj:jpgpj</include>
             </includes>
diff --git a/pom.xml b/pom.xml
index 2cebe67..ae7b396 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1360,6 +1360,7 @@
                             <instructions>
                                 <Export-Package>*;-noimport:=true</Export-Package>
                             </instructions>
+                            <noWarningProjectTypes>pom</noWarningProjectTypes>
                         </configuration>
                     </execution>
                 </executions>