awslabs / amazon-kinesis-video-streams-producer-sdk-java

Allows developers to install and customize their connected camera and other devices to securely stream video, audio, and time-encoded data to Kinesis Video Streams
Apache License 2.0
78 stars 75 forks source link

Remove guava from pom.xml #104

Closed Sean-Der closed 4 years ago

Sean-Der commented 4 years ago

Update com.google.inject (who imports it) to the latest version

Sean-Der commented 4 years ago
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] com.amazonaws:amazon-kinesis-video-streams-producer-sdk-java:jar:1.10.0
[INFO] +- com.amazonaws:aws-java-sdk-core:jar:1.11.602:compile
[INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile
[INFO] |  |  +- (org.apache.httpcomponents:httpcore:jar:4.4.11:compile - omitted for conflict with 4.4.10)
[INFO] |  |  +- (commons-logging:commons-logging:jar:1.2:compile - omitted for conflict with 1.1.3)
[INFO] |  |  \- commons-codec:commons-codec:jar:1.11:compile
[INFO] |  +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.7.2:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.0:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.6.7:compile
[INFO] |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile
[INFO] |  |  \- (com.fasterxml.jackson.core:jackson-core:jar:2.6.7:compile - omitted for duplicate)
[INFO] |  \- joda-time:joda-time:jar:2.8.1:compile
[INFO] +- com.amazonaws:aws-java-sdk-kinesisvideo:jar:1.11.602:compile
[INFO] |  +- (com.amazonaws:aws-java-sdk-core:jar:1.11.602:compile - omitted for duplicate)
[INFO] |  +- io.netty:netty-codec-http:jar:4.1.17.Final:compile
[INFO] |  |  \- io.netty:netty-codec:jar:4.1.17.Final:compile
[INFO] |  |     \- (io.netty:netty-transport:jar:4.1.17.Final:compile - omitted for duplicate)
[INFO] |  +- io.netty:netty-handler:jar:4.1.17.Final:compile
[INFO] |  |  +- io.netty:netty-buffer:jar:4.1.17.Final:compile
[INFO] |  |  |  \- io.netty:netty-common:jar:4.1.17.Final:compile
[INFO] |  |  +- io.netty:netty-transport:jar:4.1.17.Final:compile
[INFO] |  |  |  +- (io.netty:netty-buffer:jar:4.1.17.Final:compile - omitted for duplicate)
[INFO] |  |  |  \- io.netty:netty-resolver:jar:4.1.17.Final:compile
[INFO] |  |  |     \- (io.netty:netty-common:jar:4.1.17.Final:compile - omitted for duplicate)
[INFO] |  |  \- (io.netty:netty-codec:jar:4.1.17.Final:compile - omitted for duplicate)
[INFO] |  \- com.amazonaws:jmespath-java:jar:1.11.602:compile
[INFO] |     \- (com.fasterxml.jackson.core:jackson-databind:jar:2.6.7.2:compile - omitted for duplicate)
[INFO] +- com.google.inject:guice:jar:4.2.3:compile
[INFO] |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  +- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  \- com.google.guava:guava:jar:27.1-jre:compile
[INFO] |     +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |     +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |     +- (com.google.code.findbugs:jsr305:jar:3.0.2:compile - omitted for duplicate)
[INFO] |     +- org.checkerframework:checker-qual:jar:2.5.2:compile
[INFO] |     +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] |     +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] |     \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile
[INFO] +- org.hamcrest:hamcrest-all:jar:1.3:test
[INFO] +- junit:junit:jar:4.12:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.mockito:mockito-core:jar:2.18.3:test
[INFO] |  +- net.bytebuddy:byte-buddy:jar:1.8.5:test
[INFO] |  +- net.bytebuddy:byte-buddy-agent:jar:1.8.5:test
[INFO] |  \- org.objenesis:objenesis:jar:2.6:test
[INFO] +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.google.code.findbugs:annotations:jar:2.0.3:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.2:compile
[INFO] +- javax.measure:jsr-275:jar:1.0.0:compile
[INFO] +- com.google.inject.extensions:guice-multibindings:jar:4.2.3:compile
[INFO] |  \- (com.google.inject:guice:jar:4.2.3:compile - omitted for duplicate)
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] \- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO]    +- org.apache.httpcomponents:httpcore:jar:4.4.10:compile
[INFO]    +- org.apache.httpcomponents:httpcore-nio:jar:4.4.10:compile
[INFO]    |  \- (org.apache.httpcomponents:httpcore:jar:4.4.10:compile - omitted for duplicate)
[INFO]    +- (org.apache.httpcomponents:httpclient:jar:4.5.6:compile - omitted for conflict with 4.5.9)
[INFO]    \- (commons-logging:commons-logging:jar:1.2:compile - omitted for conflict with 1.1.3)
Sean-Der commented 4 years ago
seaduboi@38f9d359441f:~/workspaces/amazon-kinesis-video-streams-producer-sdk-java$ mvn clean compile
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.amazonaws:amazon-kinesis-video-streams-producer-sdk-java:jar:1.10.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 167, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 149, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ----< com.amazonaws:amazon-kinesis-video-streams-producer-sdk-java >----
[INFO] Building Amazon Kinesis Video Streams Producer SDK Java 1.10.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact javax.measure:jsr-275:jar:1.0.0 has been relocated to javax.measure:jsr-275:jar:0.9.1
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Deleting /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/target
[INFO] 
[INFO] --- build-helper-maven-plugin:3.1.0:add-source (default) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Source directory: /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/demo added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ amazon-kinesis-video-streams-producer-sdk-java ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2429 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 127 source files to /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/target/classes
[WARNING] /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/java/com/amazonaws/kinesisvideo/java/service/CachedInfoMultiAuthServiceCallbacksImpl.java: /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/java/com/amazonaws/kinesisvideo/java/service/Cached
InfoMultiAuthServiceCallbacksImpl.java uses or overrides a deprecated API.
[WARNING] /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/java/com/amazonaws/kinesisvideo/java/service/CachedInfoMultiAuthServiceCallbacksImpl.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/java/com/amazonaws/kinesisvideo/client/signing/KinesisVideoAWS4Signer.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/java/com/amazonaws/kinesisvideo/client/signing/KinesisVideoAWS4Signer.java: Recompile with -Xlint:unchecked for details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.984 s
[INFO] Finished at: 2020-06-16T14:39:54-07:00
[INFO] ------------------------------------------------------------------------
Sean-Der commented 4 years ago
seaduboi@38f9d359441f:~/workspaces/amazon-kinesis-video-streams-producer-sdk-java$ mvn test
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.amazonaws:amazon-kinesis-video-streams-producer-sdk-java:jar:1.10.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 167, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 149, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ----< com.amazonaws:amazon-kinesis-video-streams-producer-sdk-java >----
[INFO] Building Amazon Kinesis Video Streams Producer SDK Java 1.10.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact javax.measure:jsr-275:jar:1.0.0 has been relocated to javax.measure:jsr-275:jar:0.9.1
[INFO] 
[INFO] --- build-helper-maven-plugin:3.1.0:add-source (default) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Source directory: /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/main/demo added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ amazon-kinesis-video-streams-producer-sdk-java ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2429 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ amazon-kinesis-video-streams-producer-sdk-java ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ amazon-kinesis-video-streams-producer-sdk-java ---
[INFO] Surefire report directory: /Users/seaduboi/workspaces/amazon-kinesis-video-streams-producer-sdk-java/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.amazonaws.kinesisvideo.common.LogTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.067 s
[INFO] Finished at: 2020-06-16T14:50:04-07:00
[INFO] ------------------------------------------------------------------------