Commit 826d5ff3 by Dave Syer

Tidy (mostly pom warnings)

parent 5bded8aa
...@@ -3,6 +3,7 @@ package org.springframework.cloud.netflix.archaius; ...@@ -3,6 +3,7 @@ package org.springframework.cloud.netflix.archaius;
import com.netflix.config.ConcurrentCompositeConfiguration; import com.netflix.config.ConcurrentCompositeConfiguration;
import com.netflix.config.ConfigurationManager; import com.netflix.config.ConfigurationManager;
import com.netflix.config.DynamicURLConfiguration; import com.netflix.config.DynamicURLConfiguration;
import org.apache.commons.configuration.EnvironmentConfiguration; import org.apache.commons.configuration.EnvironmentConfiguration;
import org.apache.commons.configuration.SystemConfiguration; import org.apache.commons.configuration.SystemConfiguration;
import org.slf4j.Logger; import org.slf4j.Logger;
...@@ -16,8 +17,6 @@ import java.util.concurrent.atomic.AtomicBoolean; ...@@ -16,8 +17,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
import static com.netflix.config.ConfigurationBasedDeploymentContext.DEPLOYMENT_APPLICATION_ID_PROPERTY; import static com.netflix.config.ConfigurationBasedDeploymentContext.DEPLOYMENT_APPLICATION_ID_PROPERTY;
import static com.netflix.config.ConfigurationManager.*; import static com.netflix.config.ConfigurationManager.*;
import static com.netflix.config.ConfigurationManager.APPLICATION_PROPERTIES;
import static com.netflix.config.ConfigurationManager.ENV_CONFIG_NAME;
/** /**
* @author Spencer Gibb * @author Spencer Gibb
...@@ -38,6 +37,7 @@ public class ArchaiusAutoConfiguration { ...@@ -38,6 +37,7 @@ public class ArchaiusAutoConfiguration {
return envConfig; return envConfig;
} }
@SuppressWarnings("deprecation")
protected void configureArchaius(ConfigurableEnvironmentConfiguration envConfig) { protected void configureArchaius(ConfigurableEnvironmentConfiguration envConfig) {
if (initialized.compareAndSet(false, true)) { if (initialized.compareAndSet(false, true)) {
String appName = env.getProperty("spring.application.name"); String appName = env.getProperty("spring.application.name");
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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"> <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> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-zuul</artifactId> <artifactId>spring-cloud-netflix-zuul</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Spring Cloud Netflix Zuul</name> <name>Spring Cloud Netflix Zuul</name>
<url>http://projects.spring.io/spring-cloud/</url> <url>http://projects.spring.io/spring-cloud/</url>
...@@ -53,7 +51,6 @@ ...@@ -53,7 +51,6 @@
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-core</artifactId> <artifactId>spring-cloud-netflix-core</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment