mirror of https://github.com/apache/jclouds.git
parent
f6d3aa4817
commit
84b9f0d0bd
|
@ -549,7 +549,7 @@ public final class LocalBlobStore implements BlobStore {
|
|||
try {
|
||||
Blob blob = getBlob(containerName, key);
|
||||
return blob != null ? (BlobMetadata) BlobStoreUtils.copy(blob.getMetadata()) : null;
|
||||
} catch (Exception e) {
|
||||
} catch (RuntimeException e) {
|
||||
if (size(Iterables.filter(getCausalChain(e), KeyNotFoundException.class)) >= 1)
|
||||
return null;
|
||||
throw propagate(e);
|
||||
|
|
|
@ -189,7 +189,6 @@
|
|||
<clojure.version>1.3.0</clojure.version>
|
||||
<maven.compile.source>1.6</maven.compile.source>
|
||||
<maven.compile.target>1.6</maven.compile.target>
|
||||
<maven.compile.optimize>true</maven.compile.optimize>
|
||||
<maven.compile.deprecation>true</maven.compile.deprecation>
|
||||
<maven.site.url.base>gitsite:git@github.com/jclouds/jclouds-maven-site.git</maven.site.url.base>
|
||||
<http.proxyHost />
|
||||
|
@ -1021,6 +1020,21 @@
|
|||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<configuration>
|
||||
<configLocation>../resources/checkstyle.xml</configLocation>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<failOnViolation>true</failOnViolation>
|
||||
<failsOnError>true</failsOnError>
|
||||
<violationSeverity>warning</violationSeverity>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.gaul</groupId>
|
||||
<artifactId>modernizer-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<javaVersion>${maven.compile.source}</javaVersion>
|
||||
<!-- in jclouds-project use the local file. ${project.basedir}
|
||||
required here as 1.1.0 of the modernizer plugin can't find the
|
||||
exclusions file otherwise -->
|
||||
<exclusionsFile>${project.basedir}/../resources/modernizer_exclusions.txt</exclusionsFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -1050,7 +1064,22 @@
|
|||
<configLocation>resources/checkstyle.xml</configLocation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<plugin>
|
||||
<groupId>org.gaul</groupId>
|
||||
<artifactId>modernizer-maven-plugin</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.jclouds</groupId>
|
||||
<artifactId>jclouds-resources</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
<javaVersion>${maven.compile.source}</javaVersion>
|
||||
<exclusionsFile>resources/modernizer_exclusions.txt</exclusionsFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
|
|
Loading…
Reference in New Issue