This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.4</version> | |
<executions> | |
<execution> | |
<id>enforce-banned-dependencies</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.inject</groupId> | |
<artifactId>guice</artifactId> | |
<version>4.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.inject.extensions</groupId> | |
<artifactId>guice-assistedinject</artifactId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Fails with: | |
[INFO] - dependency-management-plugin:0.3:analyze (default) @ test - | |
[WARNING] Plugin com.hubspot.maven.plugins:dependency-management-plugin is not managed | |
--> | |
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.basepom</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hubspot.jersey.dropwizard.managed; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.jaxrs.cfg.JaxRSFeature; | |
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider; | |
import com.google.inject.Inject; | |
import com.google.inject.Provider; | |
import com.yammer.dropwizard.config.Environment; | |
import com.yammer.dropwizard.lifecycle.Managed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"s3ObjectKey":"jars/org/slf4j/slf4j-api/1.7.19/slf4j-api-1.7.19.jar", | |
"targetPath":"lib/org/slf4j/slf4j-api/1.7.19/slf4j-api-1.7.19.jar", | |
"filesize":40743, | |
"s3Bucket":"hubspot-jars", | |
"md5":"45e27d98d5558ae47a584ff2d69b9e2e" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hubspot.bootstrap.rest; | |
import java.util.Arrays; | |
import java.util.function.Consumer; | |
import com.google.inject.Module; | |
import com.hubspot.dropwizard.guicier.GuiceBundle; | |
import io.dropwizard.Application; | |
import io.dropwizard.Bundle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- slimfast-plugin:0.12:upload (default) @ sharedLambdaTest --- | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 4.924 s | |
[INFO] Finished at: 2017-02-28T09:45:36-05:00 | |
[INFO] Final Memory: 22M/252M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal com.hubspot.maven.plugins:slimfast-plugin:0.12:upload (default) on project sharedLambdaTest: Error getting object details for key jars/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar: Request Error. 403 Forbidden -> [Help 1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- slimfast-plugin:0.12:upload (default) @ sharedLambdaTest --- | |
[INFO] Successfully uploaded key qa/com/amazonaws/aws-lambda-java-core/1.1.0/aws-lambda-java-core-1.1.0.jar | |
[INFO] Successfully uploaded key qa/com/amazonaws/aws-lambda-java-log4j/1.0.0/aws-lambda-java-log4j-1.0.0.jar | |
[INFO] Successfully uploaded key qa/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar | |
[INFO] Successfully uploaded key qa/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar | |
[INFO] Successfully uploaded key qa/commons-codec/commons-codec/1.9/commons-codec-1.9.jar | |
[INFO] Successfully uploaded key qa/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.6/jackson-dataformat-cbor-2.6.6.jar | |
[INFO] Successfully uploaded key qa/com/amazonaws/jmespath-java/1.11.93/jmespath-java-1.11.93.jar | |
[INFO] Successfully uploaded key qa/log4j/log4j/1.2.17/log4j-1.2.17.jar | |
[INFO] Successfully uploaded key qa/software/amazon/ion/ion-java/1.0.2/ion-java-1.0.2.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AmazonS3 s3 = ... // construct client normally | |
return HystrixS3Decorator.decorate(s3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING] Used undeclared dependencies found: | |
[WARNING] com.google.inject:guice:jar:4.1.0:compile | |
[WARNING] com.google.guava:guava:jar:19.0:compile | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ |
OlderNewer