Skip to content

Commit 2feef54

Browse files
committed
Ban listenablefuture, error-prone and jsch
Globally ban listenablefuture and jsch, ban error-prone annotations in Quarkus prod runtime.
1 parent f5dd459 commit 2feef54

File tree

4 files changed

+12
-55
lines changed

4 files changed

+12
-55
lines changed

gradle/banned-dependencies.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,11 @@ javax.ws.rs:jsr311-api
3737
# See https://github.com/RoaringBitmap/RoaringBitmap/issues/749, should only use org.roaringbitmap:RoaringBitmap
3838
com.github.RoaringBitmap.RoaringBitmap
3939
org.roaringbitmap:roaringbitmap
40+
41+
42+
# `listenablefuture` is banned via a very high version anyways, banning it is safe
43+
com.google.guava:listenablefuture
44+
45+
46+
# Unmaintained since 2018, provides ssh functionality, risk of security issues
47+
com.jcraft:jsch

gradle/banned-quarkus-prod-dependencies.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727

2828
# Contains old javax.* annotations that we do not want
2929
javax.servlet:javax.servlet-api
30+
31+
32+
# Don't need compile-time annotations in runtime
33+
com.google.errorprone:error_prone_annotations

runtime/admin/distribution/LICENSE

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -669,20 +669,10 @@ License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
669669

670670
--------------------------------------------------------------------------------
671671

672-
This product bundles ErrorProne annotations.
673-
674-
* Maven group:artifact IDs: com.google.errorprone:error_prone_annotations
675-
676-
Project URL: https://errorprone.info
677-
License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
678-
679-
--------------------------------------------------------------------------------
680-
681672
This product bundles Guava.
682673

683674
* Maven group:artifact IDs: com.google.guava:failureaccess
684675
* Maven group:artifact IDs: com.google.guava:guava
685-
* Maven group:artifact IDs: com.google.guava:listenablefuture
686676

687677
Project URL: https://github.com/google/guava
688678
License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt

runtime/server/distribution/LICENSE

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -758,20 +758,10 @@ License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
758758

759759
--------------------------------------------------------------------------------
760760

761-
This product bundles ErrorProne annotations.
762-
763-
* Maven group:artifact IDs: com.google.errorprone:error_prone_annotations
764-
765-
Project URL: https://errorprone.info
766-
License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
767-
768-
--------------------------------------------------------------------------------
769-
770761
This product bundles Guava.
771762

772763
* Maven group:artifact IDs: com.google.guava:failureaccess
773764
* Maven group:artifact IDs: com.google.guava:guava
774-
* Maven group:artifact IDs: com.google.guava:listenablefuture
775765

776766
Project URL: https://github.com/google/guava
777767
License: Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
@@ -892,41 +882,6 @@ License: Go License
892882

893883
--------------------------------------------------------------------------------
894884

895-
This product bundles JCraft JSch.
896-
897-
* Maven group:artifact IDs: com.jcraft:jsch
898-
899-
Project URL: http://www.jcraft.com/jsch/
900-
License: BSD License
901-
| Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,Inc.
902-
| All rights reserved.
903-
|
904-
| Redistribution and use in source and binary forms, with or without
905-
| modification, are permitted provided that the following conditions are met:
906-
|
907-
| 1. Redistributions of source code must retain the above copyright notice,
908-
| this list of conditions and the following disclaimer.
909-
|
910-
| 2. Redistributions in binary form must reproduce the above copyright
911-
| notice, this list of conditions and the following disclaimer in
912-
| the documentation and/or other materials provided with the distribution.
913-
|
914-
| 3. The names of the authors may not be used to endorse or promote products
915-
| derived from this software without specific prior written permission.
916-
|
917-
| THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
918-
| INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
919-
| FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
920-
| INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
921-
| INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
922-
| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
923-
| OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
924-
| LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
925-
| NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
926-
| EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
927-
928-
--------------------------------------------------------------------------------
929-
930885
This product bundles Azure Microsoft Authentication Library for Java (msal4j).
931886

932887
* Maven group:artifact IDs: com.microsoft.azure:msal4j

0 commit comments

Comments
 (0)