RuedigerMoeller / kontraktor

distributed Actors for Java 8 / JavaScript
GNU Lesser General Public License v3.0
343 stars 48 forks source link

Could de.ruedigermoeller:kontraktor-web:4.30 drop off redundant dependencies to loose weight? #112

Closed Celebrate-future closed 2 years ago

Celebrate-future commented 3 years ago

@RuedigerMoeller Hi, I am a user of project de.ruedigermoeller:kontraktor-web:4.30. I found that its pom file introduced 54 dependencies. However, among them, 11 libraries (20%) have not been used by your project (the redundant dependencies are listed below). Reduce these useless dependencies can help prevent conflicts between library versions. MeanWhile, it can minimize the total added size to projects. It can also help enable advanced scenarios for users of your package. This PR helps de.ruedigermoeller:kontraktor-web:4.30 lose weight :) I have tested the revised configuration in my local environment. It is safe to remove the unused libraries.

Best regards

Redundant dependencies----


org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
com.google.jsinterop:jsinterop-annotations:jar:1.0.0:compile
com.google.code.findbugs:jsr305:jar:3.0.1:compile
org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final:compile
org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:compile
javax.websocket:javax.websocket-api:jar:1.1:compile
com.google.j2objc:j2objc-annotations:jar:1.1:compile
com.google.javascript:closure-compiler-externs:jar:v20181008:compile
com.google.errorprone:error_prone_annotations:jar:2.3.1:compile
javax.servlet:javax.servlet-api:jar:3.1.0:compile
org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.0.Final:compile