/*
 * Copyright 2015 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.cloud.stream.module.resolver;

import java.io.File;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Configuration properties for {@link ModuleResolver}.
 *
 * @author Ilayaperumal Gopinathan
 */
@ConfigurationProperties
public class ModuleResolverProperties {

	/**
	 * File path to a locally available maven repository, where modules will be downloaded.
	 */
	private File localRepository = new File(System.getProperty("user.home") + File.separator + ".m2" +
			File.separator + "repository");

	/**
	 * Location of comma separated remote maven repositories from which modules will be downloaded, if not available locally.
	 */
	private String[] remoteRepositories = new String[] {"https://repo.spring.io/libs-milestone"};

	/**
	 * Whether the resolver should operate in offline mode.
	 */
	private boolean offline = false;

	public void setRemoteRepositories(String[] remoteRepositories) {
		this.remoteRepositories = remoteRepositories;
	}

	public String[] getRemoteRepositories() {
		return remoteRepositories;
	}
	public void setLocalRepository(File localRepository) {
		this.localRepository = localRepository;
	}

	public File getLocalRepository() {
		return localRepository;
	}

	public boolean isOffline() {
		return offline;
	}

	public void setOffline(boolean offline) {
		this.offline = offline;
	}
}

@@ -1390,17 +1390,16 @@
 ibs-
-milestone
+snapshot
 %22%7D;%0A

Change remoteRepositories default to libs-snapshot post release